/* =============================================================
   Total Support Group — main stylesheet
   Desktop-first. Single-file (responsive included at the end).
   minify:true
   ============================================================= */

/* -------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------- */
:root {
	--color-primary:     #0a1628;
	--color-primary-alt: #0d1f3c;
	--color-accent:      #f5a623;
	--color-accent-dark: #d4901a;
	--color-white:       #ffffff;
	--color-light-bg:    #f7f8fa;
	--color-text:        #1a1a2e;
	--color-text-muted:  #4a5568;
	--color-border:      #e0e4ed;

	--space-xs:  8px;
	--space-sm:  16px;
	--space-md:  24px;
	--space-lg:  48px;
	--space-xl:  80px;
	--space-2xl: 120px;

	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 16px;

	--shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.08);
	--shadow-md: 0 4px 24px rgba(10, 22, 40, 0.12);
	--shadow-lg: 0 8px 48px rgba(10, 22, 40, 0.18);

	--header-height: 84px;
	--container: 1200px;
}

/* -------------------------------------------------------------
   2. Reset / base
   ------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--color-text);
	background: var(--color-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
	margin: 0 0 0.5em;
	color: var(--color-text);
	line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }

p {
	margin: 0 0 1rem;
	font-size: 1rem;
	line-height: 1.8;
	color: var(--color-text-muted);
}

a { color: var(--color-accent-dark); text-decoration: none; }
a:hover { color: var(--color-accent); }

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

ul { margin: 0 0 1rem; padding-left: 1.25rem; }

:focus-visible {
	outline: 3px solid var(--color-accent);
	outline-offset: 2px;
}

/* -------------------------------------------------------------
   3. Layout helpers
   ------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding-left: var(--space-md);
	padding-right: var(--space-md);
}

.section { padding: var(--space-xl) 0; }
.section--light { background: var(--color-light-bg); }
.section--white { background: var(--color-white); }

.text-center { text-align: center; }

.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--color-accent);
	color: var(--color-primary);
	padding: 8px 16px;
	font-weight: 700;
	z-index: 9999;
	transition: top 0.2s;
}
.skip-link:focus { top: 0; }

.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;
}

/* -------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------- */
.btn {
	display: inline-block;
	padding: 14px 32px;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border-radius: var(--radius-sm);
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	text-decoration: none;
	cursor: pointer;
	border: none;
	line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--color-accent); color: var(--color-primary); }
.btn-primary:hover { background: var(--color-accent-dark); color: var(--color-primary); }

.btn-outline {
	background: transparent;
	border: 2px solid var(--color-accent);
	color: var(--color-accent);
	padding: 12px 30px;
}
.btn-outline:hover { background: var(--color-accent); color: var(--color-primary); }

/* -------------------------------------------------------------
   5. Section headings with orange underline
   ------------------------------------------------------------- */
.section-heading {
	position: relative;
	display: inline-block;
	margin-bottom: 32px;
}
.section-heading::after {
	content: '';
	display: block;
	width: 40px;
	height: 4px;
	background: var(--color-accent);
	margin-top: 12px;
	border-radius: 2px;
}
.section-heading.centered { display: block; text-align: center; }
.section-heading.centered::after { margin: 12px auto 0; }

/* -------------------------------------------------------------
   6. Header / navigation
   ------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 200;
	background: transparent;
	transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	min-height: var(--header-height);
}

.site-logo { display: inline-flex; align-items: center; }
.site-logo img { height: 50px; width: auto; }

/* Primary nav */
.primary-nav { display: flex; align-items: center; gap: var(--space-md); }
.primary-nav__list {
	display: flex;
	align-items: center;
	gap: var(--space-md);
	list-style: none;
	margin: 0; padding: 0;
}
.primary-nav__list a {
	color: var(--color-white);
	text-transform: uppercase;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	transition: color 0.2s ease;
	white-space: nowrap;
}
.primary-nav__list a:hover,
.primary-nav__list .current-menu-item > a,
.primary-nav__list .current_page_item > a { color: var(--color-accent); }

/* Dropdown */
.nav-item--has-dropdown { position: relative; }
.nav-item--has-dropdown > a::after {
	content: '';
	display: inline-block;
	width: 0; height: 0;
	margin-left: 6px;
	vertical-align: middle;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
}
.nav-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 280px;
	background: var(--color-primary-alt);
	border-top: 2px solid var(--color-accent);
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	box-shadow: var(--shadow-md);
	list-style: none;
	margin: 0; padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-item--has-dropdown:hover .nav-dropdown,
.nav-dropdown.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.nav-dropdown a {
	display: block;
	padding: 12px 20px;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
}

/* Phone pill */
.nav-phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--color-accent);
	color: var(--color-primary) !important;
	padding: 10px 20px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	text-transform: none;
	transition: background 0.2s ease, transform 0.2s ease;
	white-space: nowrap;
}
.nav-phone:hover { background: var(--color-accent-dark); transform: translateY(-1px); }
.nav-phone svg { width: 16px; height: 16px; flex: none; }

/* Scrolled state -> solid white header */
.site-header.is-scrolled {
	background: var(--color-white);
	box-shadow: 0 2px 16px rgba(10, 22, 40, 0.10);
}
.site-header.is-scrolled .primary-nav__list a { color: var(--color-text); }
.site-header.is-scrolled .primary-nav__list a:hover,
.site-header.is-scrolled .primary-nav__list .current-menu-item > a,
.site-header.is-scrolled .primary-nav__list .current_page_item > a { color: var(--color-accent-dark); }
.site-header.is-scrolled .nav-dropdown a { color: var(--color-white); }
.site-header.is-scrolled .nav-hamburger span { background: var(--color-text); }

/* Hamburger */
.nav-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px; height: 44px;
	padding: 0;
	background: none; border: none; cursor: pointer;
}
.nav-hamburger span {
	display: block;
	width: 26px; height: 2px;
	background: var(--color-white);
	border-radius: 2px;
	transition: background 0.2s ease;
}

/* Mobile overlay menu */
.mobile-menu {
	position: fixed;
	inset: 0;
	background: var(--color-primary);
	z-index: 999;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	display: flex;
	flex-direction: column;
	padding: 24px;
	overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__close {
	align-self: flex-end;
	width: 48px; height: 48px;
	background: none; border: none;
	color: var(--color-white);
	font-size: 2rem; line-height: 1;
	cursor: pointer;
}
.mobile-menu__list {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}
.mobile-menu__list li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mobile-menu__list a {
	display: flex;
	align-items: center;
	min-height: 56px;
	color: var(--color-white);
	font-size: 1.1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.mobile-menu__list a:hover { color: var(--color-accent); }
.mobile-menu__list .sub-menu,
.mobile-menu__list ul {
	list-style: none;
	margin: 0;
	padding-left: 16px;
}
.mobile-menu__list .sub-menu a { font-size: 0.95rem; text-transform: none; min-height: 48px; opacity: 0.85; }
.mobile-menu .nav-phone { margin-top: 24px; justify-content: center; }

/* -------------------------------------------------------------
   7. Homepage hero
   ------------------------------------------------------------- */
.home-hero {
	position: relative;
	background: var(--color-primary);
	background-size: cover;
	background-position: center;
	min-height: 640px;
	display: flex;
	align-items: center;
	text-align: center;
	padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-xl);
}
.home-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(10, 22, 40, 0.75), rgba(10, 22, 40, 0.85));
}
.home-hero__content {
	position: relative;
	z-index: 1;
	max-width: 760px;
	margin: 0 auto;
}
.home-hero h1 { color: var(--color-white); margin-bottom: 20px; }
.home-hero p {
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.15rem;
	margin-bottom: 36px;
}
.home-hero__actions {
	display: flex;
	gap: var(--space-md);
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}
.home-hero__secondary {
	color: var(--color-white);
	text-decoration: underline;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	font-weight: 600;
}
.home-hero__secondary:hover { color: var(--color-accent); }

/* -------------------------------------------------------------
   8. Page hero (inner pages)
   ------------------------------------------------------------- */
.page-hero {
	background: radial-gradient(ellipse at 20% 30%, #1a2d4a 0%, #0a1628 60%);
	padding: calc(var(--header-height) + var(--space-lg)) 0 var(--space-xl);
	min-height: 320px;
	display: flex;
	align-items: center;
}
.page-hero .hero-title { color: var(--color-white); max-width: 760px; }
.page-hero .hero-subtitle {
	color: rgba(255, 255, 255, 0.8);
	max-width: 680px;
	font-size: 1.05rem;
	margin-top: 8px;
}

/* -------------------------------------------------------------
   9. Services grid
   ------------------------------------------------------------- */
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: var(--space-lg);
}

.service-card {
	background: linear-gradient(180deg, #102038 0%, #0a1628 100%);
	border-radius: var(--radius-md);
	padding: 36px 28px;
	text-align: center;
	box-shadow: 0 2px 6px rgba(10, 22, 40, 0.15), 0 8px 24px rgba(10, 22, 40, 0.12);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(10, 22, 40, 0.22);
}
.service-card__icon {
	width: 56px; height: 56px;
	margin: 0 auto 20px;
	color: var(--color-accent);
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card__title {
	color: var(--color-accent);
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 16px;
}
.service-card__link {
	margin-top: auto;
	color: var(--color-white);
	font-size: 0.85rem;
	text-decoration: underline;
	opacity: 0.8;
	transition: color 0.2s ease, opacity 0.2s ease;
}
.service-card__link:hover { opacity: 1; color: var(--color-accent); }

/* -------------------------------------------------------------
   10. About / stats strip (homepage)
   ------------------------------------------------------------- */
.about-strip__inner {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: var(--space-xl);
	align-items: center;
}
.about-stats {
	text-align: center;
	padding: var(--space-lg) var(--space-md);
	background: var(--color-primary);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}
.about-stats__number {
	display: block;
	font-size: clamp(3.5rem, 8vw, 5rem);
	font-weight: 800;
	line-height: 1;
	color: var(--color-accent);
	letter-spacing: -0.02em;
}
.about-stats__label {
	display: block;
	margin-top: 12px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.about-content p { margin-bottom: 1.25rem; }

/* -------------------------------------------------------------
   11. Trustpilot section
   ------------------------------------------------------------- */
.trustpilot-section { padding: var(--space-lg) 0; background: var(--color-white); }

/* -------------------------------------------------------------
   12. CTA banner
   ------------------------------------------------------------- */
.cta-banner {
	position: relative;
	background: var(--color-primary);
	background-size: cover;
	background-position: center;
	padding: var(--space-xl) 0;
	text-align: center;
	border-top: 1px solid var(--color-accent);
}
.cta-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(10, 22, 40, 0.82);
}
.cta-banner__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-banner__heading {
	color: var(--color-accent);
	font-size: clamp(2rem, 4vw, 2.4rem);
	margin-bottom: 12px;
}
.cta-banner__body {
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.05rem;
	margin-bottom: 28px;
}

/* -------------------------------------------------------------
   13. Accreditations strip
   ------------------------------------------------------------- */
.accreditations {
	background: var(--color-white);
	padding: var(--space-lg) 0;
	border-top: 1px solid #e8ecf0;
	border-bottom: 1px solid #e8ecf0;
}
.accreditations__logos {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 48px;
	flex-wrap: wrap;
	margin-top: 32px;
}
.accreditations__logos img {
	height: 56px;
	width: auto;
	object-fit: contain;
	filter: grayscale(40%);
	opacity: 0.85;
	transition: filter 0.2s ease, opacity 0.2s ease;
}
.accreditations__logos img:hover { filter: grayscale(0%); opacity: 1; }

/* Text placeholder for missing accreditation logos */
.accreditation-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 56px;
	min-width: 120px;
	padding: 0 20px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	background: var(--color-light-bg);
	text-align: center;
}

/* -------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------- */
.site-footer {
	background: var(--color-primary);
	color: var(--color-white);
	border-top: 3px solid var(--color-accent);
	padding: var(--space-xl) 0 var(--space-lg);
}
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: var(--space-lg);
}
.site-footer__logo img { height: 46px; width: auto; margin-bottom: 16px; }
.site-footer__tagline { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; max-width: 260px; }
.footer-col__heading {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-white);
	margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a,
.footer-col p,
.footer-col address {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.875rem;
	line-height: 1.8;
	font-style: normal;
	transition: color 0.2s ease, opacity 0.2s ease;
}
.footer-col a { opacity: 0.7; }
.footer-col a:hover { opacity: 1; color: var(--color-accent); }
.site-footer__bottom {
	margin-top: var(--space-lg);
	padding-top: var(--space-md);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	text-align: center;
}
.site-footer__bottom p {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.8rem;
	margin: 0;
}

/* -------------------------------------------------------------
   15. Page / entry content
   ------------------------------------------------------------- */
.entry-content { font-size: 1rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin-top: 40px; margin-bottom: 16px; }
.entry-content h3 { margin-top: 28px; margin-bottom: 12px; }
.entry-content p { margin-bottom: 1.1rem; }
.entry-content a { text-decoration: underline; }

.entry-content ul { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.entry-content ul li {
	padding-left: 24px;
	position: relative;
	margin-bottom: 10px;
	color: var(--color-text-muted);
	line-height: 1.7;
}
.entry-content ul li::before {
	content: '';
	position: absolute;
	left: 0; top: 9px;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--color-accent);
}
.entry-content ol { padding-left: 1.25rem; color: var(--color-text-muted); }
.entry-content ol li { margin-bottom: 10px; }

.note-label { color: var(--color-text); font-weight: 700; }

/* Standard service page layout */
.service-content { padding: var(--space-xl) 0; background: var(--color-white); }
.service-content__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: start;
	max-width: 1100px;
	margin: 0 auto;
}
.service-content__inner.no-image {
	grid-template-columns: 1fr;
	max-width: 800px;
}
.service-content__inner.image-left .service-content__text { order: 2; }
.service-content__inner.image-left .service-content__image { order: 1; }
.service-content__image img {
	width: 100%;
	height: 420px;
	object-fit: cover;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
}

/* Generic image placeholder (awaiting client photography) */
.image-placeholder {
	width: 100%;
	height: 420px;
	border-radius: var(--radius-md);
	background: repeating-linear-gradient(45deg, #eef1f5, #eef1f5 14px, #e6eaf0 14px, #e6eaf0 28px);
	box-shadow: var(--shadow-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #98a3b3;
	font-size: 0.85rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
	padding: 16px;
}

/* Wi-Fi placeholder notice */
.placeholder-notice {
	background: var(--color-light-bg);
	border-left: 4px solid var(--color-accent);
	padding: 24px 28px;
	border-radius: var(--radius-sm);
	max-width: 600px;
	margin: var(--space-xl) auto;
}
.placeholder-notice p { margin: 0; font-size: 1.05rem; }
.placeholder-notice a { color: var(--color-primary); font-weight: 600; text-decoration: underline; }

/* Recruitment callout box */
.callout-box {
	background: var(--color-light-bg);
	border-radius: var(--radius-md);
	padding: var(--space-lg);
	max-width: 800px;
	margin: 0 auto;
	box-shadow: var(--shadow-sm);
}
.callout-box h3 { margin-top: 0; }

.content-narrow { max-width: 800px; margin: 0 auto; }

/* -------------------------------------------------------------
   16. Services hub page (cards linking to each service)
   ------------------------------------------------------------- */
.services-hub-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: var(--space-lg);
}
.services-hub-card {
	display: block;
	background: linear-gradient(180deg, #102038 0%, #0a1628 100%);
	border-radius: var(--radius-md);
	padding: 32px 28px;
	box-shadow: 0 2px 6px rgba(10, 22, 40, 0.15), 0 8px 24px rgba(10, 22, 40, 0.12);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.services-hub-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(10, 22, 40, 0.22); }
.services-hub-card h3 { color: var(--color-accent); margin-bottom: 8px; }
.services-hub-card span { color: rgba(255, 255, 255, 0.8); font-size: 0.85rem; }

/* -------------------------------------------------------------
   17. Contact page
   ------------------------------------------------------------- */
.contact-layout {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: var(--space-xl);
	align-items: start;
}
.contact-form-card {
	background: var(--color-white);
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
	padding: 40px;
}
.contact-details__block { margin-bottom: var(--space-md); }
.contact-details__label {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-accent-dark);
	margin: 0 0 4px;
}
.contact-details__value { margin: 0; color: var(--color-text); line-height: 1.7; }
.contact-details__value a { color: var(--color-text); }
.contact-details__value a:hover { color: var(--color-accent-dark); }

.map-embed { line-height: 0; }
.map-embed iframe { width: 100%; height: 400px; border: 0; display: block; }

/* -------------------------------------------------------------
   18. Contact Form 7
   ------------------------------------------------------------- */
.cf7-field-group { margin-bottom: 20px; }
.cf7-field-group label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-text);
	margin-bottom: 6px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1.5px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-family: 'Inter', sans-serif;
	font-size: 1rem;
	color: var(--color-text);
	background: var(--color-white);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 .wpcf7-submit { width: 100%; margin-top: 8px; }
.wpcf7 .wpcf7-not-valid-tip { color: #c0392b; font-size: 0.8rem; }
.wpcf7-response-output {
	border-radius: var(--radius-sm);
	margin: 16px 0 0;
	font-size: 0.9rem;
}

/* -------------------------------------------------------------
   19. 404 / search
   ------------------------------------------------------------- */
.error-404 .btn { margin-top: var(--space-md); }
.search-results-list { list-style: none; padding: 0; }
.search-results-list li { margin-bottom: var(--space-md); padding-bottom: var(--space-md); border-bottom: 1px solid var(--color-border); }

/* =============================================================
   20. Responsive
   ============================================================= */
@media (max-width: 1200px) {
	.about-strip__inner { gap: var(--space-lg); }
}

@media (max-width: 992px) {
	.services-grid,
	.services-hub-grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.contact-layout { grid-template-columns: 1fr; gap: var(--space-lg); }
}

@media (max-width: 768px) {
	.primary-nav { display: none; }
	.nav-hamburger { display: flex; }
	/* Header always solid-ish on mobile for legibility before scroll */
	.about-strip__inner { grid-template-columns: 1fr; gap: var(--space-md); }
	.service-content__inner { grid-template-columns: 1fr; gap: var(--space-lg); }
	.service-content__inner .service-content__image { order: -1; }
	.service-content__image img,
	.image-placeholder { height: 260px; }
	.contact-form-card { padding: 28px; }
}

@media (max-width: 580px) {
	.services-grid,
	.services-hub-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
	.site-footer__grid { grid-template-columns: 1fr; }
	.home-hero__actions { flex-direction: column; }
	.btn { width: 100%; text-align: center; }
	.accreditations__logos { gap: 28px; }
}
