/* ==========================================================================
   NEB About Page — mobile-first, self-contained.
   Everything is scoped under .nab so it never leaks into the WoodMart theme.
   Layout is single-column by default; columns are added at breakpoints only.
   ========================================================================== */

.nab {
	--nab-accent: #e8481c;      /* NewBio Rx orange-red */
	--nab-accent-dk: #b8330f;
	--nab-ink: #16171a;
	--nab-body: #4a4d55;
	--nab-muted: #8a8d95;
	--nab-line: #e7e8ea;
	--nab-bg-soft: #f4f4f5;
	--nab-dark: #100f0f;
	--nab-container: 1120px;
	--nab-pad: clamp(20px, 5vw, 40px);

	color: var(--nab-body);
	font-family: inherit;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.nab *,
.nab *::before,
.nab *::after { box-sizing: border-box; }

.nab img { max-width: 100%; height: auto; display: block; }

.nab-container {
	width: 100%;
	max-width: var(--nab-container);
	margin-inline: auto;
	padding-inline: var(--nab-pad);
}

.nab-section { padding-block: clamp(48px, 8vw, 88px); }

/* Full-bleed colored bands: the theme wraps this page in a centered, max-width
   content column, which would box the gray/dark sections with gutters. These
   negative margins let the SECTION background span the full viewport width while
   the inner .nab-container keeps the content aligned to the same column. */
.nab-commit,
.nab-certs {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* ---- Typography -------------------------------------------------------- */
.nab-eyebrow {
	color: var(--nab-accent);
	font-weight: 700;
	font-size: .72rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin: 0 0 .9rem;
}
.nab-eyebrow--accent { color: var(--nab-accent); }

.nab-h2 {
	color: var(--nab-ink);
	font-size: clamp(1.7rem, 4.4vw, 2.6rem);
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -.01em;
	margin: 0 0 1rem;
}
.nab-h2--light { color: #fff; }

.nab-sub {
	color: var(--nab-muted);
	max-width: 52ch;
	margin: 0 0 clamp(28px, 4vw, 44px);
}
.nab-sub--light { color: rgba(255,255,255,.6); }

.nab-who__body p,
.nab-cust__copy p { margin: 0 0 1.1rem; }

.nab-accent { color: var(--nab-accent); }

/* ---- Grid helpers (mobile-first: 1 col, expand up) --------------------- */
.nab-grid { display: grid; gap: clamp(20px, 3vw, 28px); }
.nab-grid--2,
.nab-grid--3,
.nab-grid--4 { grid-template-columns: 1fr; }

/* ---- Buttons ----------------------------------------------------------- */
.nab-btn {
	display: inline-block;
	padding: 14px 30px;
	border-radius: 4px;
	font-weight: 700;
	font-size: .95rem;
	text-decoration: none;
	transition: background-color .18s ease, transform .18s ease;
}
.nab-btn--primary { background: var(--nab-accent); color: #fff; }
.nab-btn--primary:hover { background: var(--nab-accent-dk); color: #fff; transform: translateY(-1px); }

/* ---- Hero -------------------------------------------------------------- */
/* The hero is a Slider Revolution module; it manages its own responsive layout.
   We only make sure the section adds no extra spacing around it. */
.nab-hero-slider { margin: 0; padding: 0; line-height: 0; }
.nab-hero-slider .rev_slider_wrapper,
.nab-hero-slider rs-module-wrap { line-height: normal; }

/* ---- Commitment cards -------------------------------------------------- */
.nab-commit { background: var(--nab-bg-soft); }
.nab-cards { margin-top: clamp(28px, 4vw, 44px); }
.nab-card {
	background: #fff;
	border: 1px solid var(--nab-line);
	border-radius: 8px;
	padding: clamp(24px, 3vw, 32px);
	display: flex;
	flex-direction: column;
	min-height: 100%;
}
.nab-card__num {
	color: #d7d8db;
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1;
}
.nab-card__icon {
	color: var(--nab-accent);
	margin: clamp(56px, 8vw, 92px) 0 1rem;
	display: inline-flex;
}
.nab-card__title { color: var(--nab-ink); font-size: 1.15rem; font-weight: 700; margin: 0 0 .6rem; }
.nab-card__text { margin: 0; font-size: .92rem; }

/* ---- Certifications (dark) -------------------------------------------- */
.nab-certs { background: var(--nab-dark); }
.nab-certgrid { margin-top: clamp(28px, 4vw, 44px); }
.nab-cert {
	background: #191717;
	border: 1px solid #2a2626;
	border-radius: 8px;
	padding: clamp(22px, 2.6vw, 28px);
}
.nab-cert__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	border-radius: 8px;
	background: rgba(232,72,28,.14);
	color: var(--nab-accent);
	margin-bottom: 1.1rem;
}
.nab-cert__title { color: #fff; font-size: 1.02rem; font-weight: 700; margin: 0 0 .5rem; }
.nab-cert__text { color: rgba(255,255,255,.55); font-size: .86rem; margin: 0; }

/* ---- Customers --------------------------------------------------------- */
.nab-contact-h { color: var(--nab-accent); font-weight: 700; margin: 1.6rem 0 .4rem; }
.nab-contact { color: var(--nab-body); margin: 0; }

.nab-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.nab-feature {
	background: var(--nab-bg-soft);
	border-radius: 8px;
	padding: 18px 22px;
	border-left: 3px solid transparent;
	position: relative;
}
.nab-feature__title { color: var(--nab-ink); font-size: 1rem; font-weight: 700; margin: 0 0 .35rem; padding-left: 18px; position: relative; }
.nab-feature__title::before {
	content: "";
	position: absolute;
	left: 0; top: .5em;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--nab-accent);
}
.nab-feature__text { color: var(--nab-muted); font-size: .88rem; margin: 0; padding-left: 18px; }

/* ---- CTA banner -------------------------------------------------------- */
.nab-cta {
	background: linear-gradient(120deg, #1a1414 0%, #2a1512 45%, var(--nab-accent-dk) 100%);
	border-radius: 12px;
	padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 56px);
	text-align: center;
	color: #fff;
}
.nab-cta__title {
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 1rem;
	color: #fff;
}
.nab-cta__text {
	color: rgba(255,255,255,.8);
	max-width: 56ch;
	margin: 0 auto 1.8rem;
}

/* ==========================================================================
   Breakpoints — add columns as space allows. Nothing below 768px is multi-col.
   ========================================================================== */
@media (min-width: 768px) {
	.nab-grid--2 { grid-template-columns: 1fr 1fr; align-items: start; }
	.nab-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.nab-grid--4 { grid-template-columns: repeat(2, 1fr); }

	.nab-hero__inner { grid-template-columns: 1.05fr .95fr; }
	.nab-hero__copy { order: 1; padding-right: clamp(20px, 3vw, 40px); }
	.nab-hero__media { order: 2; min-height: 380px; }
}

@media (min-width: 1024px) {
	.nab-grid--4 { grid-template-columns: repeat(4, 1fr); }
	.nab-who__head .nab-h2 { position: sticky; top: 100px; }
	.nab-hero__media { min-height: 440px; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
	.nab-btn { transition: none; }
	.nab-btn--primary:hover { transform: none; }
}
