/* =========================================================
   TDM MANAGEMENT CONSULTING
   Corporate website design system
   ========================================================= */

:root {
    --navy: #0b2d59;
    --navy-dark: #061d3b;
    --navy-soft: #123f77;
    --teal: #1aa7b8;
    --teal-dark: #0b8797;
    --lime: #95c11f;
    --lime-dark: #78a600;
    --text: #172033;
    --muted: #667085;
    --line: #e7ebf0;
    --soft: #f7f9fc;
    --white: #ffffff;
    --shadow: 0 18px 55px rgba(10, 38, 75, .09);
    --shadow-sm: 0 10px 30px rgba(10, 38, 75, .07);
    --radius: 22px;
    --radius-sm: 14px;
    --container: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}

.skip-link {
    position: fixed;
    left: 18px;
    top: -80px;
    z-index: 9999;
    padding: 10px 16px;
    color: #fff;
    background: var(--navy);
    border-radius: 8px;
    font-weight: 700;
    transition: top .2s ease;
}

.skip-link:focus {
    top: 18px;
}

/* Topbar */
.topbar {
    background: var(--navy-dark);
    color: rgba(255,255,255,.86);
    font-size: 13px;
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar-contact,
.topbar-note {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: color .2s ease;
}

.topbar-contact a:hover {
    color: var(--lime);
}

.topbar-contact i {
    color: var(--teal);
}

.topbar-note {
    gap: 9px;
    font-weight: 600;
}

.topbar-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--lime);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(231,235,240,.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow .25s ease;
}

.site-header.scrolled {
    box-shadow: 0 12px 36px rgba(6,29,59,.08);
}

.nav-wrap {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand img {
    width: 190px;
    height: 74px;
    object-fit: contain;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.primary-nav > a {
    position: relative;
    padding: 13px 14px;
    color: #344054;
    font-size: 14px;
    font-weight: 700;
    transition: color .2s ease;
}

.primary-nav > a:not(.nav-quote)::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--lime);
    transition: transform .2s ease;
}

.primary-nav > a:hover,
.primary-nav > a.active {
    color: var(--navy);
}

.primary-nav > a:hover::after,
.primary-nav > a.active::after {
    transform: scaleX(1);
}

.primary-nav .nav-quote {
    margin-left: 8px;
    padding: 13px 18px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    background: var(--navy);
    border-radius: 12px;
}

.primary-nav .nav-quote:hover,
.primary-nav .nav-quote.active {
    color: #fff;
    background: var(--navy-soft);
}

.nav-toggle {
    width: 46px;
    height: 46px;
    padding: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--navy);
    transition: .2s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
    display: none;
}

/* Shared typography */
.eyebrow,
.section-kicker {
    color: var(--lime-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.eyebrow span {
    width: 34px;
    height: 2px;
    background: var(--lime);
}

.section-kicker.light {
    color: #bce649;
}

.section-title {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.section-title span {
    color: var(--lime-dark);
}

.section-heading {
    margin-bottom: 34px;
}

.section-heading.centered {
    max-width: 860px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading.centered .section-title {
    margin-left: auto;
    margin-right: auto;
}

.section-heading p,
.section-lead {
    color: var(--muted);
    font-size: 17px;
}

.section-heading p {
    max-width: 760px;
    margin: 16px auto 0;
}

.section {
    padding: 94px 0;
}

.section-soft {
    background: var(--soft);
}

/* Buttons */
.btn {
    min-height: 50px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    box-shadow: 0 14px 30px rgba(11,45,89,.18);
}

.btn-primary:hover {
    box-shadow: 0 18px 34px rgba(11,45,89,.26);
}

.btn-outline {
    color: var(--navy);
    border-color: #cad3df;
    background: #fff;
}

.btn-dark {
    color: #fff;
    background: var(--navy-dark);
}

.btn-light {
    color: var(--navy);
    background: #fff;
}

.btn-outline-light {
    color: #fff;
    border-color: rgba(255,255,255,.45);
    background: transparent;
}

.text-link {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--navy);
    font-weight: 800;
}

.text-link i {
    color: var(--teal);
    transition: transform .2s ease;
}

.text-link:hover i {
    transform: translateX(4px);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 15%, rgba(149,193,31,.16), transparent 27%),
        radial-gradient(circle at 77% 58%, rgba(26,167,184,.13), transparent 25%),
        linear-gradient(145deg, #f8fbff 0%, #fff 54%, #f7f9fc 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(11,45,89,.12) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 34%);
    opacity: .55;
}

.hero-grid {
    min-height: 680px;
    padding: 80px 0;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 70px;
    position: relative;
    z-index: 2;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 18px 0 22px;
    color: var(--navy-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.hero-copy h1 span {
    color: var(--lime-dark);
}

.hero-copy > p {
    max-width: 720px;
    margin: 0;
    color: #505b6f;
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-trust {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px 24px;
    color: #475467;
    font-size: 13px;
    font-weight: 700;
}

.hero-trust div {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-trust i {
    color: var(--teal);
}

.hero-panel {
    position: relative;
    padding: 34px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 30px;
    color: #fff;
    background:
        linear-gradient(155deg, rgba(11,45,89,.98), rgba(6,29,59,.98));
    box-shadow: 0 35px 80px rgba(6,29,59,.20);
}

.hero-panel::after {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    right: -100px;
    top: -90px;
    border-radius: 50%;
    background: rgba(149,193,31,.16);
}

.hero-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #bce649;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-panel-top i {
    font-size: 22px;
    color: var(--teal);
}

.hero-panel h2 {
    max-width: 430px;
    margin: 46px 0 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    line-height: 1.12;
}

.hero-panel > p {
    max-width: 450px;
    margin: 0;
    color: rgba(255,255,255,.72);
}

.hero-metrics {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.hero-metrics article {
    min-height: 124px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 16px;
    background: rgba(255,255,255,.06);
}

.hero-metrics strong {
    color: #bce649;
    font-family: 'Montserrat', sans-serif;
    font-size: 29px;
    line-height: 1;
}

.hero-metrics span {
    margin-top: 8px;
    color: rgba(255,255,255,.80);
    font-size: 12px;
    line-height: 1.45;
}

/* Trust strip */
.trust-strip {
    overflow: hidden;
    background: var(--navy);
    color: #fff;
}

.trust-strip-inner {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.trust-strip-inner i {
    color: var(--lime);
    font-size: 6px;
}

/* About */
.split-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.section-lead p {
    margin-top: 0;
}

.stats-row {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.stat-icon,
.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.stat-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 34px;
    border-radius: 12px;
}

.stat-icon.navy,
.detail-icon.navy { background: var(--navy); }
.stat-icon.teal,
.detail-icon.teal { background: var(--teal); }
.stat-icon.lime,
.detail-icon.lime { background: var(--lime); }

.stat-card strong {
    display: block;
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
}

.stat-card span {
    color: var(--muted);
    font-size: 13px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-card {
    position: relative;
    min-height: 330px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
}

.service-card.accent-navy::after { background: var(--navy); }
.service-card.accent-teal::after { background: var(--teal); }
.service-card.accent-lime::after { background: var(--lime); }

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 66px;
    height: 66px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--navy);
    background: #f2f5f8;
    font-size: 25px;
}

.accent-teal .service-icon {
    color: #fff;
    background: var(--teal);
}

.accent-lime .service-icon {
    color: #fff;
    background: var(--lime);
}

.service-card h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    line-height: 1.3;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.service-card a {
    margin-top: auto;
    padding-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
}

.service-card a i {
    color: var(--teal);
}

.center-action {
    margin-top: 34px;
    text-align: center;
}

/* Training */
.training-banner,
.standards-section,
.location-strip {
    color: #fff;
    background:
        radial-gradient(circle at 80% 30%, rgba(149,193,31,.18), transparent 28%),
        linear-gradient(135deg, var(--navy), var(--navy-dark));
}

.training-grid,
.standards-grid,
.location-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center;
}

.training-banner h2,
.standards-section h2 {
    max-width: 650px;
    margin: 12px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
}

.training-banner p,
.standards-section p {
    max-width: 700px;
    color: rgba(255,255,255,.72);
}

.training-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.training-list div {
    min-height: 82px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    font-weight: 700;
}

.training-list i {
    color: #bce649;
}

/* Industries */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.industry-grid article {
    min-height: 210px;
    padding: 22px 18px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, border-color .2s ease;
}

.industry-grid article:hover {
    transform: translateY(-5px);
    border-color: rgba(149,193,31,.6);
}

.industry-grid i {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--navy);
    background: linear-gradient(145deg, #f6f8fb, #fff);
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: 27px;
}

.industry-grid article:nth-child(3n+2) i {
    color: var(--lime-dark);
}

.industry-grid article:nth-child(3n) i {
    color: var(--teal-dark);
}

.industry-grid h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
}

.industry-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

/* CTA */
.cta-band {
    padding: 64px 0;
    color: #fff;
    background:
        radial-gradient(circle at 15% 20%, rgba(26,167,184,.17), transparent 25%),
        linear-gradient(120deg, #061d3b, #0b2d59);
}

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-band span {
    color: #bce649;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.cta-band h2 {
    max-width: 760px;
    margin: 8px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
}

.cta-band p {
    margin: 0;
    color: rgba(255,255,255,.70);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 0 0 auto;
}

/* Page hero */
.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 25%, rgba(149,193,31,.16), transparent 28%),
        linear-gradient(145deg, #f8fbff, #fff);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(11,45,89,.10) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(90deg, #000, transparent 38%);
}

.page-hero-inner {
    min-height: 480px;
    padding: 76px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.page-hero.compact .page-hero-inner {
    min-height: 390px;
}

.page-hero h1 {
    max-width: 850px;
    margin: 18px 0;
    color: var(--navy-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.04;
    letter-spacing: -.04em;
}

.page-hero h1 span {
    color: var(--lime-dark);
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.page-hero-badge {
    width: 240px;
    height: 240px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--navy);
    background: #fff;
    box-shadow: var(--shadow);
}

.page-hero-badge strong {
    color: var(--lime-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    letter-spacing: .08em;
}

.page-hero-badge span {
    max-width: 160px;
    font-size: 12px;
    font-weight: 800;
}

.page-hero-badge i {
    color: var(--teal);
    font-size: 46px;
}

.about-story .section-lead p + p {
    margin-top: 18px;
}

/* Purpose + Team */
.purpose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.purpose-card {
    position: relative;
    min-height: 320px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.purpose-card > span {
    position: absolute;
    right: 24px;
    top: 18px;
    color: #dce2ea;
    font-family: 'Montserrat', sans-serif;
    font-size: 44px;
    font-weight: 800;
}

.purpose-card i {
    margin-bottom: 60px;
    color: var(--teal);
    font-size: 32px;
}

.purpose-card:nth-child(2) i {
    color: var(--lime-dark);
}

.purpose-card h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
}

.purpose-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.team-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.team-avatar {
    width: 58px;
    height: 58px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--navy);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.team-avatar.teal { background: var(--teal); }
.team-avatar.lime { background: var(--lime); }

.team-card h3 {
    margin: 0 0 4px;
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
}

.team-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.standards-list {
    display: grid;
    gap: 10px;
}

.standards-list div {
    padding: 15px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 12px;
    background: rgba(255,255,255,.06);
}

.standards-list i {
    color: #bce649;
}

/* Detailed services */
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.service-detail {
    padding: 30px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    scroll-margin-top: 125px;
}

.detail-icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    font-size: 24px;
}

.service-detail > div:last-child > span {
    color: #bcc5d0;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 800;
}

.service-detail h2 {
    margin: 3px 0 8px;
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
    font-size: 21px;
}

.service-detail p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.service-detail ul {
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
    list-style: none;
}

.service-detail li {
    position: relative;
    padding-left: 20px;
    color: #475467;
    font-size: 13px;
}

.service-detail li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
}

.training-section {
    background: #f7f9fc;
}

.training-section-head {
    margin-bottom: 36px;
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 60px;
    align-items: end;
}

.training-section-head > p {
    margin: 0;
    color: var(--muted);
}

.programme-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.programme-grid article {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.programme-grid i {
    margin-bottom: 34px;
    color: var(--teal);
    font-size: 29px;
}

.programme-grid article:nth-child(even) i {
    color: var(--lime-dark);
}

.programme-grid h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.programme-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

/* Contact + forms */
.contact-layout,
.quote-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 50px;
    align-items: start;
}

.contact-intro {
    color: var(--muted);
}

.contact-cards {
    margin-top: 28px;
    display: grid;
    gap: 12px;
}

.contact-card {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

a.contact-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: var(--navy);
}

.contact-icon.teal { background: var(--teal); }
.contact-icon.lime { background: var(--lime); }

.contact-card span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.contact-card strong {
    display: block;
    color: var(--navy);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.form-card {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.form-card-head span {
    color: var(--lime-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.form-card-head h2 {
    margin: 7px 0;
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
}

.form-card-head p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 13px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.field label {
    margin-bottom: 7px;
    display: block;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    border: 1px solid #d9e0e8;
    border-radius: 11px;
    outline: none;
    background: #fff;
    color: var(--text);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.field input,
.field select {
    height: 50px;
    padding: 0 14px;
}

.field textarea {
    padding: 13px 14px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(26,167,184,.10);
}

.form-submit {
    justify-self: start;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-alert {
    margin: 0 0 20px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.form-alert.success {
    color: #166534;
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
}

.form-alert.error {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.location-strip {
    padding: 50px 0;
}

.location-grid {
    grid-template-columns: 1fr auto;
}

.location-grid span {
    color: #bce649;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.location-grid h2 {
    margin: 4px 0 2px;
    font-family: 'Montserrat', sans-serif;
}

.location-grid p {
    margin: 0;
    color: rgba(255,255,255,.72);
}

.quote-points {
    margin: 26px 0;
    display: grid;
    gap: 12px;
}

.quote-points div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #475467;
    font-weight: 600;
}

.quote-points i {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--teal);
    font-size: 11px;
}

.quote-contact-box {
    margin-top: 32px;
    padding: 22px;
    display: grid;
    gap: 6px;
    border-radius: 16px;
    color: #fff;
    background: var(--navy);
}

.quote-contact-box span {
    color: rgba(255,255,255,.65);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.quote-contact-box a {
    width: fit-content;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
}

.quote-contact-box a:hover {
    color: #bce649;
}

/* Footer */
.site-footer {
    color: rgba(255,255,255,.76);
    background: #04172f;
}

.footer-grid {
    padding: 70px 0 55px;
    display: grid;
    grid-template-columns: 1.5fr .65fr .9fr 1fr;
    gap: 44px;
}

.footer-brand img {
    width: 175px;
    height: 78px;
    padding: 6px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
}

.footer-brand p {
    max-width: 430px;
    margin: 20px 0;
    font-size: 13px;
    line-height: 1.8;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-badges span {
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    color: rgba(255,255,255,.86);
    background: rgba(255,255,255,.05);
    font-size: 10px;
    font-weight: 800;
}

.footer-col h3 {
    margin: 0 0 18px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.footer-col > a {
    width: fit-content;
    margin: 0 0 10px;
    display: block;
    font-size: 13px;
    transition: color .2s ease;
}

.footer-col > a:hover {
    color: #bce649;
}

.footer-contact > a,
.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    width: 16px;
    margin-top: 4px;
    color: var(--teal);
}

.footer-contact p {
    margin: 0;
    font-size: 13px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-bottom-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 11px;
}

.floating-call,
.back-to-top {
    position: fixed;
    right: 20px;
    z-index: 900;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 26px rgba(6,29,59,.20);
}

.floating-call {
    bottom: 20px;
    display: none;
    color: #fff;
    background: var(--teal);
}

.back-to-top {
    bottom: 78px;
    display: flex;
    opacity: 0;
    visibility: hidden;
    border: 0;
    color: #fff;
    background: var(--navy);
    transform: translateY(8px);
    transition: .2s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr  .82fr;
        gap: 38px;
    }

    .industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .topbar-note {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 1100;
        width: min(86vw, 380px);
        height: 100vh;
        padding: 110px 24px 30px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        overflow-y: auto;
        background: #fff;
        box-shadow: -20px 0 60px rgba(6,29,59,.13);
        transition: right .25s ease;
    }

    .primary-nav.open {
        right: 0;
    }

    .primary-nav > a {
        padding: 15px 14px;
        border-bottom: 1px solid var(--line);
    }

    .primary-nav > a::after {
        display: none;
    }

    .primary-nav .nav-quote {
        margin: 18px 0 0;
        justify-content: center;
        border: 0;
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1050;
        background: rgba(4,23,47,.45);
    }

    .nav-backdrop.show {
        display: block;
    }

    .nav-toggle {
        position: relative;
        z-index: 1200;
    }

    .hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero-panel {
        max-width: 700px;
    }

    .split-grid,
    .training-grid,
    .standards-grid,
    .contact-layout,
    .quote-layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .purpose-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .training-section-head {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .programme-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-hero-badge {
        width: 180px;
        height: 180px;
    }

    .cta-band-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .site-container {
        width: min(calc(100% - 28px), var(--container));
    }

    .topbar {
        display: none;
    }

    .nav-wrap {
        min-height: 74px;
    }

    .brand img {
        width: 150px;
        height: 58px;
    }

    .section {
        padding: 70px 0;
    }

    .hero-grid {
        padding: 60px 0;
        gap: 34px;
    }

    .hero-copy h1 {
        font-size: clamp(40px, 12vw, 56px);
    }

    .hero-copy > p {
        font-size: 16px;
    }

    .hero-actions,
    .hero-actions .btn {
        width: 100%;
    }

    .hero-panel {
        padding: 24px;
        border-radius: 22px;
    }

    .hero-panel h2 {
        margin-top: 34px;
        font-size: 28px;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .trust-strip-inner {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .trust-strip-inner::-webkit-scrollbar {
        display: none;
    }

    .split-grid {
        gap: 24px;
    }

    .stats-row,
    .services-grid,
    .purpose-grid,
    .team-grid,
    .programme-grid,
    .industry-grid,
    .training-list,
    .form-row {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 300px;
    }

    .training-grid {
        gap: 30px;
    }

    .industry-grid article {
        min-height: auto;
        padding: 24px 20px;
    }

    .industry-grid i {
        width: 62px;
        height: 62px;
    }

    .page-hero-inner,
    .page-hero.compact .page-hero-inner {
        min-height: auto;
        padding: 60px 0;
    }

    .page-hero-badge {
        display: none;
    }

    .service-detail {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .form-card {
        padding: 24px 18px;
    }

    .form-submit {
        width: 100%;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 55px 0 40px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom-inner {
        padding: 18px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .footer-bottom-inner p {
        margin: 0;
    }

    .floating-call {
        display: flex;
    }

    .back-to-top {
        right: 20px;
    }
}

@media (max-width: 390px) {
    .site-container {
        width: min(calc(100% - 22px), var(--container));
    }

    .hero-copy h1 {
        font-size: 39px;
    }

    .section-title {
        font-size: 32px;
    }

    .cta-actions,
    .cta-actions .btn {
        width: 100%;
    }
}
