/*
Theme Name: Rightaway GPR
Theme URI: https://rightawaygpr.ca/
Author: Right Away GPR Services
Description: Custom dark theme for Right Away GPR Services – ground penetrating radar and concrete scanning in the Lower Mainland, BC. Black background, white type and the brand orange from the logo. Includes service pages, a working contact form with an Enquiries log, Instagram and WhatsApp links.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rightaway-gpr
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--bg: #0a0a0a;
	--bg-alt: #111111;
	--surface: #161616;
	--surface-2: #1e1e1e;
	--line: rgba(255, 255, 255, 0.09);
	--line-strong: rgba(255, 255, 255, 0.18);
	--text: #ffffff;
	--muted: #b3b3b3;
	--subtle: #8a8a8a;
	--accent: #fd6e1e;
	--accent-hover: #ff8a45;
	--accent-soft: rgba(253, 110, 30, 0.12);
	--accent-ink: #0a0a0a;
	--whatsapp: #25d366;
	--success: #3ccf7a;
	--danger: #ff5a5a;

	--font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--radius: 14px;
	--radius-sm: 10px;
	--container: 1240px;
	--gutter: 20px;
	--section-y: clamp(64px, 9vw, 112px);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: .005em;
	text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--accent); color: var(--accent-ink); }

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

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	padding: 10px 16px; background: var(--accent); color: var(--accent-ink);
	font-weight: 700; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--accent-ink); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.container--narrow { max-width: 860px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: 13px 24px;
	border: 2px solid transparent; border-radius: 999px;
	font-family: var(--font-body); font-size: 15px; font-weight: 700;
	letter-spacing: .04em; text-transform: uppercase; line-height: 1.2;
	cursor: pointer; white-space: nowrap;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgba(253, 110, 30, .7); }

.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--whatsapp { background: var(--whatsapp); color: #062a14; }
.btn--whatsapp:hover { background: #3ee07c; color: #062a14; }

.btn--instagram { border-color: var(--line-strong); color: var(--text); }
.btn--instagram:hover { border-color: #e1306c; color: #ff5c93; }

.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--center { justify-content: center; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 6px;
	color: var(--accent); font-weight: 700; font-size: 14px;
	letter-spacing: .06em; text-transform: uppercase;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }

/* ==========================================================================
   Top bar & header
   ========================================================================== */
.topbar {
	background: #000;
	border-bottom: 1px solid var(--line);
	font-size: 14px; color: var(--muted);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item .icon { color: var(--accent); width: 15px; height: 15px; }
.topbar__social { display: inline-flex; color: var(--muted); }
.topbar__social .icon { width: 17px; height: 17px; }
.topbar__social:hover { color: var(--accent); }

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(10, 10, 10, .88);
	backdrop-filter: saturate(140%) blur(14px);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }

.site-logo { display: block; flex: none; }
.site-logo img { width: auto; height: 62px; }

.site-nav { margin-left: auto; }
.site-nav .menu { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.site-nav .menu a {
	position: relative; display: block; padding: 10px 14px;
	font-weight: 600; font-size: 15px; letter-spacing: .05em; text-transform: uppercase;
	color: var(--text);
}
.site-nav .menu a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
	background: var(--accent); transform: scaleX(0); transform-origin: left;
	transition: transform .25s var(--ease);
}
.site-nav .menu a:hover { color: var(--accent); }
.site-nav .menu a:hover::after,
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after { transform: scaleX(1); }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { color: var(--accent); }
.site-nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.site-header__cta { padding: 11px 22px; }

.nav-toggle {
	display: none; align-items: center; justify-content: center;
	width: 46px; height: 46px; padding: 0;
	border: 1px solid var(--line-strong); border-radius: 12px;
	background: transparent; color: var(--text); cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* ==========================================================================
   Sections & headings
   ========================================================================== */
.section { position: relative; padding: var(--section-y) 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__more { margin-top: 44px; text-align: center; }

.section-head { max-width: 780px; margin: 0 auto 52px; }
.section-head--center { text-align: center; }
.section-head--left { margin-left: 0; margin-bottom: 28px; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	margin: 0 0 14px;
	color: var(--accent); font-weight: 700; font-size: 14px;
	letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }

.section-title { font-size: clamp(34px, 4.6vw, 54px); text-transform: uppercase; }
.section-lead { color: var(--muted); font-size: 18px; }

.prose { color: var(--muted); font-size: 18px; }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero {
	position: relative; overflow: hidden; isolation: isolate;
	min-height: min(88vh, 820px);
	display: flex; align-items: center;
	padding: 110px 0 120px;
}
.hero__bg {
	position: absolute; inset: 0; z-index: -2;
	background-size: cover; background-position: center 60%;
	transform: scale(1.04);
	animation: heroZoom 18s var(--ease) forwards;
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(10,10,10,.96) 0%, rgba(10,10,10,.86) 38%, rgba(10,10,10,.45) 75%, rgba(10,10,10,.6) 100%),
		linear-gradient(0deg, var(--bg) 0%, rgba(10,10,10,0) 30%);
}
.hero__scan {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(90deg, transparent 0, rgba(253,110,30,.0) 40%, rgba(253,110,30,.16) 50%, rgba(253,110,30,0) 60%, transparent 100%);
	background-size: 40% 100%; background-repeat: no-repeat;
	animation: scanSweep 7s linear infinite;
	mix-blend-mode: screen;
}
.hero__inner { position: relative; max-width: var(--container); }
.hero__title {
	max-width: 840px;
	font-size: clamp(44px, 7vw, 86px);
	text-transform: uppercase; line-height: .98;
}
.hero__lead { max-width: 620px; color: #d6d6d6; font-size: clamp(17px, 1.6vw, 20px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__points {
	display: flex; flex-wrap: wrap; gap: 10px 26px;
	margin: 40px 0 0; padding: 0; list-style: none;
	color: #e6e6e6; font-weight: 600; font-size: 15px;
}
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { color: var(--accent); width: 18px; height: 18px; }

.radar-arcs {
	position: absolute; right: -60px; bottom: -60px; z-index: -1;
	width: clamp(260px, 34vw, 480px); height: auto; opacity: .9; pointer-events: none;
}
.radar-arcs__a { stroke: var(--accent); }
.radar-arcs__b { stroke: rgba(255,255,255,.55); }
.radar-arcs path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: drawArc 1.6s var(--ease) forwards; }
.radar-arcs path:nth-child(2) { animation-delay: .15s; }
.radar-arcs path:nth-child(3) { animation-delay: .3s; }
.radar-arcs path:nth-child(4) { animation-delay: .45s; }

@keyframes heroZoom { to { transform: scale(1); } }
@keyframes scanSweep { 0% { background-position: -60% 0; } 100% { background-position: 160% 0; } }
@keyframes drawArc { to { stroke-dashoffset: 0; } }

/* Contact strip under hero */
.contact-strip { position: relative; z-index: 2; margin-top: -54px; }
.contact-strip__grid {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 1px; padding: 0;
	background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden;
	max-width: calc(var(--container) - 2 * var(--gutter));
}
.contact-strip__item {
	display: flex; align-items: center; gap: 16px;
	padding: 24px 26px; background: var(--surface);
	font-weight: 600; font-size: 16px; line-height: 1.35;
	transition: background-color .2s ease;
}
.contact-strip__item:hover { background: var(--surface-2); color: var(--text); }
.contact-strip__item small {
	display: block; margin-bottom: 2px;
	color: var(--subtle); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.contact-strip__icon {
	display: grid; place-items: center; flex: none;
	width: 48px; height: 48px; border-radius: 12px;
	background: var(--accent-soft); color: var(--accent);
}
.contact-strip__icon .icon { width: 22px; height: 22px; }

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.page-hero {
	position: relative; overflow: hidden; isolation: isolate;
	padding: clamp(80px, 11vw, 140px) 0 clamp(64px, 8vw, 100px);
	border-bottom: 1px solid var(--line);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.page-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(10,10,10,.95) 0%, rgba(10,10,10,.82) 50%, rgba(10,10,10,.6) 100%);
}
.page-hero--plain { background: var(--bg-alt); }
.page-hero__title { max-width: 900px; font-size: clamp(40px, 6vw, 72px); text-transform: uppercase; }
.page-hero__sub { max-width: 720px; color: #d0d0d0; font-size: clamp(17px, 1.6vw, 20px); }
.page-hero .radar-arcs { width: clamp(200px, 26vw, 360px); right: -40px; bottom: -80px; }

.breadcrumbs {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
	margin-bottom: 18px; color: var(--subtle);
	font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--accent); }

/* ==========================================================================
   Work gallery
   ========================================================================== */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card {
	margin: 0; overflow: hidden;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.work-card img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.work-card:hover img { transform: scale(1.05); }
.work-card figcaption {
	position: relative; padding: 18px 22px 20px 44px;
	color: var(--muted); font-size: 15.5px;
}
.work-card figcaption::before {
	content: ""; position: absolute; left: 22px; top: 27px;
	width: 10px; height: 10px; border-radius: 50%;
	background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ==========================================================================
   Service cards
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
	position: relative; display: flex; flex-direction: column;
	overflow: hidden;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	transition: border-color .25s ease, transform .3s var(--ease), box-shadow .3s ease;
}
.service-card:hover { border-color: rgba(253,110,30,.55); transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(0,0,0,.9); }
.service-card__media { display: block; overflow: hidden; }
.service-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 38px 26px 26px; }
.service-card__body p { color: var(--muted); font-size: 16px; }
.service-card__body .link-arrow { margin-top: auto; padding-top: 18px; }
.service-card:hover .link-arrow .icon { transform: translateX(4px); }
.service-card__icon {
	display: grid; place-items: center;
	width: 56px; height: 56px; border-radius: 14px;
	background: var(--accent); color: var(--accent-ink);
	box-shadow: 0 10px 24px -10px rgba(253,110,30,.8);
}
.service-card__body > .service-card__icon { position: absolute; top: -28px; left: 26px; }
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card__title { font-size: 27px; text-transform: uppercase; margin-bottom: 10px; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; }
.service-card__title a:hover { color: var(--text); }

/* ==========================================================================
   Features
   ========================================================================== */
.feature-grid { display: grid; gap: 22px; }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature {
	position: relative; overflow: hidden;
	padding: 34px 30px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	transition: border-color .25s ease, background-color .25s ease;
}
.feature:hover { border-color: rgba(253,110,30,.45); background: var(--surface-2); }
.feature p { color: var(--muted); font-size: 16px; }
.feature__num {
	position: absolute; right: 22px; top: 14px;
	font-family: var(--font-head); font-size: 64px; font-weight: 700; line-height: 1;
	color: rgba(255,255,255,.05);
}
.feature__icon {
	display: grid; place-items: center; flex: none;
	width: 54px; height: 54px; margin-bottom: 20px; border-radius: 14px;
	background: var(--accent-soft); color: var(--accent);
	border: 1px solid rgba(253,110,30,.25);
}
.feature__icon .icon { width: 26px; height: 26px; }
.feature__title { font-size: 25px; text-transform: uppercase; margin-bottom: 10px; }

/* ==========================================================================
   Split layout (image + content)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split--media-right .split__media { order: 2; }
.split__media { margin: 0; }

.frame { position: relative; margin: 0; }
.frame img { width: 100%; border-radius: var(--radius); aspect-ratio: 1 / 1; object-fit: cover; }
.frame::before {
	content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
	border: 2px solid var(--accent); border-radius: var(--radius);
	opacity: .55;
}
.split--media-right .frame::before { inset: 18px 18px -18px -18px; }
.frame__tag {
	position: absolute; left: 20px; bottom: 20px;
	display: inline-flex; align-items: center; gap: 10px;
	padding: 10px 16px; border-radius: 999px;
	background: rgba(10,10,10,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	border: 1px solid var(--line-strong);
	font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
}
.frame__tag .icon { color: var(--accent); }

.detect-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.detect-list li {
	display: flex; align-items: center; gap: 14px;
	padding: 16px 18px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
	font-weight: 600; font-size: 16px; line-height: 1.35;
}
.detect-list__icon {
	display: grid; place-items: center; flex: none;
	width: 40px; height: 40px; border-radius: 10px;
	background: var(--accent-soft); color: var(--accent);
}
.detect-list__icon .icon { width: 20px; height: 20px; }

.check-list { margin: 24px 0 30px; padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.check-list .icon {
	width: 26px; height: 26px; padding: 5px; border-radius: 50%;
	background: var(--accent); color: var(--accent-ink); stroke-width: 3;
}

.mv { display: grid; gap: 18px; }
.mv__item {
	display: flex; gap: 20px; padding: 26px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.mv__item .feature__icon { margin: 0; }
.mv__item p { color: var(--muted); font-size: 16px; }

.mini-features { display: grid; gap: 14px; margin-top: 28px; }
.mini-feature {
	display: flex; gap: 18px; padding: 20px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.mini-feature .feature__icon { width: 46px; height: 46px; margin: 0; }
.mini-feature .feature__icon .icon { width: 22px; height: 22px; }
.mini-feature__title { font-size: 21px; text-transform: uppercase; margin-bottom: 4px; }
.mini-feature p { color: var(--muted); font-size: 15.5px; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.process__step { position: relative; }
.process__media { position: relative; margin-bottom: 24px; }
.process__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.process__num {
	position: absolute; left: 20px; bottom: -22px;
	display: grid; place-items: center;
	width: 56px; height: 56px; border-radius: 50%;
	background: var(--accent); color: var(--accent-ink);
	font-family: var(--font-head); font-size: 24px; font-weight: 700;
	box-shadow: 0 0 0 6px var(--bg-alt);
}
.process__title { margin-top: 34px; font-size: 26px; text-transform: uppercase; }
.process__step p { color: var(--muted); font-size: 16px; }

/* ==========================================================================
   Technology
   ========================================================================== */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tech-card {
	overflow: hidden;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	transition: border-color .25s ease;
}
.tech-card:hover { border-color: rgba(253,110,30,.45); }
.tech-card__media { overflow: hidden; }
.tech-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease); }
.tech-card:hover .tech-card__media img { transform: scale(1.05); }
.tech-card__body { padding: 24px 26px 28px; }
.tech-card__title { font-size: 23px; text-transform: uppercase; }
.tech-card__body p { color: var(--muted); font-size: 15.5px; }

/* ==========================================================================
   Trust cards (About)
   ========================================================================== */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-card {
	overflow: hidden;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.trust-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.trust-card__body { position: relative; padding: 40px 26px 28px; }
.trust-card__body .service-card__icon { position: absolute; top: -28px; left: 26px; }
.trust-card__body p { color: var(--muted); font-size: 16px; }

.trust-strip { background: var(--accent); color: var(--accent-ink); }
.trust-strip__inner { display: flex; align-items: center; gap: 26px; padding-top: 38px; padding-bottom: 38px; }
.trust-strip__icon {
	display: grid; place-items: center; flex: none;
	width: 72px; height: 72px; border-radius: 50%;
	background: var(--accent-ink); color: var(--accent);
}
.trust-strip__icon .icon { width: 34px; height: 34px; }
.trust-strip__title { font-size: clamp(26px, 3vw, 36px); text-transform: uppercase; margin-bottom: 6px; }
.trust-strip p { font-weight: 500; max-width: 900px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(70px, 9vw, 110px) 0; }
.cta__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.cta::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(100deg, rgba(10,10,10,.97) 0%, rgba(10,10,10,.88) 55%, rgba(253,110,30,.55) 140%);
}
.cta::after {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent);
}
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta__text { max-width: 640px; }
.cta__title { font-size: clamp(36px, 5vw, 60px); text-transform: uppercase; }
.cta__text p { color: #d4d4d4; font-size: 18px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial {
	position: relative; margin: 0; display: flex; flex-direction: column;
	padding: 40px 36px 32px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.testimonial__quote { width: 44px; height: 44px; color: var(--accent); margin-bottom: 18px; }
.testimonial blockquote { margin: 0 0 26px; color: #e2e2e2; font-size: 18.5px; line-height: 1.6; }
.testimonial figcaption {
	display: flex; align-items: center; gap: 14px; margin-top: auto;
	padding-top: 22px; border-top: 1px solid var(--line);
}
.testimonial figcaption strong { display: block; font-size: 17px; }
.testimonial figcaption small { color: var(--subtle); font-size: 14px; }
.testimonial__avatar {
	display: grid; place-items: center; flex: none;
	width: 48px; height: 48px; border-radius: 50%;
	background: var(--accent); color: var(--accent-ink);
	font-family: var(--font-head); font-size: 22px; font-weight: 700;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__media img { aspect-ratio: 4 / 5; }
.faq { display: grid; gap: 12px; }
.faq__item {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
	transition: border-color .2s ease;
}
.faq__item[open] { border-color: rgba(253,110,30,.5); }
.faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 20px 22px; cursor: pointer; list-style: none;
	font-weight: 700; font-size: 17.5px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__toggle {
	display: grid; place-items: center; flex: none;
	width: 32px; height: 32px; border-radius: 50%;
	background: var(--surface-2); color: var(--accent);
	transition: transform .3s var(--ease), background-color .2s ease, color .2s ease;
}
.faq__toggle .icon { width: 18px; height: 18px; }
.faq__item[open] .faq__toggle { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.faq__answer { padding: 0 22px 22px; color: var(--muted); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }
.panel {
	padding: clamp(26px, 4vw, 44px);
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.contact-cards { display: grid; gap: 12px; margin: 0 0 16px; padding: 0; list-style: none; }
.contact-card {
	display: flex; align-items: center; gap: 18px;
	padding: 20px 22px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.contact-card__icon {
	display: grid; place-items: center; flex: none;
	width: 50px; height: 50px; border-radius: 12px;
	background: var(--accent); color: var(--accent-ink);
}
.contact-card__icon .icon { width: 23px; height: 23px; }
.contact-card__title {
	margin: 0 0 2px; color: var(--subtle);
	font-family: var(--font-body); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.contact-card a, .contact-card span { font-weight: 600; font-size: 17px; word-break: break-word; }
.contact-social { display: grid; gap: 12px; margin-bottom: 26px; }
.contact-layout__photo img { aspect-ratio: 4 / 3; }

.map-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.map-section iframe {
	width: 100%; height: 440px; border: 0;
	filter: grayscale(1) invert(.92) contrast(.9);
}

/* Form */
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
.field label {
	display: block; margin-bottom: 8px;
	font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #d9d9d9;
}
.req { color: var(--accent); }
.field input,
.field select,
.field textarea {
	width: 100%; padding: 14px 16px;
	background: var(--bg); color: var(--text);
	border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
	font: inherit; font-size: 16px;
	transition: border-color .2s ease, box-shadow .2s ease;
	-webkit-appearance: none; appearance: none;
}
.field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23fd6e1e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px;
}
.field select option { background: var(--surface); }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #6f6f6f; }
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field__error { display: block; margin-top: 6px; color: var(--danger); font-size: 14px; }

.contact-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 4px; }
.contact-form__note { margin: 0; color: var(--subtle); font-size: 14px; }
.contact-form button[disabled] { opacity: .7; cursor: progress; }

.form-status:empty { display: none; }
.form-status {
	padding: 14px 18px; border-radius: var(--radius-sm);
	font-weight: 600; border: 1px solid var(--line-strong);
}
.form-status.is-success { background: rgba(60,207,122,.1); border-color: rgba(60,207,122,.45); color: #8ff0b6; }
.form-status.is-error { background: rgba(255,90,90,.1); border-color: rgba(255,90,90,.45); color: #ffb0b0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; background: #050505; border-top: 1px solid var(--line); }
.site-footer__arcs {
	position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%;
	border: 2px solid rgba(253,110,30,.18);
	box-shadow: 0 0 0 40px rgba(5,5,5,1), 0 0 0 42px rgba(255,255,255,.05), 0 0 0 90px rgba(5,5,5,1), 0 0 0 92px rgba(253,110,30,.1);
	pointer-events: none;
}
.site-footer__grid {
	position: relative;
	display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 44px;
	padding-top: 80px; padding-bottom: 60px;
}
.site-logo--footer img { height: 84px; }
.site-footer__brand p { margin: 22px 0; color: var(--muted); font-size: 15.5px; }
.site-footer__title {
	position: relative; margin-bottom: 22px; padding-bottom: 12px;
	font-size: 22px; text-transform: uppercase;
}
.site-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--accent); }

.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-links a { position: relative; display: inline-block; padding-left: 18px; color: var(--muted); font-size: 15.5px; }
.footer-links a::before {
	content: ""; position: absolute; left: 0; top: .62em;
	width: 7px; height: 7px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent);
	transform: rotate(45deg);
}
.footer-links a:hover { color: var(--accent); }
.footer-links .current-menu-item a { color: var(--text); }

.footer-contact { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.footer-contact li { display: flex; gap: 14px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.footer-contact .icon { margin-top: 2px; color: var(--accent); width: 19px; height: 19px; }
.footer-contact a { word-break: break-word; }

.social { display: flex; gap: 10px; }
.social a {
	display: grid; place-items: center;
	width: 42px; height: 42px; border-radius: 50%;
	border: 1px solid var(--line-strong); color: var(--text);
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.social a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.social .icon { width: 18px; height: 18px; }

.site-footer__bottom { position: relative; border-top: 1px solid var(--line); }
.site-footer__bottom-inner {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
	padding-top: 22px; padding-bottom: 22px;
	color: var(--subtle); font-size: 14px;
}
.site-footer__bottom p { margin: 0; }

/* Floating WhatsApp */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 200;
	display: flex; align-items: center; gap: 10px;
	height: 60px; padding: 0 18px 0 16px; border-radius: 999px;
	background: var(--whatsapp); color: #fff;
	box-shadow: 0 12px 30px -8px rgba(37,211,102,.55), 0 4px 12px rgba(0,0,0,.4);
	font-weight: 700; font-size: 15px;
	transition: transform .25s var(--ease), box-shadow .25s ease;
}
.wa-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 36px -8px rgba(37,211,102,.7), 0 4px 12px rgba(0,0,0,.4); }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit;
	border: 2px solid var(--whatsapp); animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }

/* ==========================================================================
   Generic content & 404
   ========================================================================== */
.entry-content { color: #dedede; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; text-transform: uppercase; }
.post-summary { padding: 26px 0; border-bottom: 1px solid var(--line); }

.notfound { text-align: center; padding: clamp(90px, 14vw, 170px) 0; }
.notfound__code {
	margin: 0 0 6px; font-family: var(--font-head); font-weight: 700; line-height: 1;
	font-size: clamp(110px, 20vw, 200px); color: transparent; -webkit-text-stroke: 2px var(--accent);
}

/* Scroll reveal (enabled by JS) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.services-grid, .tech-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
	.cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 960px) {
	:root { --gutter: 18px; }

	.topbar__email { display: none; }

	/* backdrop-filter would make the header the containing block of the fixed menu panel */
	.site-header { background: rgba(10, 10, 10, .97); backdrop-filter: none; -webkit-backdrop-filter: none; }
	.nav-toggle { display: inline-flex; }
	.site-header__actions { margin-left: auto; }
	.site-header__cta { display: none; }
	.site-header__inner { min-height: 74px; }
	.site-logo img { height: 52px; }

	.site-nav {
		position: fixed; left: 0; right: 0; top: var(--nav-top, 116px); bottom: 0;
		margin: 0; padding: 18px var(--gutter) 32px;
		background: var(--bg); border-top: 1px solid var(--line);
		overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s ease, transform .25s var(--ease), visibility 0s linear .25s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.nav-open { overflow: hidden; }
	.nav-open .wa-float { display: none; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu a { padding: 18px 4px; font-size: 22px; font-family: var(--font-head); border-bottom: 1px solid var(--line); }
	.site-nav .menu a::after { display: none; }
	.site-nav__mobile-extra { display: grid; gap: 14px; margin-top: 26px; }
	.site-nav__contact { display: flex; align-items: center; gap: 12px; color: var(--muted); }
	.site-nav__contact .icon { color: var(--accent); }

	.split { grid-template-columns: 1fr; }
	.split--media-right .split__media { order: 0; }
	.split__media { max-width: 560px; }
	.frame::before { inset: 12px -12px -12px 12px; }
	.split--media-right .frame::before { inset: 12px -12px -12px 12px; }

	.work-grid { grid-template-columns: 1fr 1fr; }
	.feature-grid--3 { grid-template-columns: 1fr 1fr; }
	.process { grid-template-columns: 1fr; gap: 40px; max-width: 560px; }
	.testimonials { grid-template-columns: 1fr; }
	.contact-layout { grid-template-columns: 1fr; }

	.contact-strip__grid { grid-template-columns: 1fr; }
	.contact-strip { margin-top: -40px; }
}

@media (max-width: 640px) {
	:root { --gutter: 16px; }
	body { font-size: 16px; }

	.topbar { font-size: 13px; }
	.topbar__inner > .topbar__item { display: none; }
	.topbar__inner { justify-content: center; }
	.topbar__right { gap: 18px; }

	.hero { min-height: 0; padding: 72px 0 96px; }
	.hero::before { background: linear-gradient(180deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.9) 60%, var(--bg) 100%); }
	.hero__actions .btn { flex: 1 1 100%; }
	.hero__points { flex-direction: column; gap: 10px; }

	.section-head { margin-bottom: 36px; }
	.section-lead, .prose { font-size: 16.5px; }

	.work-grid, .services-grid, .tech-grid, .trust-grid, .feature-grid--3 { grid-template-columns: 1fr; }
	.detect-list { grid-template-columns: 1fr; }
	.form-row--2 { grid-template-columns: 1fr; }
	.contact-form__footer .btn { width: 100%; }

	.cta__actions { width: 100%; }
	.cta__actions .btn { flex: 1 1 100%; }

	.trust-strip__inner { flex-direction: column; align-items: flex-start; gap: 18px; }

	.site-footer__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 60px; }
	.site-footer__bottom-inner { flex-direction: column; padding-bottom: 96px; }

	.wa-float { right: 16px; bottom: 16px; width: 58px; height: 58px; padding: 0; justify-content: center; }
	.wa-float__label { display: none; }

	.map-section iframe { height: 340px; }
	.testimonial { padding: 32px 24px 26px; }
	.mv__item, .mini-feature { flex-direction: column; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.hero__scan { display: none; }
	.js .reveal { opacity: 1; transform: none; }
}
