/*
Theme Name: Key Ab Staffing
Author: Key Ab Staffing Services
Description: A clean, professional theme for Key Ab Staffing Services, Calgary AB. Includes ready-made Home, About, Services, Employers, Job Seekers and Contact pages, built-in staff request, job application (with resume upload) and contact forms, and Customizer settings for phone, email, address and hours. Pages and menu are created automatically on activation.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: keyab
Tags: business, one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
	--navy: #0B1A3A;
	--navy-2: #13254F;
	--navy-3: #1C3366;
	--red: #D7141A;
	--red-dark: #B00F14;
	--gray: #5A6068;
	--gray-2: #8A9099;
	--line: #E2E6EC;
	--light: #F3F5F9;
	--white: #FFFFFF;
	--text: #2A2F36;
	--radius: 10px;
	--radius-lg: 16px;
	--shadow: 0 8px 30px rgba(11, 26, 58, .08);
	--shadow-lg: 0 18px 50px rgba(11, 26, 58, .16);
	--font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
	--font-body: "Open Sans", "Segoe UI", Arial, sans-serif;
	--container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	color: var(--navy);
	line-height: 1.2;
	margin: 0 0 .6em;
	font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 8px; left: 8px; padding: 10px 16px; background: var(--white); color: var(--navy);
}
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--gray); font-size: .95rem; }

.kab-icon { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
	padding: 14px 28px; border-radius: 6px; border: 2px solid transparent;
	cursor: pointer; transition: all .2s ease; text-align: center; line-height: 1.2;
}
.btn .kab-icon { width: 1.05em; height: 1.05em; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); color: var(--white); transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-3); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--light); color: var(--red); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-white { border-color: rgba(255,255,255,.75); color: var(--white); }
.btn--outline-white:hover { background: var(--white); color: var(--navy); }
.btn--sm { padding: 10px 20px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.85); font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar__info { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar__info li { display: flex; align-items: center; gap: 8px; }
.topbar__info .kab-icon { color: var(--red); }
.topbar a { color: rgba(255,255,255,.9); }
.topbar a:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100; background: var(--white);
	border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11,26,58,.08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 86px; }
.site-branding .custom-logo { width: auto; max-height: 72px; }
.site-branding a { display: block; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.primary-nav li { position: relative; }
.primary-nav a:not(.btn) {
	display: block; padding: 10px 14px; color: var(--navy);
	font-family: var(--font-head); font-weight: 600; font-size: .95rem;
	position: relative;
}
.primary-nav a:not(.btn)::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
	background: var(--red); transform: scaleX(0); transition: transform .2s;
}
.primary-nav a:not(.btn):hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after { transform: scaleX(1); }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: var(--red); }
.primary-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; display: none; flex-direction: column;
	background: var(--white); box-shadow: var(--shadow-lg); border-radius: var(--radius); padding: 8px 0;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: flex; }
.primary-nav .sub-menu a::after { display: none; }

.nav-toggle {
	display: none; background: none; border: 0; padding: 10px; cursor: pointer;
	flex-direction: column; gap: 5px;
}
.nav-toggle__bar { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative; background-size: cover; background-position: center;
	color: var(--white); isolation: isolate;
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(100deg, rgba(11,26,58,.95) 0%, rgba(11,26,58,.82) 45%, rgba(11,26,58,.35) 100%);
}
.hero__inner { min-height: 640px; display: flex; align-items: center; padding-top: 80px; padding-bottom: 110px; }
.hero__content { max-width: 640px; }
.hero h1 { color: var(--white); margin-bottom: .45em; }
.hero__text { font-size: 1.15rem; color: rgba(255,255,255,.88); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-head); font-weight: 700; font-size: .82rem;
	letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); border-radius: 2px; }
.eyebrow--light { color: var(--white); }

/* ---------- Trust strip ---------- */
.trust-strip { position: relative; z-index: 2; margin-top: -60px; }
.trust-strip__grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
	background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
	padding: 0; overflow: hidden;
}
.trust-item { display: flex; gap: 14px; align-items: center; padding: 28px 26px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item .kab-icon { width: 38px; height: 38px; color: var(--red); }
.trust-item strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.02rem; }
.trust-item span { display: block; color: var(--gray); font-size: .88rem; line-height: 1.4; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 56px 0; }
.section--light { background: var(--light); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.85); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p { color: var(--gray); font-size: 1.05rem; }
.section-head--light p { color: rgba(255,255,255,.75); }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
	background: var(--white); border-radius: var(--radius-lg); padding: 32px;
	box-shadow: var(--shadow); border: 1px solid var(--line);
	transition: transform .2s ease, box-shadow .2s ease;
}
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }

.icon-badge {
	display: inline-flex; align-items: center; justify-content: center;
	width: 58px; height: 58px; border-radius: 14px; background: var(--navy); color: var(--white);
	margin-bottom: 18px; flex-shrink: 0;
}
.icon-badge .kab-icon { width: 28px; height: 28px; }
.icon-badge--red { background: rgba(215,20,26,.1); color: var(--red); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__badge {
	position: absolute; right: -18px; bottom: -22px; background: var(--red); color: var(--white);
	padding: 20px 26px; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 230px;
}
.split__badge strong { display: block; font-family: var(--font-head); font-size: 1.5rem; line-height: 1.1; }
.split__badge span { font-size: .9rem; line-height: 1.35; display: block; margin-top: 4px; }
.split--reverse .split__media { order: 2; }
.section--navy .split__content p { color: rgba(255,255,255,.8); }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; }
.check-list .kab-icon {
	width: 22px; height: 22px; padding: 4px; border-radius: 50%;
	background: var(--red); color: var(--white); margin-top: 2px;
}
.check-list--sm li { padding: 4px 0; font-size: .95rem; }
.check-list--sm .kab-icon { width: 18px; height: 18px; padding: 3px; margin-top: 4px; }
.check-list--cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.check-list--light li { color: var(--white); }

.tag-list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li {
	background: var(--light); border: 1px solid var(--line); color: var(--navy);
	padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem;
}

/* Audience cards */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.audience-card {
	position: relative; min-height: 420px; border-radius: var(--radius-lg); overflow: hidden;
	background-size: cover; background-position: center; display: flex; align-items: flex-end;
	isolation: isolate;
}
.audience-card::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(11,26,58,.15) 0%, rgba(11,26,58,.92) 70%);
}
.audience-card:nth-child(2)::before { background: linear-gradient(180deg, rgba(150,10,14,.15) 0%, rgba(140,10,14,.92) 70%); }
.audience-card__body { padding: 40px; color: rgba(255,255,255,.88); }
.audience-card h2 { color: var(--white); font-size: 1.8rem; }

/* Service cards */
.service-card { border-top: 4px solid var(--red); }
.service-card:hover, .industry-card:hover, .contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card p { color: var(--gray); font-size: .96rem; }

/* Industry cards */
.industry-card { padding: 0; overflow: hidden; }
.industry-card__body { padding: 28px 30px; }
.industry-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; }
.icon-inline { display: inline-flex; width: 38px; height: 38px; border-radius: 10px; background: rgba(215,20,26,.1); color: var(--red); align-items: center; justify-content: center; }
.icon-inline .kab-icon { width: 20px; height: 20px; }
.industry-card__img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.section--navy .industry-card { background: var(--navy-2); border-color: rgba(255,255,255,.08); box-shadow: none; }
.section--navy .industry-card li { color: rgba(255,255,255,.82); }

/* Process */
.process-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.process { background: var(--light); border-radius: var(--radius-lg); padding: 40px; }
.process__title { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; margin-bottom: 24px; }
.process__title .kab-icon { color: var(--red); width: 28px; height: 28px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 26px 66px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
	content: counter(step); position: absolute; left: 0; top: 0;
	width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: var(--white);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
}
.steps li:not(:last-child)::after {
	content: ""; position: absolute; left: 22px; top: 50px; bottom: 4px; width: 2px; background: var(--line);
}
.steps strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.08rem; margin-bottom: 2px; }
.steps span { color: var(--gray); font-size: .96rem; }
.steps--row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps--row li { padding: 70px 0 0; text-align: left; }
.steps--row li::after { display: none; }
.steps--row li:not(:last-child)::after {
	display: block; left: 58px; right: -14px; top: 22px; bottom: auto; width: auto; height: 2px;
}

/* Why grid */
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-item .icon-badge { margin-bottom: 0; }
.why-item h3 { margin-bottom: .35em; font-size: 1.1rem; }
.why-item p { color: var(--gray); font-size: .96rem; margin: 0; }

/* Values, mission, training */
.value { text-align: center; padding: 10px; }
.value .icon-badge { margin-left: auto; margin-right: auto; }
.value p { color: var(--gray); font-size: .96rem; }
.mission-card p { font-size: 1.05rem; color: var(--gray); }
.training-card { text-align: center; }
.training-card > .kab-icon { width: 40px; height: 40px; color: var(--red); margin: 0 auto 14px; display: block; }
.training-card p { color: var(--gray); font-size: .94rem; }
.checklist-card h3 { display: flex; align-items: center; gap: 10px; }
.checklist-card h3 .kab-icon { color: var(--red); width: 26px; height: 26px; }
.checklist-card .check-list { margin-bottom: 0; }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--red) 0%, var(--red-dark) 100%); color: var(--white); padding: 64px 0; position: relative; overflow: hidden; }
.cta-band::after {
	content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
	border: 60px solid rgba(255,255,255,.07); border-radius: 50%;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.9); max-width: 620px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* Page hero */
.page-hero {
	position: relative; background-size: cover; background-position: center;
	padding: 110px 0 96px; color: var(--white); isolation: isolate;
}
.page-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(100deg, rgba(11,26,58,.95) 0%, rgba(11,26,58,.75) 100%);
}
.page-hero::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 160px; height: 6px; background: var(--red);
}
.page-hero h1 { color: var(--white); margin-bottom: .25em; }
.page-hero__sub { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 640px; margin: 0; }
.breadcrumbs { font-size: .88rem; margin-bottom: 12px; color: rgba(255,255,255,.7); display: flex; gap: 8px; }
.breadcrumbs a { color: rgba(255,255,255,.9); }
.breadcrumbs a:hover { color: var(--white); }

/* Forms */
.form-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.form-layout__intro p { color: rgba(255,255,255,.8); }
.form-layout--light .form-layout__intro p { color: var(--gray); }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); color: var(--text); }
.kab-form label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 18px; }
.kab-form input[type="text"], .kab-form input[type="email"], .kab-form input[type="tel"],
.kab-form input[type="number"], .kab-form input[type="date"], .kab-form select, .kab-form textarea {
	display: block; width: 100%; margin-top: 6px; padding: 13px 14px;
	border: 1.5px solid var(--line); border-radius: 8px; background: var(--light);
	font: inherit; font-weight: 400; color: var(--text); transition: border-color .2s, background .2s;
}
.kab-form input:focus, .kab-form select:focus, .kab-form textarea:focus { outline: none; border-color: var(--navy); background: var(--white); }
.kab-form textarea { resize: vertical; }
.kab-form input[type="file"] { display: block; margin-top: 8px; font-weight: 400; font-size: .9rem; width: 100%; }
.file-label { padding: 16px; border: 1.5px dashed var(--line); border-radius: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.req { color: var(--red); }
.kab-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 14px 18px; border-radius: 8px; margin-bottom: 22px; font-weight: 600; }
.form-notice--success { background: #E7F6EC; color: #17633A; border: 1px solid #BFE5CC; }
.form-notice--error { background: #FDECEC; color: #9B1015; border: 1px solid #F6C4C5; }
.big-phone {
	display: inline-flex; align-items: center; gap: 12px; margin: 6px 0 24px;
	font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--white);
}
.big-phone .kab-icon { width: 46px; height: 46px; padding: 11px; background: var(--red); border-radius: 50%; }
.big-phone:hover { color: var(--white); opacity: .9; }
.small-print { font-size: .85rem; opacity: .75; }

.contact-card { text-align: center; }
.contact-card .icon-badge { margin-left: auto; margin-right: auto; }
.contact-card a { font-weight: 600; }
.contact-shortcuts { display: grid; gap: 14px; margin-top: 26px; }
.shortcut {
	display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--white);
	border-radius: var(--radius); border: 1px solid var(--line); color: var(--gray); font-size: .92rem; line-height: 1.4;
}
.shortcut:hover { border-color: var(--red); color: var(--gray); }
.shortcut .kab-icon { width: 34px; height: 34px; color: var(--red); }
.shortcut strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 1rem; }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.2); }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: var(--white); }
.faq summary {
	cursor: pointer; padding: 18px 56px 18px 22px; font-family: var(--font-head); font-weight: 700;
	color: var(--navy); list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
	font-size: 1.5rem; color: var(--red); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--gray); }

/* Blog */
.post-card { padding: 0; overflow: hidden; }
.post-card__img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.post-card__body { padding: 26px; }
.post-card__title { font-size: 1.2rem; }
.post-card__title a { color: var(--navy); }
.post-meta { font-size: .85rem; color: var(--gray-2); margin-bottom: 6px; }
.entry-content { font-size: 1.05rem; }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; }
.entry-thumb { border-radius: var(--radius-lg); margin-bottom: 28px; }
.pagination { margin-top: 40px; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: 8px 14px; margin: 0 3px; border-radius: 6px; background: var(--light); color: var(--navy); }
.pagination .page-numbers.current { background: var(--red); color: var(--white); }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, figcaption { font-size: .88rem; color: var(--gray); }

/* ---------- Footer ---------- */
.site-footer { background: #081330; color: rgba(255,255,255,.72); font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-top: 80px; padding-bottom: 60px; }
.site-footer__brand .custom-logo { max-width: 230px; margin-bottom: 20px; }
.site-footer__title { color: var(--white); font-size: 1.05rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.site-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--red); }
.footer-links, .footer-contact, .social { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-contact a, .social a { color: rgba(255,255,255,.75); }
.footer-links a:hover, .footer-contact a:hover, .social a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; line-height: 1.5; }
.footer-contact .kab-icon { color: var(--red); margin-top: 3px; }
.social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.social a { display: inline-block; padding: 6px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: .85rem; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.site-footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; padding-bottom: 22px; font-size: .85rem; }
.site-footer__bottom p { margin: 0; }
.site-credit a { color: var(--white); font-weight: 600; }
.site-credit a:hover { color: var(--red); }

/* Widgets / search */
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { flex: 1; padding: 12px; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; }
.search-form input[type="submit"] { background: var(--navy); color: var(--white); border: 0; border-radius: 8px; padding: 0 20px; font-weight: 700; cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.primary-nav { gap: 14px; }
	.primary-nav a:not(.btn) { padding: 10px 9px; font-size: .9rem; }
	.primary-nav a:not(.btn)::after { left: 9px; right: 9px; }
	.hide-md { display: none !important; }
}
@media (max-width: 960px) {
	.nav-toggle { display: flex; }
	.primary-nav {
		position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
		background: var(--white); flex-direction: column; align-items: stretch; gap: 20px;
		padding: 100px 26px 30px; box-shadow: var(--shadow-lg);
		transform: translateX(100%); transition: transform .3s ease; z-index: 99; overflow-y: auto;
	}
	.primary-nav.is-open { transform: translateX(0); }
	.primary-nav ul { flex-direction: column; gap: 0; }
	.primary-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
	.primary-nav a:not(.btn)::after { display: none; }
	.primary-nav .sub-menu { position: static; display: flex; box-shadow: none; padding: 0 0 0 14px; }
	.nav-toggle { position: relative; z-index: 101; }
	body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(11,26,58,.45); z-index: 98; }

	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
	.trust-item:nth-child(2) { border-right: 0; }
	.trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.split, .form-layout, .process-cols, .audience-grid { grid-template-columns: 1fr; gap: 40px; }
	.split--reverse .split__media { order: 0; }
	.split__badge { right: 16px; }
	.steps--row { grid-template-columns: repeat(2, 1fr); }
	.steps--row li::after { display: none !important; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.section { padding: 72px 0; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 640px) {
	.hide-sm { display: none !important; }
	.topbar__inner { justify-content: center; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
	.topbar__info { gap: 12px; justify-content: center; }
	.site-header__inner { min-height: 72px; }
	.site-branding .custom-logo { max-height: 50px; }
	.hero__inner { min-height: 0; padding-top: 70px; padding-bottom: 110px; }
	.hero__actions .btn { width: 100%; }
	.grid--2, .grid--3, .grid--4, .trust-strip__grid, .steps--row, .form-row, .site-footer__grid { grid-template-columns: 1fr; }
	.trust-item { border-right: 0 !important; border-bottom: 1px solid var(--line); }
	.trust-item:last-child { border-bottom: 0; }
	.check-list--cols { grid-template-columns: 1fr; }
	.form-card, .process, .card { padding: 26px; }
	.industry-card { padding: 0; }
	.audience-card__body { padding: 28px; }
	.audience-card { min-height: 380px; }
	.cta-band__actions, .cta-band__actions .btn { width: 100%; }
	.big-phone { font-size: 1.3rem; }
	.page-hero { padding: 72px 0 64px; }
	.section { padding: 60px 0; }
	.section-head { margin-bottom: 36px; }
	.split__badge { position: static; margin-top: -30px; margin-left: 16px; display: inline-block; position: relative; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
