/* ==========================================================================
   Protekt Africa — main styles
   Brand: navy #010088 · red #FC3339 · ink #101331 · yellow accent #FFF114
   ========================================================================== */

:root {
	--brand: #010088;
	--brand-2: #2323b4;
	--brand-deep: #00005a;
	--red: #fc3339;
	--red-dark: #d92228;
	--yellow: #fff114;
	--ink: #101331;
	--muted: #4d5573;
	--line: #e4e7f2;
	--bg: #ffffff;
	--bg-soft: #f5f6fb;
	--radius: 14px;
	--shadow: 0 18px 40px -18px rgba(1, 0, 64, 0.22);
	--font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
	--font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--container: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
	.reveal { opacity: 1 !important; transform: none !important; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--red); }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-stretch: 112%;
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.015em;
	color: var(--brand-deep);
	text-wrap: balance;
}

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-soft { background: var(--bg-soft); }

.eyebrow {
	font-family: var(--font-display);
	font-stretch: 110%;
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--red);
	margin: 0 0 0.75rem;
}

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 0.75rem; }
.section-head p { color: var(--muted); margin: 0; }

/* Buttons ---------------------------------------------------------------- */

.btn {
	display: inline-block;
	font-family: var(--font-display);
	font-stretch: 110%;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	padding: 0.85rem 1.6rem;
	border-radius: 8px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(252, 51, 57, 0.55); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }

.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }

.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost:hover { background: #fff; color: var(--brand-deep); }

.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }

.btn-invert { background: #fff; color: var(--brand-deep); }
.btn-invert:hover { background: var(--yellow); color: var(--brand-deep); }

.btn-outline-invert { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-outline-invert:hover { background: #fff; color: var(--brand-deep); }

/* Header ----------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 78px;
}

.site-branding { display: flex; align-items: center; }
.site-logo { width: clamp(120px, 16vw, 165px); height: auto; display: block; }
.custom-logo { max-height: 58px; width: auto; }

.main-navigation { margin-left: auto; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.35rem; }
.main-navigation li { position: relative; }
.main-navigation a {
	display: block;
	padding: 0.55rem 0.9rem;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--ink);
	border-radius: 8px;
}
.main-navigation a:hover { color: var(--brand); background: var(--bg-soft); }
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a { color: var(--brand); background: var(--bg-soft); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.menu-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 0.5rem;
	cursor: pointer;
}
.menu-toggle-box { display: block; width: 24px; height: 18px; position: relative; }
.menu-toggle-bar {
	position: absolute; left: 0; right: 0; height: 2.5px; border-radius: 2px;
	background: var(--brand-deep); transition: transform 0.2s ease, top 0.2s ease;
}
.menu-toggle-bar:nth-child(1) { top: 3px; }
.menu-toggle-bar:nth-child(2) { top: 12px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) { top: 7.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) { top: 7.5px; transform: rotate(-45deg); }

/* Hero ------------------------------------------------------------------- */

.hero {
	position: relative;
	background:
		radial-gradient(1100px 520px at 85% -10%, rgba(35, 35, 180, 0.55), transparent 60%),
		radial-gradient(700px 420px at -10% 110%, rgba(1, 0, 90, 0.8), transparent 65%),
		var(--brand-deep);
	color: #fff;
	overflow: hidden;
}

.hero-bg {
	position: absolute; inset: 0;
	background-size: cover;
	background-position: center 30%;
	opacity: 0.32;
	filter: saturate(0.65) contrast(1.05);
	pointer-events: none;
}

.hero-lines {
	position: absolute; inset: 0; pointer-events: none;
	background:
		repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 90px);
}
.hero-lines::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 40, 0.5));
}

.hero-inner { position: relative; padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3rem, 7vw, 5rem); max-width: 52rem; }

.hero .eyebrow { color: var(--yellow); }

.hero-title {
	color: #fff;
	font-size: clamp(2.6rem, 7vw, 4.9rem);
	margin: 0 0 1.25rem;
}
.hero-title::after {
	content: "";
	display: block;
	width: 84px; height: 6px; margin-top: 1.4rem;
	background: linear-gradient(90deg, var(--red), var(--yellow));
	border-radius: 3px;
}

.hero-sub { font-size: clamp(1.1rem, 2vw, 1.3rem); color: #c9cdea; max-width: 38rem; margin: 0 0 2.25rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }

.hero-stats {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--radius);
	overflow: hidden;
}
.hero-stats li { background: rgba(1, 0, 74, 0.55); padding: 1.2rem 1.3rem; }
.hero-stats strong {
	display: block;
	font-family: var(--font-display); font-stretch: 115%; font-weight: 850;
	font-size: clamp(1.5rem, 3vw, 2.2rem); color: #fff; line-height: 1;
}
.hero-stats span { display: block; margin-top: 0.4rem; font-size: 0.82rem; color: #b9c0e2; }

/* Services grid ---------------------------------------------------------- */

.services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.service-card {
	position: relative;
	border: 1px solid var(--line);
	border-top: 4px solid var(--brand);
	border-radius: var(--radius);
	background: #fff;
	overflow: hidden;
	padding: 0 0 1.5rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-thumb {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--bg-soft);
}
.service-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.service-card:hover .service-thumb img { transform: scale(1.05); }

.service-card .service-icon {
	margin: 1.6rem 1.5rem 1rem;
}
.service-card:has(.service-thumb) .service-icon {
	margin: -26px 1.5rem 1rem;
	position: relative;
	box-shadow: 0 8px 20px -8px rgba(1, 0, 90, 0.35);
}
.service-card h3 { padding: 0 1.5rem; }
.service-card p { padding: 0 1.5rem; }
.service-card .service-more { margin-left: 1.5rem; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-top-color: var(--red); }

.service-icon {
	width: 52px; height: 52px;
	display: grid; place-items: center;
	border-radius: 12px;
	background: color-mix(in srgb, var(--brand) 10%, white);
	color: var(--brand);
	margin-bottom: 1.1rem;
}
.service-icon .icon { width: 27px; height: 27px; }
.service-card:hover .service-icon { background: var(--brand); color: #fff; }

.service-card h3 { font-size: 1.13rem; margin: 0 0 0.55rem; }
.service-card h3 a { color: inherit; }
.service-card p { font-size: 0.93rem; color: var(--muted); margin: 0 0 1rem; }

.service-more { font-weight: 700; font-size: 0.88rem; color: var(--red); }
.service-more:hover { color: var(--brand); }

.services-empty { grid-column: 1 / -1; color: var(--muted); }

/* PPP band --------------------------------------------------------------- */

.section-ppp {
	background: var(--brand);
	color: #fff;
}
.ppp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.ppp-item h3 {
	color: #fff;
	font-size: clamp(1.5rem, 3vw, 2rem);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0.9rem 0 0.7rem;
}
.ppp-item p { color: #c9cdea; margin: 0; }
.ppp-num {
	font-family: var(--font-display); font-stretch: 115%; font-weight: 850;
	display: inline-grid; place-items: center;
	width: 44px; height: 44px; border-radius: 10px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: var(--yellow);
}
.section-ppp .ppp-item:nth-child(2) .ppp-num { color: var(--red); background: #fff; border-color: #fff; }

/* Guard quote band (photo background) ------------------------------------ */

.guard-band {
	position: relative;
	background:
		linear-gradient(100deg, rgba(1, 0, 74, 0.88) 15%, rgba(1, 0, 100, 0.55)),
		url("../img/guard-band.jpg") center 30% / cover no-repeat,
		var(--brand-deep);
	color: #fff;
}

.guard-band-inner { padding: clamp(3.5rem, 9vw, 6.5rem) 0; max-width: 52rem; }
.guard-quote {
	font-family: var(--font-display);
	font-stretch: 112%;
	font-weight: 800;
	font-size: clamp(1.5rem, 4vw, 2.6rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-wrap: balance;
	margin: 0 0 0.9rem;
}
.guard-quote::before {
	content: "";
	display: block;
	width: 64px; height: 5px; margin-bottom: 1.3rem;
	background: linear-gradient(90deg, var(--red), var(--yellow));
	border-radius: 3px;
}
.guard-sub { color: #c9cdea; font-size: 1.1rem; margin: 0; }

/* Why choose us ---------------------------------------------------------- */

.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.why-copy h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 1rem; }
.why-copy p { color: var(--muted); margin: 0 0 1.75rem; }

.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li {
	display: flex; align-items: center; gap: 1rem;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--line);
	border-left: 4px solid var(--red);
	border-radius: 12px;
	background: #fff;
	font-weight: 600;
	& + & { margin-top: 0.9rem; }
}
.why-list .icon { width: 24px; height: 24px; flex: none; color: var(--brand); }

/* Sectors ---------------------------------------------------------------- */

.section-sectors { background: var(--bg-soft); }

.sector-chips {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: 0.7rem;
}
.sector-chips li {
	padding: 0.55rem 1.1rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-weight: 600; font-size: 0.92rem; color: var(--ink);
	transition: border-color 0.15s ease, color 0.15s ease;
}
.sector-chips li:hover { border-color: var(--red); color: var(--red); }

/* CTA band --------------------------------------------------------------- */

.cta-band { background: linear-gradient(100deg, var(--red-dark), var(--red)); color: #fff; }
.cta-inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 1.5rem; padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 0.5rem; }
.cta-inner p { color: rgba(255, 255, 255, 0.88); margin: 0; max-width: 34rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Page hero & generic content --------------------------------------------- */

.page-hero {
	background:
		radial-gradient(800px 400px at 90% -20%, rgba(35, 35, 180, 0.4), transparent 60%),
		var(--brand-deep);
	color: #fff;
	padding: clamp(3rem, 7vw, 5rem) 0;
}
.page-hero .eyebrow { color: var(--yellow); }
.page-title { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0; }
.page-hero-intro { color: #c9cdea; max-width: 42rem; margin: 1rem 0 0; }
.page-hero-intro p { margin: 0; }

.service-hero-img { max-width: 100%; overflow: hidden; }
.service-hero-img img {
	display: block; width: 100%; max-height: 430px; object-fit: cover;
	mask-image: linear-gradient(180deg, #000 78%, transparent);
	-webkit-mask-image: linear-gradient(180deg, #000 78%, transparent);
}

figure.about-photo {
	margin: 2.2rem 0;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	border: 1px solid var(--line);
}
figure.about-photo img { display: block; width: 100%; height: auto; }

.page-content { padding: clamp(3rem, 7vw, 4.5rem) 0; max-width: 820px; }
.page-content h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); margin: 2.5rem 0 0.9rem; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { font-size: 1.25rem; margin: 1.8rem 0 0.6rem; }
.page-content p { color: var(--ink); }
.page-content ul, .page-content ol { padding-left: 1.2rem; }
.page-content li { margin: 0.35rem 0; }
.page-content address { font-style: normal; }

/* Services page ---------------------------------------------------------- */

.section-services-list { padding-top: clamp(2.5rem, 6vw, 4rem); }

.service-detail {
	display: grid;
	grid-template-columns: clamp(200px, 24vw, 300px) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
	padding: clamp(2rem, 5vw, 3rem) 0;
	border-top: 1px solid var(--line);
}
/* Flipped rows: media right, body left. Swap tracks explicitly — using
   `order` would give the text column the narrow track. */
.service-detail.flip { grid-template-columns: minmax(0, 1fr) clamp(200px, 24vw, 300px); }
.service-detail.flip .service-detail-icon { grid-column: 2; grid-row: 1; }
.service-detail.flip .service-detail-body { grid-column: 1; grid-row: 1; }
.service-detail-icon { position: relative; }
.service-detail-icon .icon {
	width: 72px; height: 72px; padding: 15px;
	border-radius: 16px;
	background: color-mix(in srgb, var(--brand) 9%, white);
	color: var(--brand);
	border: 1px solid color-mix(in srgb, var(--brand) 16%, white);
}
.service-detail-thumb {
	margin-top: 1.1rem;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
}
.service-detail-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.service-detail-num {
	position: absolute; top: -12px; right: 6px;
	font-family: var(--font-display); font-stretch: 115%; font-weight: 850;
	font-size: 0.95rem; color: var(--red);
}
.service-detail-body { min-width: 0; }
.service-detail-body h2 { margin: 0 0 0.9rem; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.service-detail-body > p { color: var(--muted); max-width: 40rem; }
.service-detail-body h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand); margin: 1.8rem 0 0.4rem; }
.service-detail-body ul { list-style: none; margin: 0.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.service-detail-body ul li {
	padding: 0.4rem 0.9rem; border: 1px solid var(--line); border-radius: 999px;
	font-size: 0.88rem; font-weight: 600; color: var(--ink); background: #fff;
}

/* Contact ---------------------------------------------------------------- */

.contact-grid {
	display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 4rem);
	padding: clamp(3rem, 7vw, 4.5rem) 0;
	align-items: start;
}

.contact-card {
	border: 1px solid var(--line); border-radius: var(--radius);
	padding: 1.5rem 1.6rem; margin-bottom: 1rem; background: #fff;
}
.contact-card h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 0.6rem; color: var(--brand); }
.contact-card p { margin: 0; }
.contact-card address { font-style: normal; line-height: 1.7; }

.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.contact-map iframe { display: block; width: 100%; height: 300px; border: 0; }

.contact-form-wrap > h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 0.5rem; }
.contact-form-wrap > p { color: var(--muted); margin: 0 0 1.5rem; }

.form-notice { padding: 0.9rem 1.2rem; border-radius: 10px; font-weight: 600; }
.form-success { background: #e8f8ee; color: #0d6b37; border: 1px solid #bce5cd; }
.form-error { background: #fdecec; color: #a11d22; border: 1px solid #f5c6c8; }

.contact-form p { margin: 0 0 1.1rem; }
.contact-form label {
	display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1.5px solid var(--line);
	border-radius: 10px;
	background: #fff;
	font: inherit;
	color: var(--ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.contact-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-submit { margin-top: 0.4rem; }
.honeypot { position: absolute !important; left: -9999px !important; }

/* Service single --------------------------------------------------------- */

.service-single-grid {
	display: grid; grid-template-columns: 140px 1fr; gap: clamp(1.5rem, 4vw, 3rem);
	padding: clamp(3rem, 7vw, 4.5rem) 0;
}
.service-single-icon .icon {
	width: 96px; height: 96px; padding: 20px;
	border-radius: 18px;
	background: color-mix(in srgb, var(--brand) 9%, white);
	color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 16%, white);
}
.service-single .page-content h3 {
	font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.08em;
	color: var(--brand); margin: 2rem 0 0.5rem;
}
.service-single .page-content ul { list-style: none; margin: 0.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.service-single .page-content ul li {
	padding: 0.45rem 0.95rem; border: 1px solid var(--line); border-radius: 999px;
	font-size: 0.9rem; font-weight: 600; color: var(--ink); background: #fff;
}
.service-single .page-content p { color: var(--muted); }
.back-link { margin-top: 2rem; font-weight: 700; }

/* Blog ------------------------------------------------------------------- */

.content-list { padding: clamp(2.5rem, 6vw, 4rem) 0; max-width: 820px; }
.post-card { border-top: 1px solid var(--line); padding: 1.8rem 0; }
.post-card h2 { margin: 0 0 0.4rem; font-size: 1.4rem; }
.post-meta { color: var(--muted); font-size: 0.88rem; margin: 0 0 0.6rem; }
.pagination { margin-top: 2rem; }

.not-found { text-align: center; }
.not-found h1 { font-size: clamp(2rem, 5vw, 3rem); }

/* Footer ----------------------------------------------------------------- */

.site-footer {
	background:
		radial-gradient(900px 380px at 100% 0%, rgba(35, 35, 180, 0.25), transparent 60%),
		#010049;
	color: #c4caea;
}

.footer-grid {
	display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem);
	padding: clamp(3rem, 7vw, 4.5rem) 0 2.5rem;
}

.footer-logo { width: 150px; height: auto; background: #fff; border-radius: 10px; padding: 8px 12px; }
.footer-title { color: #fff; font-family: var(--font-display); font-weight: 850; font-size: 1.3rem; }
.footer-about p { font-size: 0.95rem; margin: 1.2rem 0 0; }

.footer-heading {
	color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em;
	margin: 0 0 1.1rem;
}
.footer-menu, .footer-services { list-style: none; margin: 0; padding: 0; }
.footer-menu li, .footer-services li { margin: 0.45rem 0; }
.footer-menu a, .footer-services a { color: #c4caea; font-size: 0.95rem; }
.footer-menu a:hover, .footer-services a:hover { color: #fff; }

.footer-contact address { font-style: normal; line-height: 1.8; margin: 0 0 0.8rem; font-size: 0.95rem; }
.footer-contact p { margin: 0 0 0.4rem; }
.footer-contact a { color: #fff; font-weight: 600; }

.footer-bottom {
	display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 1.4rem; padding-bottom: 1.8rem;
	font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }

/* Reveal animation ------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive -------------------------------------------------------------- */

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

@media (max-width: 880px) {
	.menu-toggle { display: block; }

	.main-navigation {
		position: absolute; top: 100%; left: 0; right: 0;
		margin: 0;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		display: none;
		padding: 0.6rem clamp(1.25rem, 4vw, 2.5rem) 1.2rem;
	}
	.main-navigation.is-open { display: block; }
	.main-navigation ul { flex-direction: column; gap: 0.15rem; }
	.main-navigation a { padding: 0.7rem 0.9rem; font-size: 1.05rem; }

	.header-actions .btn { display: none; }

	.hero-stats { grid-template-columns: repeat(2, 1fr); }
	.ppp-grid { grid-template-columns: 1fr; gap: 1.75rem; }
	.why-grid { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; }

	/* Service detail rows stack: media (icon + photo) above the text. */
	.service-detail,
	.service-detail.flip { grid-template-columns: 1fr; }
	.service-detail .service-detail-icon,
	.service-detail.flip .service-detail-icon { grid-column: 1; grid-row: auto; order: 0; }
	.service-detail .service-detail-body,
	.service-detail.flip .service-detail-body { grid-column: 1; grid-row: auto; }
	.service-detail-icon { display: flex; align-items: flex-start; gap: 1.1rem; }
	.service-detail-icon .service-detail-thumb {
		margin-top: 0;
		flex: 1 1 200px;
		max-width: 360px;
	}
	.service-detail-thumb img { aspect-ratio: 16 / 9; }

	.service-single-grid { grid-template-columns: 1fr; }
	.service-single-icon .icon { width: 72px; height: 72px; padding: 15px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
	.services-grid { grid-template-columns: 1fr; }
	.form-row { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.hero-stats { grid-template-columns: 1fr; }
	.service-detail-icon { flex-direction: column; }
	.service-detail-icon .service-detail-thumb { max-width: none; }
	.guard-quote { font-size: 1.45rem; }
	.cta-inner { flex-direction: column; align-items: flex-start; }
}
