/* ---------- Design tokens ---------- */
:root {
	--ink: #0f2942;
	--ink-soft: #475569;
	--blue: #1d4ed8;
	--blue-dark: #1e3a8a;
	--blue-tint: #eff6ff;
	--surface: #ffffff;
	--surface-alt: #f8fafc;
	--border: #e2e8f0;
	--radius-lg: 16px;
	--radius-md: 10px;
	--shadow: 0 10px 30px -12px rgba(15, 41, 66, 0.18);
	--max: 1180px;
	--font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink-soft);
	background: var(--surface);
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { color: var(--ink); font-weight: 800; line-height: 1.25; margin: 0 0 16px; }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 20px; }

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--surface); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255,255,255,.92);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--border);
}
.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 76px;
}
.brand { display: block; height: 50px; }
.brand svg { height: 50px; width: auto; }

.primary-menu {
	list-style: none;
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
}
.primary-menu a {
	display: block;
	padding: 10px 14px;
	border-radius: 999px;
	color: var(--ink);
	font-weight: 600;
	font-size: 14.5px;
	white-space: nowrap;
}
.primary-menu a:hover { background: var(--blue-tint); color: var(--blue); }

.menu-toggle {
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 8px;
}
.menu-toggle span {
	display: block;
	width: 24px;
	height: 2.5px;
	background: var(--ink);
	margin: 5px 0;
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1120px) {
	.menu-toggle { display: block; }
	.primary-menu {
		position: absolute;
		top: 76px; left: 0; right: 0;
		flex-direction: column;
		background: var(--surface);
		border-bottom: 1px solid var(--border);
		padding: 8px 24px 16px;
		display: none;
		gap: 2px;
	}
	.primary-menu.is-open { display: flex; }
	.primary-menu a { padding: 12px 8px; border-radius: 8px; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--ink) 0%, var(--blue-dark) 55%, var(--blue) 100%);
	color: #fff;
	padding: 96px 0 110px;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 15% 20%, rgba(255,255,255,.08) 0, transparent 40%),
		radial-gradient(circle at 85% 80%, rgba(255,255,255,.10) 0, transparent 45%);
	pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #bfdbfe;
	background: rgba(255,255,255,.08);
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 20px;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p.lead { color: #dbeafe; font-size: 18px; max-width: 46ch; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { justify-self: center; width: 100%; max-width: 360px; }
.hero-art svg { width: 100%; height: auto; }

@media (max-width: 900px) {
	.hero .wrap { grid-template-columns: 1fr; text-align: left; }
	.hero-art { display: none; }
}

/* ---------- Page header (non-front pages) ---------- */
.page-header {
	background: var(--surface-alt);
	border-bottom: 1px solid var(--border);
	padding: 56px 0;
}
.page-header h1 { margin: 0; }

/* ---------- Content ---------- */
.content-area { padding: 64px 0; }
.content-area .wrap { max-width: 760px; }
.content-area.wide .wrap { max-width: var(--max); }

/* Turn plain <ul> service lists into a modern card grid, no content changes needed. */
.content-area ul {
	list-style: none;
	margin: 32px 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}
.content-area ul li {
	position: relative;
	background: var(--surface-alt);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 18px 20px 18px 52px;
	font-weight: 600;
	color: var(--ink);
	font-size: 15px;
}
.content-area ul li::before {
	content: "";
	position: absolute;
	left: 18px; top: 18px;
	width: 22px; height: 22px;
	border-radius: 7px;
	background: var(--blue);
	background-image: 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%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 13px;
}

/* ---------- Services (front page) ---------- */
.services { background: var(--surface-alt); padding: 72px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.services .section-head { max-width: 620px; margin: 0 auto 40px; text-align: center; }
.services .section-head p { margin: 0; }

/* ---------- Contact layout ---------- */
.contact-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 40px;
	align-items: start;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
	background: var(--ink);
	color: #cbd5e1;
	border-radius: var(--radius-lg);
	padding: 32px;
}
.contact-card h3 { color: #fff; }
.contact-card .row { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.contact-card .row svg { flex: none; margin-top: 3px; color: #93c5fd; }
.contact-card a { color: #fff; }

.contact-form-panel {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 32px;
	box-shadow: var(--shadow);
}

/* Contact Form 7 */
.wpcf7 form p { margin-bottom: 18px; }
.wpcf7 label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
	width: 100%;
	padding: 12px 14px;
	font-family: var(--font);
	font-size: 15px;
	border: 1.5px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--surface-alt);
	transition: border-color .15s ease, background .15s ease;
}
.wpcf7 input:focus, .wpcf7 textarea:focus {
	outline: none;
	border-color: var(--blue);
	background: #fff;
}
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7-submit {
	background: var(--blue);
	color: #fff;
	border: 0;
	padding: 13px 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
}
.wpcf7-submit:hover { background: var(--blue-dark); }
.wpcf7-not-valid-tip { color: #dc2626; font-size: 13px; margin-top: 4px; }
.wpcf7-response-output { margin-top: 18px; padding: 12px 16px; border-radius: var(--radius-md); border: 1px solid var(--border); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #94a3b8; padding: 48px 0 28px; margin-top: 0; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand svg { height: 42px; }
.footer-brand svg text:first-of-type { fill: #ffffff; }
.footer-brand svg text:last-of-type { fill: #93c5fd; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: #cbd5e1; font-size: 14px; font-weight: 500; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { padding-top: 20px; font-size: 13px; text-align: center; }
