/*
Theme Name: BT Security
Description: Dark, four page theme for BT Security. Home, Services, About and Contact with a built in enquiry form. Business details are set under Appearance > Customize > Business details.
Version: 1.6.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bt-security
*/

:root {
	--bg: #0b0c0e;
	--surface: #131518;
	--surface-2: #1a1d21;
	--line: #2a2e34;
	--text: #e8eaed;
	--muted: #9aa1ab;
	--accent: #f5a623;
	--ok: #5fc48a;
	--bad: #e2695f;
	--head: "Barlow Condensed", "Arial Narrow", sans-serif;
	--body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
	--radius: 4px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

h1, h2, h3 {
	font-family: var(--head);
	font-weight: 600;
	line-height: 1.1;
	margin: 0 0 0.5em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); text-transform: uppercase; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); text-transform: uppercase; letter-spacing: 0.02em; }
h3 { font-size: 1.35rem; letter-spacing: 0.02em; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.lead { font-size: 1.15rem; color: #c5cad1; max-width: 60ch; }
.eyebrow {
	font-family: var(--head);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1rem;
}

.skip, .screen-reader-text {
	position: absolute;
	left: -9999px;
}
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--accent); color: #000; padding: 8px 12px; }

/* Buttons */
.btn {
	display: inline-block;
	background: var(--accent);
	color: #0b0c0e;
	font-family: var(--head);
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.7em 1.4em;
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	cursor: pointer;
	transition: filter 0.15s ease, background 0.15s ease;
}
.btn:hover { filter: brightness(1.1); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: #4a505a; }
.btn-ghost:hover { border-color: var(--text); filter: none; }
.btn-small { font-size: 0.95rem; padding: 0.5em 1em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(11, 12, 14, 0.94);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 52px; height: 52px; object-fit: contain; }
.brand-name {
	font-family: var(--head);
	font-weight: 600;
	font-size: 1.35rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.custom-logo { max-height: 52px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a {
	color: var(--muted);
	font-family: var(--head);
	font-size: 1.1rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
}
.site-nav .menu a:hover,
.site-nav .current-menu-item > a { color: var(--text); border-bottom-color: var(--accent); text-decoration: none; }

.site-nav .menu li { position: relative; }
.menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin: 0 0 3px 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}
.site-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: -18px;
	min-width: 300px;
	list-style: none;
	margin: 0;
	padding: 8px 0;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}
.site-nav .menu li:hover > .sub-menu,
.site-nav .menu li:focus-within > .sub-menu { display: block; }
.site-nav .sub-menu a {
	display: block;
	padding: 10px 18px;
	border-bottom: 0;
	font-size: 1.02rem;
	letter-spacing: 0.06em;
}
.site-nav .sub-menu a:hover,
.site-nav .sub-menu .current-menu-item > a { background: var(--surface-2); color: var(--text); }

.other h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.other-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.other-list a { display: block; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); background: var(--bg); }
.other-list a:hover { border-color: var(--accent); text-decoration: none; }
.page-head .eyebrow a { color: inherit; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
	display: block; width: 20px; height: 2px; background: var(--text); margin: 0 auto; position: relative; content: "";
}
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

/* Hero */
.hero {
	padding: clamp(56px, 9vw, 120px) 0;
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(900px 480px at 85% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
		linear-gradient(180deg, rgba(11, 12, 14, 0) 40%, var(--bg) 100%),
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
		var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }

.panel {
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent);
	border-radius: var(--radius);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
	font-size: 0.95rem;
}
.panel-head, .panel-foot { padding: 14px 20px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.panel-title { font-family: var(--head); font-size: 1.05rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.panel-state { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.panel-rows { list-style: none; margin: 0; padding: 6px 20px; }
.panel-rows li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.panel-rows li:last-child { border-bottom: 0; }
.panel-rows b { color: var(--text); font-weight: 500; }
.panel-foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

/* Photos (only shown when a photo exists) */
.hero { position: relative; }
.hero > .wrap { position: relative; }
.hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.38; }
.hero.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 15%, rgba(11, 12, 14, 0.2) 100%), linear-gradient(0deg, var(--bg), transparent 40%); pointer-events: none; }
.hero.has-photo > .wrap { z-index: 1; }
.card-photo { display: block; width: calc(100% + 48px); max-width: none; margin: -26px -24px 22px; aspect-ratio: 16 / 9; object-fit: cover; }
.photo-banner { margin-top: clamp(32px, 5vw, 56px); }
.photo-banner img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); }
.photo-banner + .section { padding-top: clamp(32px, 5vw, 56px); }
.about-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 32px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 32px; margin-bottom: 2.2rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; max-width: 46ch; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 24px;
	color: var(--text);
	transition: border-color 0.15s ease, transform 0.15s ease;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent); transform: scaleX(0.18); transform-origin: left; transition: transform 0.25s ease; }
.card:hover::before { transform: scaleX(1); }
.card:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-2px); }
.card .icon { color: var(--accent); margin-bottom: 16px; }
.card p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.card-link { font-family: var(--head); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.card-link::after { content: " \2192"; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { counter-increment: step; border-top: 2px solid var(--line); padding-top: 18px; }
.steps li::before {
	content: "0" counter(step);
	display: block;
	font-family: var(--head);
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--accent);
	line-height: 1;
	margin-bottom: 10px;
}
.steps p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* Logo strip (scrolls sideways, pauses on hover) */
.logo-strip { background: var(--surface); border-bottom: 1px solid var(--line); padding: 26px 0; }
.logo-strip-inner { display: flex; flex-direction: column; gap: 16px; text-align: center; }
.logo-strip-label { margin: 0; font-family: var(--head); font-size: 0.9rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; width: max-content; animation: logo-scroll 40s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-strip ul { list-style: none; margin: 0; padding: 0 28px; display: flex; flex-wrap: nowrap; align-items: center; gap: 56px; flex: none; }
.logo-strip li { display: flex; align-items: center; height: 48px; flex: none; }
.logo-strip img { max-height: 34px; max-width: 150px; width: auto; filter: brightness(0) invert(1); opacity: 0.72; }
.logo-strip .logo-pertronic img { max-height: 48px; }
.logo-strip .logo-dsc img { max-height: 26px; }
.logo-strip span { font-family: var(--head); font-size: 1.4rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #b9bec6; white-space: nowrap; }
@keyframes logo-scroll { to { transform: translateX(-50%); } }

/* Brands */
.brands { padding-top: 0; }
.brand-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.brand-group { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 20px 22px; }
.brand-group h3 { font-size: 1rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.brand-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brand-list li { padding: 7px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--head); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.06em; }

/* CTA band */
.cta { background: linear-gradient(100deg, color-mix(in srgb, var(--accent) 14%, var(--surface-2)), var(--surface-2) 60%); border-top: 3px solid var(--accent); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 64px) 0; }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta h2 { margin-bottom: 0.3em; }
.cta p { margin: 0; }
.cta .actions { margin-top: 0; }

/* Inner pages */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); background: radial-gradient(700px 320px at 90% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%), var(--surface); }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 22ch; }

.service-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.ticks { list-style: none; margin: 0; padding: 22px 24px; background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); }
.ticks li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 1.05em;
	width: 12px;
	height: 6px;
	border-left: 2px solid var(--accent);
	border-bottom: 2px solid var(--accent);
	transform: rotate(-45deg);
}

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.prose { max-width: 68ch; }
.prose p, .prose li { color: #c5cad1; }
.value { border-left: 2px solid var(--accent); padding: 4px 0 4px 20px; margin-bottom: 28px; }
.value p { color: var(--muted); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.details { margin: 0; }
.details dt { font-family: var(--head); font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.details dd { margin: 2px 0 22px; font-size: 1.15rem; }
.details a { color: var(--text); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 0.9rem; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
	width: 100%;
	background: var(--bg);
	color: var(--text);
	border: 1px solid #3a3f47;
	border-radius: var(--radius);
	padding: 12px 14px;
	font: inherit;
}
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 16px; border-radius: var(--radius); border: 1px solid; margin-bottom: 16px; }
.notice-ok { border-color: var(--ok); color: var(--ok); }
.notice-bad { border-color: var(--bad); color: var(--bad); }

/* Footer */
.site-footer { background: #070809; padding-top: 56px; font-size: 0.97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { width: 110px; height: auto; display: block; margin-bottom: 18px; }
.footer-title { font-size: 1rem; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { padding: 4px 0; color: #c5cad1; }
.footer-list a { color: #c5cad1; }
.footer-list a:hover { color: var(--accent); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }

/* ---------- Extra polish ---------- */

/* Accent line across the very top, and a shadow once scrolled */
.site-header::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 30%, transparent) 60%, transparent); }
.site-header { transition: box-shadow 0.2s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55); }

/* Headline accent word */
.hl { color: var(--accent); }

/* Buttons: sheen on hover */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent); transform: skewX(-20deg); transition: left 0.5s ease; }
.btn:hover::after { left: 130%; }
.btn-ghost::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.12), transparent); }
.btn:not(.btn-ghost) { box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 28%, transparent); }

/* Hero: glow behind the status panel and a scan line moving down it */
.panel { position: relative; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 90px color-mix(in srgb, var(--accent) 14%, transparent); }
.panel::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 70px; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 16%, transparent)); border-bottom: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); animation: scan 5s linear infinite; pointer-events: none; }
@keyframes scan { from { transform: translateY(-80px); } to { transform: translateY(420px); } }
.panel-rows li { animation: row-in 0.5s ease both; }
.panel-rows li:nth-child(1) { animation-delay: 0.15s; }
.panel-rows li:nth-child(2) { animation-delay: 0.3s; }
.panel-rows li:nth-child(3) { animation-delay: 0.45s; }
.panel-rows li:nth-child(4) { animation-delay: 0.6s; }
.panel-rows li:nth-child(5) { animation-delay: 0.75s; }
.panel-rows li:nth-child(6) { animation-delay: 0.9s; }
@keyframes row-in { from { opacity: 0; transform: translateX(14px); } }
.panel-rows b::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-right: 8px; vertical-align: middle; }

/* Stats band */
.stats { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 9%, var(--surface-2)), var(--surface-2)); border-top: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 22px 20px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--head); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1; letter-spacing: 0.02em; color: var(--accent); }
.stat span { display: block; margin-top: 6px; font-family: var(--head); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* Section headings: accent bar */
.section-head h2::after, .other h2::after, .cta h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--accent); margin-top: 14px; }

/* Cards: icon tile and glow */
.card .icon { box-sizing: content-box; padding: 11px; background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 6px; transition: background 0.2s ease, color 0.2s ease; align-self: flex-start; }
.card:hover .icon { background: var(--accent); color: #0b0c0e; }
.card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--accent), 0 0 50px color-mix(in srgb, var(--accent) 14%, transparent); }
.card-link::after { display: inline-block; transition: transform 0.2s ease; }
.card:hover .card-link::after { transform: translateX(6px); }

/* Steps: big ghost numbers */
.steps li { position: relative; border-top-color: var(--accent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, transparent), transparent 60%); padding: 20px 18px 22px; border-radius: 0 0 var(--radius) var(--radius); }

/* CTA: diagonal stripes */
.cta { position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 42%; background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--accent) 16%, transparent) 0 14px, transparent 14px 34px); -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.cta-inner { position: relative; }

/* Page heads: faint grid like the hero */
.page-head { background:
	radial-gradient(700px 320px at 90% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
	linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 48px 48px,
	linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 48px 48px,
	var(--surface); }

/* Footer: accent top edge */
.site-footer { border-top: 3px solid var(--accent); }

/* Scroll reveal (classes are added by script, so content shows normally without it) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.card.reveal.is-in:hover { transform: translateY(-5px); transition-delay: 0s !important; }

/* Responsive */
@media (max-width: 900px) {
	.hero-grid, .service-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr 1fr; }
	.stats-grid { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(3) { border-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
	.brand-groups { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid > :first-child { grid-column: 1 / -1; }

	.nav-toggle { display: block; }
	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--bg);
		border-bottom: 1px solid var(--line);
		padding: 8px 20px 20px;
	}
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; gap: 0; margin-bottom: 16px; }
	.site-nav .menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.site-nav .sub-menu { display: block; position: static; min-width: 0; padding: 0 0 0 16px; background: none; border: 0; box-shadow: none; }
	.site-nav .sub-menu a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
	.site-nav .sub-menu a:hover, .site-nav .sub-menu .current-menu-item > a { background: none; }
	.site-nav .btn { text-align: center; }
}

@media (max-width: 560px) {
	body { font-size: 16px; }
	.steps, .field-row, .footer-grid { grid-template-columns: 1fr; }
	.brand-name { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.dot { animation: none; }
	.card, .card::before { transition: none; }
	.panel::after, .panel-rows li { animation: none; }
	.panel::after { display: none; }
	.btn::after { display: none; }
	.logo-track { animation: none; width: auto; }
	.logo-track ul { flex-wrap: wrap; justify-content: center; gap: 18px 36px; flex: 1; }
	.logo-track ul[aria-hidden] { display: none; }
	.logo-marquee { -webkit-mask-image: none; mask-image: none; }
}
