/* Joker Construction — main stylesheet */

:root {
	--navy: #14232f;
	--navy-2: #1d3348;
	--accent: #f2971d;
	--accent-dark: #d47f0a;
	--ink: #1f2a33;
	--muted: #5c6b76;
	--bg: #ffffff;
	--bg-alt: #f5f3ef;
	--border: #e6e2da;
	--radius: 10px;
	--shadow: 0 10px 30px rgba(20, 35, 47, 0.08);
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-head: 'Poppins', var(--font-body);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: var(--navy);
	line-height: 1.2;
	margin: 0 0 0.6em;
	font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--muted); }
.container {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 1.5rem;
}
.icon { width: 24px; height: 24px; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 36px; height: 36px; color: var(--accent); }

.eyebrow {
	display: inline-block;
	color: var(--accent-dark);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.8rem;
	margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.4rem;
	border-radius: 999px;
	font-weight: 600;
	border: 2px solid transparent;
	cursor: pointer;
	white-space: nowrap;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
	font-size: 0.95rem;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-lg { padding: 0.95rem 1.8rem; font-size: 1rem; }

/* Top bar */
.top-bar { background: var(--navy); color: rgba(255,255,255,0.85); font-size: 0.85rem; }
.top-bar-inner { display: flex; justify-content: flex-end; gap: 1.75rem; padding: 0.5rem 1.5rem; }
.top-bar-item { display: flex; align-items: center; gap: 0.4rem; }
.top-bar-item .icon { width: 15px; height: 15px; color: var(--accent); }

/* Header */
.site-header {
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 50;
	box-shadow: 0 2px 12px rgba(20,35,47,0.06);
}
.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.9rem 1.5rem;
	gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--navy);
	color: var(--accent);
	flex-shrink: 0;
}
.brand-mark .icon { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.25rem; }
.brand-tagline { font-size: 0.72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

.nav-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.4rem;
	color: var(--navy);
}
.nav-toggle-close { display: none; }

.primary-nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-menu { display: flex; align-items: center; gap: 1.75rem; }
.nav-menu a {
	font-weight: 600;
	color: var(--navy);
	font-size: 0.95rem;
	padding: 0.4rem 0;
	border-bottom: 2px solid transparent;
}
.nav-menu a:hover,
.nav-menu li.current-menu-item a { border-color: var(--accent); }
.nav-cta { margin-left: 0.25rem; }

/* Hero */
.hero {
	background-size: cover;
	background-position: center;
	color: #fff;
	padding: 7rem 0 5rem;
}
.hero-inner { max-width: 760px; }
.hero h1 { color: #fff; }
.hero-sub { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }

/* Trust strip */
.trust-strip { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.trust-strip-inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	padding: 1.5rem;
}
.trust-item { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--navy); font-size: 0.92rem; }
.trust-item .icon { color: var(--accent); width: 20px; height: 20px; }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-sub { font-size: 1.05rem; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* Services grid */
.services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}
.services-grid-detailed { grid-template-columns: repeat(2, 1fr); }
.service-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.75rem;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-icon { margin-bottom: 0.75rem; }
.service-card h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.service-card p { margin: 0; font-size: 0.92rem; }

/* About preview */
.about-preview {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}
.about-preview-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Why grid */
.why-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	text-align: center;
}
.why-item {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 2rem 1.25rem;
}
.why-item .icon-lg { margin: 0 auto 0.75rem; }
.why-item h3 { margin-bottom: 0.4rem; }
.why-item p { margin: 0; font-size: 0.9rem; }

/* CTA band */
.cta-band { background-size: cover; background-position: center; color: #fff; padding: 4.5rem 0; text-align: center; }
.cta-band-inner h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band-inner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 1.5rem; }
.cta-band-inner .hero-actions { justify-content: center; }

/* Gallery */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}
.gallery-item {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item-btn { border: none; padding: 0; cursor: pointer; display: block; width: 100%; background: none; text-align: left; }
.gallery-item-btn:hover img { transform: scale(1.06); }
.gallery-caption {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 0.9rem 1rem 0.7rem;
	background: linear-gradient(0deg, rgba(15,23,32,0.85), transparent);
	color: #fff;
	font-weight: 600;
	font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
	position: fixed;
	inset: 0;
	background: rgba(10,15,20,0.92);
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox-figure { max-width: 900px; width: 100%; margin: 0; }
.lightbox-figure img { width: 100%; border-radius: 8px; }
.lightbox-figure figcaption { color: #fff; text-align: center; margin-top: 1rem; font-weight: 600; }
.lightbox-close {
	position: absolute;
	top: 1.5rem; right: 1.5rem;
	background: rgba(255,255,255,0.1);
	border: none;
	color: #fff;
	width: 44px; height: 44px;
	border-radius: 50%;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}

/* Feature strip (services page) */
.feature-strip { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
.feature-strip-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* "One Call Covers It All" illustration */
.call-illustration {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	background: linear-gradient(160deg, var(--navy), var(--navy-2));
	box-shadow: var(--shadow);
	overflow: hidden;
}
.call-core {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 92px; height: 92px;
	border-radius: 50%;
	background: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 14px rgba(242,151,29,0.16), 0 0 0 28px rgba(242,151,29,0.08);
	z-index: 2;
}
.call-core .icon { width: 40px; height: 40px; color: #fff; }
.call-orbit { position: absolute; inset: 0; z-index: 1; }
.call-node {
	position: absolute;
	width: 56px; height: 56px;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.call-node .icon { width: 26px; height: 26px; color: var(--navy); }
.call-node-1 { top: 14%; left: 18%; }
.call-node-2 { top: 16%; right: 16%; }
.call-node-3 { bottom: 14%; left: 20%; }
.call-node-4 { bottom: 16%; right: 18%; }

/* Page banner */
.page-banner { background: var(--navy); color: #fff; padding: 4rem 0 3.5rem; text-align: center; }
.page-banner h1 { color: #fff; margin-bottom: 0.5rem; }
.page-banner .eyebrow { color: var(--accent); }
.page-banner .section-sub { color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto; }

.content-narrow { max-width: 760px; margin: 0 auto; }
.content-narrow h2 { margin-top: 1.5em; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-row { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-split > div { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.req { color: var(--accent-dark); }
.form-row input,
.form-row select,
.form-row textarea {
	font-family: inherit;
	font-size: 1rem;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--bg-alt);
	color: var(--ink);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
	outline: none;
	border-color: var(--accent);
	background: #fff;
}
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { display: flex; align-items: center; gap: 0.6rem; padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 1.5rem; }
.form-notice p { margin: 0; }
.form-notice-success { background: #e8f6ec; color: #1c6b34; }
.form-notice-success .icon { color: #1c6b34; }
.form-notice-error { background: #fbe9e7; color: #a3311c; }

.contact-info-card {
	background: var(--bg-alt);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.75rem;
}
.contact-info-card h3 { margin-bottom: 1rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 0.9rem; font-size: 0.95rem; }
.footer-contact li a { display: flex; align-items: flex-start; gap: 0.7rem; }
.footer-contact .icon { color: var(--accent); margin-top: 2px; }
.service-area-note { font-size: 0.88rem; margin-top: 1rem; }
.map-embed { margin-top: 1rem; border-radius: 8px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-menu li { margin-bottom: 0.6rem; }
.footer-menu a:hover { color: var(--accent); }
.brand-footer .brand-name { color: #fff; }
.brand-footer { margin-bottom: 1rem; }
.footer-about p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); }
.footer-bottom-inner { display: flex; justify-content: space-between; padding: 1.25rem 1.5rem; font-size: 0.85rem; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom-inner p { margin: 0; color: rgba(255,255,255,0.6); }
.footer-bottom-inner a:hover { color: var(--accent); }

/* Call FAB (mobile) */
.call-fab {
	display: none;
	position: fixed;
	bottom: 1.25rem;
	right: 1.25rem;
	width: 56px;
	height: 56px;
	background: var(--accent);
	color: #fff;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px rgba(0,0,0,0.25);
	z-index: 60;
}

/* Responsive */
@media (max-width: 900px) {
	.top-bar-inner { justify-content: center; gap: 1.25rem; flex-wrap: wrap; }
	.nav-toggle { display: block; }
	.primary-nav {
		position: fixed;
		top: 0; right: 0;
		height: 100vh;
		width: min(320px, 85vw);
		background: #fff;
		flex-direction: column;
		align-items: flex-start;
		padding: 5.5rem 2rem 2rem;
		box-shadow: -10px 0 30px rgba(0,0,0,0.15);
		transform: translateX(100%);
		transition: transform 0.25s ease;
	}
	.primary-nav.is-open { transform: translateX(0); }
	.nav-menu { flex-direction: column; align-items: flex-start; gap: 1.25rem; width: 100%; }
	.nav-cta { width: 100%; justify-content: center; margin-top: 1rem; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

	.services-grid,
	.services-grid-detailed { grid-template-columns: repeat(2, 1fr); }
	.why-grid { grid-template-columns: repeat(2, 1fr); }
	.about-preview,
	.feature-strip,
	.contact-grid { grid-template-columns: 1fr; }
	.about-preview-media,
	.feature-strip-media { order: -1; }
	.trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
	.call-fab { display: flex; }
}

@media (max-width: 640px) {
	.services-grid,
	.services-grid-detailed,
	.why-grid,
	.gallery-grid { grid-template-columns: 1fr 1fr; }
	.form-row-split { grid-template-columns: 1fr; }
	.hero { padding: 5rem 0 3.5rem; }
	.section { padding: 3.5rem 0; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
	.services-grid,
	.services-grid-detailed,
	.why-grid,
	.gallery-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
}
