/*
Theme Name: Valserve
Theme URI: https://www.valserve-group.co.uk
Author: Welch Marketing Ltd
Author URI: https://www.welchmarketing.co.uk
Description: A premium, plugin free WordPress theme for Valserve Ltd, MEP validation and HVAC commissioning specialists. Self building pages, local SEO, schema, settings panel and contact form built in.
Version: 2.4.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: valserve
*/

/* ============================================================
   Tokens and reset
   ============================================================ */
:root {
	--brand: #354860;
	--brand-dark: #2E3E53;
	--accent: #BFA45E;
	--accent-dark: #99834B;
	--ink: #131820;
	--light: #F4F7FA;
	--paper: #FFFFFF;
	--muted: #5A6675;
	--line: #E4EAF1;
	--cream: #F7F9FC;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 2px 8px rgba(12, 39, 64, 0.06);
	--shadow: 0 18px 44px rgba(12, 39, 64, 0.12);
	--shadow-lg: 0 30px 70px rgba(12, 39, 64, 0.18);
	--maxw: 1200px;
	--head: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--body);
	color: var(--ink);
	background: var(--paper);
	line-height: 1.65;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; cursor: pointer; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; color: var(--brand); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section--light { background: var(--light); }
.section--cream { background: var(--cream); }
.section--brand { background: var(--brand); color: #fff; }
.section--brand h2, .section--brand h3 { color: #fff; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--head); font-weight: 600; font-size: 0.78rem;
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dark);
	margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.section--brand .eyebrow { color: var(--accent); }
.section--brand .eyebrow::before { background: var(--accent); }

.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.section--brand .lead { color: rgba(255,255,255,0.82); }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--head); font-weight: 600; font-size: 1rem;
	padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
	cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: var(--brand); box-shadow: 0 12px 26px rgba(191, 164, 94, 0.32); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn--dark { background: var(--brand); color: #fff; }
.btn--dark:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--line); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent-dark); }

/* ============================================================
   Header and navigation
   ============================================================ */
.topbar {
	background: var(--brand-dark); color: rgba(255,255,255,0.85);
	font-size: 0.86rem;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,0.85); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; color: var(--accent); }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-social { display: flex; gap: 12px; align-items: center; }
.topbar-social a svg { width: 17px; height: 17px; }

.site-header {
	position: sticky; top: 0; z-index: 60;
	background: var(--brand);
	border-bottom: 1px solid rgba(255,255,255,0.12);
	box-shadow: 0 6px 24px -14px rgba(12,39,64,0.65);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.site-logo { display: inline-flex; align-items: center; }
.site-logo .valserve-logo { height: 56px; width: auto; }
.site-logo-img { max-height: 68px; width: auto; }

.nav-toggle-input { display: none; }
.nav-toggle { display: none; }
.nav-close-label { display: none; }

.primary-nav .nav-list, .nav-list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav-list li a {
	font-family: var(--head); font-weight: 600; font-size: 0.97rem; color: rgba(255,255,255,0.9);
	padding: 10px 14px; border-radius: 8px; display: inline-block;
}
.nav-list li a:hover, .nav-list li.current-menu-item > a { color: #fff; background: rgba(255,255,255,0.14); }
.nav-list .sub-menu { display: none; }

.header-cta { display: inline-flex; align-items: center; gap: 12px; }
.header-phone { font-family: var(--head); font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.header-phone svg { width: 18px; height: 18px; color: var(--accent); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; background: var(--brand); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .ph { display: none; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background:
		radial-gradient(1100px 500px at 78% -10%, rgba(191,164,94,0.16), transparent 60%),
		linear-gradient(90deg, rgba(16,24,36,0.93) 0%, rgba(16,24,36,0.8) 46%, rgba(16,24,36,0.52) 100%),
		linear-gradient(180deg, rgba(16,24,36,0.28), rgba(16,24,36,0.6));
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { position: relative; display: block; padding: 112px 0 116px; }
.hero-copy { max-width: 660px; }
.hero-kicker {
	display: inline-block; text-align: center; font-family: var(--head); font-weight: 600;
	font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
	background: rgba(191,164,94,0.12); border: 1px solid rgba(191,164,94,0.28);
	padding: 8px 16px; border-radius: 999px; margin-bottom: 24px;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero-sub { font-size: 1.16rem; color: rgba(255,255,255,0.85); max-width: 52ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 42px; flex-wrap: wrap; }
.hero-stat strong { font-family: var(--head); font-size: 1.9rem; color: #fff; display: block; line-height: 1; }
.hero-stat span { font-size: 0.86rem; color: rgba(255,255,255,0.7); }



/* Placeholder styling */
.ph {
	background:
		linear-gradient(135deg, rgba(191,164,94,0.16), rgba(12,39,64,0.28)),
		repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 14px, rgba(255,255,255,0.02) 14px 28px);
	background-color: #14344f;
	display: flex; align-items: center; justify-content: center;
	color: rgba(255,255,255,0.55); font-family: var(--head); font-size: 0.8rem;
	letter-spacing: 0.08em; text-transform: uppercase; text-align: center; padding: 16px;
}
.ph--light {
	background:
		linear-gradient(135deg, rgba(191,164,94,0.1), rgba(12,39,64,0.08)),
		repeating-linear-gradient(45deg, rgba(12,39,64,0.03) 0 14px, rgba(12,39,64,0.01) 14px 28px);
	background-color: #eaf0f6; color: var(--muted);
}
.valserve-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   Trust strip
   ============================================================ */
.trust-strip { background: var(--brand-dark); }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 22px; }
.trust-item { display: flex; align-items: flex-start; gap: 12px; color: rgba(255,255,255,0.9); font-size: 0.95rem; line-height: 1.4; }
.trust-item svg { width: 22px; height: 22px; color: var(--accent); flex: 0 0 auto; margin-top: 1px; }

/* ============================================================
   Section header
   ============================================================ */
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ============================================================
   Services grid
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 30px 26px; box-shadow: var(--shadow-sm);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	display: flex; flex-direction: column; overflow: hidden;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(191,164,94,0.4); }
.svc-ico {
	width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, rgba(191,164,94,0.14), rgba(191,164,94,0.06));
	color: var(--accent-dark); margin-bottom: 18px;
}
.svc-ico svg { width: 27px; height: 27px; }
.svc-media { position: relative; margin: -30px -26px 22px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--light); }
.svc-card h3 { margin-bottom: 10px; }
.svc-card h3 a { color: var(--brand); }
.svc-card h3 a:hover { color: var(--accent-dark); }
.svc-card p { color: var(--muted); font-size: 0.98rem; margin-bottom: 18px; }
.svc-more { margin-top: auto; font-family: var(--head); font-weight: 600; color: var(--accent-dark); display: inline-flex; align-items: center; gap: 8px; }
.svc-more svg { width: 17px; height: 17px; transition: transform 0.15s ease; }
.svc-card:hover .svc-more svg { transform: translateX(4px); }

/* ============================================================
   Stats band
   ============================================================ */
.stats-band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat { text-align: center; padding: 10px; }
.stat strong { font-family: var(--head); font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; line-height: 1; display: block; }
.stat span { color: rgba(255,255,255,0.75); font-size: 0.95rem; display: block; margin-top: 8px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,0.12); }

/* ============================================================
   About split
   ============================================================ */
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 54px; align-items: center; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.split-media .ph { position: absolute; inset: 0; }
.about-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; }
.about-points svg { width: 22px; height: 22px; color: var(--accent); flex: 0 0 auto; margin-top: 2px; }
.about-points strong { font-family: var(--head); color: var(--brand); display: block; }
.about-points span { color: var(--muted); font-size: 0.96rem; }

/* Why choose grid */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.why-card .svc-ico { margin-bottom: 16px; }
.why-card h3 { font-size: 1.14rem; }
.why-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }

/* ============================================================
   Accreditations
   ============================================================ */
.accr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.accr-item {
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
	padding: 20px 22px; text-align: center;
}
.accr-item strong { font-family: var(--head); color: var(--brand); display: block; font-size: 1.02rem; }
.accr-item span { color: var(--muted); font-size: 0.85rem; }

/* ============================================================
   Projects
   ============================================================ */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proj-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-sm); }
.proj-media { aspect-ratio: 3 / 2; position: relative; }
.proj-media .ph { position: absolute; inset: 0; }
.proj-body { padding: 20px 22px; }
.proj-body h3 { font-size: 1.14rem; margin-bottom: 4px; }
.proj-loc { color: var(--accent-dark); font-family: var(--head); font-weight: 600; font-size: 0.86rem; display: inline-flex; align-items: center; gap: 6px; }
.proj-loc svg { width: 15px; height: 15px; }
.proj-scope { color: var(--muted); font-size: 0.94rem; margin: 8px 0 0; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; background: var(--brand); color: #fff; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 320px at 85% 20%, rgba(191,164,94,0.34), transparent 60%); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 60px 0; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,0.82); margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   Page hero (inner pages)
   ============================================================ */
.page-hero { position: relative; background: var(--brand); color: #fff; overflow: hidden; padding: 66px 0 58px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 380px at 82% -20%, rgba(191,164,94,0.3), transparent 60%), linear-gradient(180deg, var(--brand), var(--brand-dark)); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 60ch; margin: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 18px; }
.crumbs a { color: rgba(255,255,255,0.85); }
.crumbs a:hover { color: #fff; }
.crumbs span { color: rgba(255,255,255,0.45); }

/* ============================================================
   Content / prose
   ============================================================ */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; color: var(--brand); }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.4em; }
.prose ul li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--ink); }
.prose ul li::before {
	content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
	background: var(--accent); border-radius: 50%;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.sidebar-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); position: sticky; top: 100px; }
.sidebar-card h3 { font-size: 1.2rem; }
.sidebar-list { list-style: none; margin: 0 0 18px; padding: 0; }
.sidebar-list li a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--brand); font-family: var(--head); font-weight: 500; font-size: 0.95rem; }
.sidebar-list li a:hover { color: var(--accent-dark); }
.sidebar-list li a svg { width: 16px; height: 16px; color: var(--accent); }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; }
.contact-card .ic { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, rgba(191,164,94,0.14), rgba(191,164,94,0.06)); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card > div:not(.ic) { min-width: 0; }
.contact-card strong { font-family: var(--head); color: var(--brand); display: block; }
.contact-card a, .contact-card span { color: var(--muted); overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--accent-dark); }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field label { display: block; font-family: var(--head); font-weight: 600; font-size: 0.9rem; color: var(--brand); margin-bottom: 7px; }
.field input, .field textarea {
	width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
	font-family: var(--body); font-size: 1rem; color: var(--ink); background: var(--cream); cursor: text;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(191,164,94,0.15); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }
.form-note { font-size: 0.86rem; color: var(--muted); margin-top: 10px; }
.form-alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-family: var(--head); font-weight: 500; }
.form-alert--ok { background: #e7f7ec; color: #1c7a3e; border: 1px solid #b6e4c6; }
.form-alert--err { background: #fdecec; color: #b4322c; border: 1px solid #f4c5c2; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; background: var(--paper); overflow: hidden; }
.faq-item summary { cursor: pointer; font-family: var(--head); font-weight: 600; color: var(--brand); padding: 18px 22px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--muted); }

/* ============================================================
   Blog
   ============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.post-card h2 { font-size: 1.35rem; margin-bottom: 8px; }
.post-card h2 a { color: var(--brand); }
.post-card h2 a:hover { color: var(--accent-dark); }
.post-meta { font-size: 0.84rem; color: var(--muted); margin-bottom: 12px; }
.post-card p { color: var(--muted); font-size: 0.98rem; }
.post-card .svc-more { margin-top: auto; }
.single-post { max-width: 760px; margin: 0 auto; }
.single-post .entry-content { font-size: 1.06rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--brand); color: rgba(255,255,255,0.72); padding-top: 66px; border-top: 1px solid rgba(255,255,255,0.09); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.3fr 1.3fr; gap: 40px; padding-bottom: 46px; }
.footer-brand .valserve-logo { height: 56px; width: auto; display: block; margin: 0 0 18px; }
.footer-brand .site-logo-img { max-height: 68px; width: auto; display: block; margin: 0 0 16px -6px; }
.footer-brand p { font-size: 0.95rem; max-width: 34ch; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.8); }
.footer-social a:hover { border-color: var(--accent); color: #fff; background: rgba(191,164,94,0.18); }
.footer-social a svg { width: 19px; height: 19px; }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.72); font-size: 0.95rem; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: 0.95rem; }
.footer-contact-line span, .footer-contact-line a { min-width: 0; overflow-wrap: anywhere; }
.footer-contact-line svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; margin-top: 3px; }
.footer-contact-line a { color: rgba(255,255,255,0.82); }
.footer-contact-line a:hover { color: #fff; }
.footer-person { margin: 16px 0; }
.footer-person-name { display: block; font-family: var(--head); font-weight: 700; color: #fff; font-size: 0.98rem; margin-bottom: 10px; }
.footer-person .footer-contact-line { margin-bottom: 9px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-legal-wrap { display: inline-flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; }
.footer-legal { list-style: none; margin: 0; padding: 0; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.footer-legal li { margin: 0; }
.footer-legal a { color: rgba(255,255,255,0.6); }
.footer-legal a:hover { color: #fff; }

/* ============================================================
   404 and search
   ============================================================ */
.mini-hero { text-align: center; padding: 90px 0; }
.mini-hero .btn { margin-top: 14px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
	.hero-grid { padding: 84px 0 88px; }
	.hero-copy { max-width: 100%; }
	.hero::before {
		background:
			radial-gradient(900px 420px at 80% -10%, rgba(191,164,94,0.16), transparent 60%),
			linear-gradient(180deg, rgba(16,24,36,0.86) 0%, rgba(16,24,36,0.93) 100%);
	}
	.svc-grid, .proj-grid { grid-template-columns: repeat(2, 1fr); }
	.why-grid, .accr-grid { grid-template-columns: repeat(2, 1fr); }
	.layout { grid-template-columns: 1fr; }
	.sidebar-card { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.trust-strip .wrap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	/* Hide the top contact bar on mobile to keep the header compact. */
	.topbar { display: none; }
	/* Turn off backdrop-filter so the fixed mobile menu can cover the screen. */
	.site-header { backdrop-filter: none; }

	.header-cta .header-phone { display: none; }
	.header-cta .btn { display: none; }

	.nav-toggle {
		display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
		width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line);
		background: var(--paper); cursor: pointer; padding: 0 11px;
	}
	.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
		content: ""; display: block; height: 2.5px; width: 100%; background: var(--brand); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease;
	}
	.nav-toggle span { position: relative; }
	.nav-toggle span::before { position: absolute; top: -7px; }
	.nav-toggle span::after { position: absolute; top: 7px; }

	.primary-nav {
		display: none;
		position: fixed; inset: 0; z-index: 80;
		background: var(--brand-dark);
		padding: 92px 34px 40px;
		overflow-y: auto;
	}
	#nav-toggle:checked ~ .primary-nav { display: block; }
	#nav-toggle:checked ~ .nav-toggle span { background: transparent; }
	#nav-toggle:checked ~ .nav-toggle span::before { transform: translateY(7px) rotate(45deg); background: var(--brand); }
	#nav-toggle:checked ~ .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); background: var(--brand); }

	.primary-nav .nav-list, .primary-nav .nav-list.nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
	.primary-nav .nav-list li a { color: #fff; font-size: 1.18rem; padding: 15px 18px; border-bottom: 1px solid rgba(255,255,255,0.1); border-radius: 0; background: transparent; }
	.primary-nav .nav-list li a:hover, .primary-nav .nav-list li.current-menu-item > a { color: var(--accent); background: transparent; }
	.primary-nav .sub-menu { display: block; background: transparent; padding-left: 14px; }
	.primary-nav .sub-menu li a { font-size: 1rem; color: rgba(255,255,255,0.75); }

	.nav-close-label {
		position: fixed; top: 22px; right: 22px; z-index: 90;
		width: 46px; height: 46px; display: none; align-items: center; justify-content: center;
		color: #fff; font-size: 1.8rem; cursor: pointer;
	}
	#nav-toggle:checked ~ .nav-close-label { display: flex; }

	.split { grid-template-columns: 1fr; gap: 34px; }
	.stats-band .wrap { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
	.stat + .stat { border-left: none; }
	.contact-grid { grid-template-columns: 1fr; gap: 30px; }
	.post-grid { grid-template-columns: 1fr; }
	.cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
	.field-row { grid-template-columns: 1fr; }
	body { font-size: 16px; }
	.site-logo-img { max-height: 54px; }
	.site-logo .valserve-logo { height: 46px; }
	.section { padding: 60px 0; }
	.svc-grid, .proj-grid, .why-grid, .accr-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.trust-strip .wrap { grid-template-columns: 1fr; }
	.hero-stats { gap: 22px; }
	.topbar-left { gap: 14px; font-size: 0.8rem; }
	.hero-grid { padding: 62px 0 66px; }
	.hero-kicker { font-size: 0.68rem; letter-spacing: 0.07em; padding: 7px 14px; margin-bottom: 20px; }
}

/* ============================================================
   Cookie consent banner
   ============================================================ */
/* -------------------------------------------------------------------------
 * Cookie consent banner
 * ---------------------------------------------------------------------- */
.valserve-cookie{position:fixed;left:0;right:0;bottom:0;z-index:900;background:var(--brand);color:#e7eef2;box-shadow:0 -8px 30px rgba(0,0,0,.22)}
.valserve-cookie[hidden]{display:none}
.valserve-cookie__inner{max-width:var(--maxw);margin:0 auto;padding:clamp(1.1rem,3vw,1.6rem) clamp(1.35rem,4vw,2rem);display:flex;align-items:center;gap:clamp(1rem,3vw,2.5rem);flex-wrap:wrap}
.valserve-cookie__text{flex:1 1 340px}
.valserve-cookie__title{font-family:var(--head);font-weight:700;font-size:1.05rem;color:#fff;margin:0 0 .35rem}
.valserve-cookie__body{margin:0;font-size:.92rem;line-height:1.6;color:#c4d0d8}
.valserve-cookie__body a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.valserve-cookie__actions{display:flex;gap:.75rem;flex:0 0 auto}
.valserve-cookie__btn{font-family:var(--head);font-weight:700;font-size:.95rem;line-height:1;padding:.85rem 1.6rem;border-radius:999px;border:2px solid transparent;cursor:pointer;transition:transform 0.18s ease,background 0.18s ease,color 0.18s ease,border-color 0.18s ease}
.valserve-cookie__btn:hover{transform:translateY(-2px)}
.valserve-cookie__btn--accept{background:var(--accent);color:var(--brand)}
.valserve-cookie__btn--accept:hover{background:var(--accent-dark)}
.valserve-cookie__btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.34)}
.valserve-cookie__btn--ghost:hover{background:#fff;color:var(--brand);border-color:#fff}
.valserve-cookie-open{background:none;border:0;padding:0;margin:0;font:inherit;color:rgba(255,255,255,0.6);cursor:pointer;text-decoration:none}
.valserve-cookie-open:hover{color:#fff;text-decoration:underline}
@media (max-width:640px){
	.valserve-cookie__actions{flex:1 1 100%}
	.valserve-cookie__btn{flex:1 1 auto;text-align:center}
}
