/* ==========================================================================
   TTI OSHA Hub — modern minimalist head-term landing pages
   Scoped to .tti-osha-hub (Template: OSHA Hub). Theme palette only.
   ========================================================================== */

.tti-osha-hub {
	--m: #7a0012;          /* brand maroon */
	--m-deep: #5a000d;     /* deep maroon */
	--m-ink: #3a0303;      /* darkest */
	--beige: #e8e1d6;
	--tint: #fbf3f2;
	--gold: #b58100;
	--ink: #17131a;
	--muted: #6b6169;
	--line: #ece7e2;
	--white: #ffffff;

	font-family: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	line-height: 1.6;
}

.tti-osha-hub * { box-sizing: border-box; }

.tti-osha-hub section > [class$="__inner"],
.tti-osha-hub .hub-hero__inner,
.tti-osha-hub .hub-courses__inner,
.tti-osha-hub .hub-body__inner,
.tti-osha-hub .hub-trust__inner,
.tti-osha-hub .hub-final__inner {
	max-width: 1080px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* ------------------------------- Buttons -------------------------------- */
.tti-osha-hub .hub-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: .01em;
	text-decoration: none;
	padding: 14px 28px;
	border-radius: 10px;
	border: 2px solid transparent;
	transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
	cursor: pointer;
}
.tti-osha-hub .hub-btn--lg { padding: 17px 36px; font-size: 1.06rem; }
.tti-osha-hub .hub-btn--primary { background: var(--m); color: #fff; box-shadow: 0 6px 18px rgba(122,0,18,.18); }
.tti-osha-hub .hub-btn--primary:hover { background: var(--m-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(122,0,18,.26); }
.tti-osha-hub .hub-btn--ghost { background: transparent; color: var(--m); border-color: var(--beige); }
.tti-osha-hub .hub-btn--ghost:hover { border-color: var(--m); background: var(--tint); }

/* -------------------------------- Hero ---------------------------------- */
.tti-osha-hub .hub-hero {
	background:
		radial-gradient(1200px 420px at 85% -10%, rgba(122,0,18,.06), transparent 60%),
		linear-gradient(180deg, var(--tint) 0%, #fff 100%);
	border-bottom: 1px solid var(--line);
	padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 84px);
}
.tti-osha-hub .hub-hero__inner { max-width: 900px; text-align: center; }
.tti-osha-hub .hub-hero__eyebrow {
	color: var(--gold);
	font-weight: 800;
	font-size: .8rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	margin: 0 0 18px;
}
.tti-osha-hub .hub-hero__title {
	font-size: clamp(2.1rem, 5.4vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
	font-weight: 800;
	color: var(--m-ink);
	margin: 0 0 20px;
}
.tti-osha-hub .hub-hero__subhead {
	font-size: clamp(1.05rem, 2vw, 1.28rem);
	color: var(--muted);
	max-width: 640px;
	margin: 0 auto 32px;
}
.tti-osha-hub .hub-hero__actions { margin-bottom: 34px; }
.tti-osha-hub .hub-hero__bullets {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 28px;
}
.tti-osha-hub .hub-hero__bullets li {
	position: relative;
	padding-left: 28px;
	font-weight: 600;
	font-size: .98rem;
	color: var(--ink);
}
.tti-osha-hub .hub-hero__bullets li::before {
	content: "";
	position: absolute;
	left: 0; top: 50%;
	width: 18px; height: 18px;
	transform: translateY(-50%);
	border-radius: 50%;
	background: var(--m);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/72% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/72% no-repeat;
}

/* ------------------------------ Course cards ---------------------------- */
.tti-osha-hub .hub-courses { padding: clamp(48px, 7vw, 80px) 0; }
.tti-osha-hub .hub-courses__heading {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--m-ink);
	text-align: center;
	margin: 0 0 8px;
}
.tti-osha-hub .hub-courses__subheading {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--muted);
	text-align: center;
	margin: 40px 0 18px;
}
.tti-osha-hub .hub-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin-top: 28px;
}
.tti-osha-hub .hub-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 26px 24px;
	text-decoration: none;
	color: var(--ink);
	transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.tti-osha-hub .hub-card:hover {
	transform: translateY(-4px);
	border-color: rgba(122,0,18,.35);
	box-shadow: 0 16px 34px rgba(58,3,3,.12);
}
.tti-osha-hub .hub-card__badge {
	align-self: flex-start;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--m);
	background: var(--tint);
	border: 1px solid #f0dcda;
	padding: 5px 11px;
	border-radius: 999px;
}
.tti-osha-hub .hub-card--ilt .hub-card__badge { color: var(--gold); background: #fbf4e3; border-color: #f0e2bf; }
.tti-osha-hub .hub-card__title { font-size: 1.16rem; font-weight: 800; line-height: 1.25; color: var(--m-ink); }
.tti-osha-hub .hub-card__meta { font-size: .95rem; font-weight: 600; color: var(--muted); }
.tti-osha-hub .hub-card__cta { margin-top: auto; font-weight: 800; color: var(--m); font-size: .96rem; }

/* --------------------------------- Body --------------------------------- */
.tti-osha-hub .hub-body { padding: clamp(40px, 6vw, 72px) 0; }
.tti-osha-hub .hub-body__inner { max-width: 760px; }
.tti-osha-hub .hub-body h2 {
	font-size: clamp(1.4rem, 2.6vw, 1.85rem);
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--m-ink);
	margin: 2.2em 0 .6em;
	padding-top: .2em;
}
.tti-osha-hub .hub-body h2:first-child { margin-top: 0; }
.tti-osha-hub .hub-body h3 { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: 1.6em 0 .4em; }
.tti-osha-hub .hub-body p { margin: 0 0 1.1em; font-size: 1.06rem; color: #322c33; }
.tti-osha-hub .hub-body a { color: var(--m); font-weight: 600; text-underline-offset: 2px; }
.tti-osha-hub .hub-body ul, .tti-osha-hub .hub-body ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.tti-osha-hub .hub-body li { margin: 0 0 .5em; font-size: 1.05rem; }
.tti-osha-hub .hub-body ul li::marker { color: var(--m); }

/* FAQ — native details/summary, minimalist */
.tti-osha-hub .hub-faq { margin-top: 1.4em; border-top: 1px solid var(--line); }
.tti-osha-hub .hub-faq details {
	border-bottom: 1px solid var(--line);
	padding: 4px 0;
}
.tti-osha-hub .hub-faq summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	font-weight: 700;
	font-size: 1.08rem;
	color: var(--m-ink);
	padding: 18px 2px;
}
.tti-osha-hub .hub-faq summary::-webkit-details-marker { display: none; }
.tti-osha-hub .hub-faq summary::after {
	content: "+";
	font-weight: 400;
	font-size: 1.6rem;
	line-height: 1;
	color: var(--m);
	transition: transform .2s ease;
	flex: none;
}
.tti-osha-hub .hub-faq details[open] summary::after { transform: rotate(45deg); }
.tti-osha-hub .hub-faq details > *:not(summary) { padding: 0 2px 20px; margin: 0; color: #322c33; }
.tti-osha-hub .hub-faq details p { font-size: 1.04rem; }

/* ------------------------------- Trust band ----------------------------- */
.tti-osha-hub .hub-trust {
	background: linear-gradient(135deg, var(--m) 0%, var(--m-deep) 60%, var(--m-ink) 100%);
	color: #fff;
	padding: clamp(44px, 6vw, 68px) 0;
}
.tti-osha-hub .hub-trust__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 28px;
	text-align: center;
}
.tti-osha-hub .hub-trust__item { display: flex; flex-direction: column; gap: 6px; }
.tti-osha-hub .hub-trust__stat { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: #ffd76a; letter-spacing: -0.02em; }
.tti-osha-hub .hub-trust__label { font-size: .96rem; font-weight: 600; color: rgba(255,255,255,.86); }

/* ------------------------------- Final CTA ------------------------------ */
.tti-osha-hub .hub-final { padding: clamp(52px, 8vw, 96px) 0; text-align: center; background: var(--tint); }
.tti-osha-hub .hub-final__title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; color: var(--m-ink); margin: 0 0 26px; }
.tti-osha-hub .hub-final__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.tti-osha-hub .hub-final__inner .hub-btn { min-width: 260px; }

@media (min-width: 560px) {
	.tti-osha-hub .hub-final__inner { flex-direction: row; justify-content: center; }
}
