/*
Theme Name: Wavix
Theme URI: https://wavixltd.co.uk
Author: Wavix Limited
Author URI: https://wavixltd.co.uk
Description: A responsive custom theme for Wavix Limited — RICS-aligned home surveys, EPC assessments and PAS 2035 retrofit design and consulting.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wavix
*/

/* =====================================================
   1. Custom properties & reset
   ===================================================== */
:root {
	--c-purple: #7C5CF6;
	--c-cyan: #22B8CF;
	--c-teal: #2DD4BF;
	--gradient-brand: linear-gradient(120deg, var(--c-purple) 0%, var(--c-cyan) 55%, var(--c-teal) 100%);
	--gradient-brand-soft: linear-gradient(120deg, rgba(124, 92, 246, 0.12) 0%, rgba(34, 184, 207, 0.12) 55%, rgba(45, 212, 191, 0.12) 100%);

	--c-ink: #12131C;
	--c-body: #4B5163;
	--c-muted: #7A8194;
	--c-line: #E7E9F2;
	--c-bg: #FFFFFF;
	--c-bg-alt: #F5F7FC;
	--c-dark: #0E1020;
	--c-dark-2: #171A2E;

	--radius-sm: 10px;
	--radius-md: 16px;
	--radius-lg: 26px;
	--shadow-sm: 0 2px 10px rgba(18, 19, 28, 0.06);
	--shadow-md: 0 18px 40px -14px rgba(31, 24, 90, 0.22);
	--container: 1180px;

	--font-head: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
	--font-body: 'Inter', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--c-body);
	background: var(--c-bg);
	line-height: 1.65;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--c-purple); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--c-teal); }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: var(--c-ink);
	line-height: 1.18;
	margin: 0 0 .5em;
	font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 1.6rem + 2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.35rem + 1.2vw, 2.4rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px,1px,1px,1px);
	white-space: nowrap;
}
.skip-link.screen-reader-text:focus {
	position: fixed !important;
	top: 10px; left: 10px;
	width: auto; height: auto;
	background: var(--c-ink); color: #fff;
	padding: 12px 18px; border-radius: 8px; z-index: 10000;
}

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

.eyebrow {
	display: inline-block;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin: 0 0 .6em;
}

.section { padding: clamp(48px, 6vw, 96px) 0; }
.section-alt { background: var(--c-bg-alt); }
.section-head { max-width: 680px; margin: 0 0 42px; }
.section-lede { color: var(--c-muted); font-size: 1.05rem; }

/* =====================================================
   2. Buttons
   ===================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: 999px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: .95rem;
	border: 2px solid transparent;
	white-space: nowrap;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
	background: var(--gradient-brand);
	color: #fff;
	box-shadow: var(--shadow-md);
}
.btn-primary:hover { color: #fff; box-shadow: 0 20px 34px -12px rgba(34, 184, 207, .45); }

.btn-outline {
	background: transparent;
	border-color: var(--c-line);
	color: var(--c-ink);
}
.btn-outline:hover { border-color: var(--c-cyan); color: var(--c-cyan); }

.btn-light {
	background: #fff;
	color: var(--c-ink);
}
.btn-light:hover { color: var(--c-purple); }

.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* =====================================================
   3. Top bar & header
   ===================================================== */
.topbar {
	background: var(--c-dark);
	color: #cfd3e6;
	font-size: .85rem;
}
.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 22px;
	padding: 9px 24px;
}
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item a { color: #E4E7F5; }
.topbar-item a:hover { color: var(--c-teal); }
.topbar-cta a {
	font-weight: 600;
	color: var(--c-teal);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--c-line);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 24px;
}

.site-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}
.site-brand:hover .site-brand-name { color: var(--c-ink); }
.site-brand-mark { width: 44px; height: 44px; flex: none; }
.custom-logo-link img { width: 44px; height: 44px; object-fit: contain; }
.site-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.site-brand-name { font-family: var(--font-head); font-weight: 800; color: var(--c-ink); font-size: 1.2rem; }
.site-brand-tag { font-size: .72rem; color: var(--c-muted); }

.main-navigation {
	display: flex;
	align-items: center;
	gap: 28px;
}
.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-menu a {
	color: var(--c-ink);
	font-family: var(--font-head);
	font-weight: 600;
	font-size: .95rem;
}
.nav-menu a:hover { color: var(--c-cyan); }
.nav-menu .current-menu-item > a { color: var(--c-purple); }
.nav-cta { flex: none; }

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	border: 1px solid var(--c-line);
	border-radius: 10px;
	background: #fff;
}
.nav-toggle-bar {
	width: 20px;
	height: 2px;
	background: var(--c-ink);
	margin: 0 auto;
	transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   4. Hero
   ===================================================== */
.hero-slider { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 100px) 0 clamp(28px, 4vw, 56px); }
.hero-bg {
	position: absolute;
	inset: -20% -10% auto -10%;
	height: 140%;
	background: var(--gradient-brand-soft);
	filter: blur(10px);
	z-index: -1;
}

/* Slide track: one full-width slide per screen, translated horizontally by JS. */
.hero-slider-track {
	display: flex;
	width: 100%;
	transition: transform .6s cubic-bezier(.65,0,.35,1);
}
.hero-slide { flex: 0 0 100%; min-width: 0; }

.hero-inner {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 48px;
	align-items: center;
}
.hero-slide h2 { margin-bottom: .4em; font-size: clamp(2.1rem, 1.6rem + 2vw, 3.4rem); }
.hero-lede { font-size: 1.1rem; color: var(--c-body); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 24px; }
.hero-trust {
	display: flex; flex-wrap: wrap; gap: 10px 22px;
	font-size: .85rem; font-weight: 600; color: var(--c-ink);
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before {
	content: "";
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--gradient-brand);
	flex: none;
}

.hero-card {
	position: relative;
	aspect-ratio: 1 / 1;
	max-width: 380px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #fff;
	box-shadow: var(--shadow-md);
}
.hero-card-glow {
	position: absolute;
	inset: 10%;
	border-radius: 50%;
	background: var(--gradient-brand);
	opacity: .12;
	filter: blur(20px);
}
.hero-card img { width: 55%; height: 55%; position: relative; }
.hero-card-icon {
	position: relative;
	width: 46%; height: 46%;
	display: flex; align-items: center; justify-content: center;
	color: var(--c-purple);
}
.hero-card-icon svg { width: 100%; height: 100%; stroke-width: 1.1; }

/* Slider controls: prev/next arrows either side of a dot row. */
.hero-slider-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: clamp(20px, 4vw, 40px);
}
.hero-slider-arrow {
	flex: none;
	width: 42px; height: 42px;
	border-radius: 50%;
	border: 1.5px solid var(--c-line);
	background: #fff;
	color: var(--c-ink);
	display: flex; align-items: center; justify-content: center;
	font-size: 1.1rem;
	transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.hero-slider-arrow:hover { border-color: var(--c-cyan); color: var(--c-cyan); transform: translateY(-1px); }
.hero-slider-dots { display: flex; align-items: center; gap: 8px; }
.hero-slider-dot {
	width: 10px; height: 10px; border-radius: 999px;
	border: none; background: var(--c-line);
	padding: 0;
	transition: width .25s ease, background .25s ease;
}
.hero-slider-dot[aria-selected="true"] { width: 30px; background: var(--gradient-brand); }
.hero-slider-dot:hover { background: var(--c-cyan); }

/* =====================================================
   5. Stats strip
   ===================================================== */
.stats-strip { padding: 30px 0; border-block: 1px solid var(--c-line); }
.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--c-ink); }
.stat-label { font-size: .82rem; color: var(--c-muted); }

/* =====================================================
   6. Cards / services grid
   ===================================================== */
.cards-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}
.card {
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-md);
	padding: 26px 24px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.card p { color: var(--c-muted); font-size: .93rem; flex: 1; }
.card-icon {
	width: 46px; height: 46px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 12px;
	background: var(--gradient-brand-soft);
	color: var(--c-purple);
	margin-bottom: 10px;
}
.card-icon svg { width: 24px; height: 24px; }
.card-icon-lg { width: 64px; height: 64px; border-radius: 16px; }
.card-icon-lg svg { width: 30px; height: 30px; }
.card-link { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--c-ink); }
.card-link:hover { color: var(--c-cyan); }

/* =====================================================
   7. Why choose us
   ===================================================== */
.why-grid {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 56px;
	align-items: start;
}
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.why-item { padding-top: 8px; border-top: 2px solid var(--c-line); }
.why-num {
	font-family: var(--font-head); font-weight: 800; font-size: .85rem;
	background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.why-item h3 { margin: 8px 0 6px; font-size: 1.05rem; }
.why-item p { color: var(--c-muted); font-size: .92rem; margin: 0; }

/* =====================================================
   8. Process
   ===================================================== */
.process-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.process-step { position: relative; padding: 28px 22px; border-radius: var(--radius-md); background: var(--c-bg-alt); }
.process-index {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 50%;
	background: var(--gradient-brand); color: #fff;
	font-family: var(--font-head); font-weight: 700; font-size: .95rem;
	margin-bottom: 14px;
}
.process-step p { color: var(--c-muted); font-size: .92rem; margin: 0; }

/* =====================================================
   9. CTA banner
   ===================================================== */
.cta-banner { background: var(--c-dark); background-image: radial-gradient(circle at 15% 20%, rgba(124,92,246,.35), transparent 45%), radial-gradient(circle at 85% 80%, rgba(45,212,191,.3), transparent 45%); color: #fff; }
.cta-banner-inner { text-align: center; max-width: 640px; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #C6CADE; margin-bottom: 26px; }

/* =====================================================
   10. Page hero (inner pages)
   ===================================================== */
.page-hero {
	padding: 56px 0 34px;
	background: var(--gradient-brand-soft);
}
.page-hero h1 { margin-bottom: .3em; }
.page-content-narrow { max-width: 780px; margin: 0 auto; }
.page-content { max-width: 780px; margin: 0 auto 20px; }

/* =====================================================
   11. Services detail list
   ===================================================== */
.services-detail-list { display: flex; flex-direction: column; gap: 46px; margin-top: 10px; }
.service-detail {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 30px;
	align-items: start;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--c-line);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.is-reverse { direction: rtl; }
.service-detail.is-reverse > * { direction: ltr; }
.service-detail-copy p { color: var(--c-muted); }

/* Sub-navigation shown under an inner page's hero (e.g. Services page: Services / Compare / FAQs) */
.page-subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.page-subnav a {
	font-family: var(--font-head); font-weight: 600; font-size: .88rem;
	color: var(--c-ink); background: #fff; border: 1.5px solid var(--c-line);
	padding: 8px 18px; border-radius: 999px;
}
.page-subnav a:hover { border-color: var(--c-cyan); color: var(--c-cyan); }

/* =====================================================
   11a. Compare our services table
   ===================================================== */
.compare-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-md);
	background: #fff;
	-webkit-overflow-scrolling: touch;
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th,
.compare-table td {
	padding: 14px 18px;
	text-align: center;
	border-bottom: 1px solid var(--c-line);
	font-size: .92rem;
}
.compare-table thead th {
	font-family: var(--font-head); font-weight: 700; color: var(--c-ink);
	background: var(--c-bg-alt);
	white-space: nowrap;
}
.compare-subtitle { display: block; font-family: var(--font-body); font-weight: 400; font-size: .75rem; color: var(--c-muted); white-space: nowrap; margin-top: 2px; }
.compare-table .compare-row-label {
	text-align: left;
	font-weight: 600;
	color: var(--c-ink);
	background: var(--c-bg-alt);
	min-width: 260px;
}
.compare-table thead .compare-row-label { background: var(--c-bg-alt); }
.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th { border-bottom: none; }
.compare-table tbody tr:hover td,
.compare-table tbody tr:hover th.compare-row-label { background: var(--gradient-brand-soft); }
.compare-row-suited td,
.compare-row-suited th { font-size: .85rem; color: var(--c-muted); }
.compare-yes {
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px; border-radius: 50%;
	background: var(--gradient-brand); color: #fff; font-weight: 700; font-size: .85rem;
}
.compare-no { color: var(--c-muted); font-size: 1rem; }
.compare-partial { font-size: .82rem; font-weight: 600; color: var(--c-cyan); }
.compare-footnote { color: var(--c-muted); font-size: .88rem; margin: 18px 2px 0; }

/* =====================================================
   11b. FAQ accordion
   ===================================================== */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq-item {
	border: 1px solid var(--c-line);
	border-radius: var(--radius-md);
	padding: 6px 22px;
	background: #fff;
}
.faq-item[open] { border-color: var(--c-cyan); }
.faq-item summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0;
	font-family: var(--font-head);
	font-weight: 600;
	color: var(--c-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: "+";
	flex: none;
	width: 26px; height: 26px;
	border-radius: 50%;
	background: var(--c-bg-alt);
	color: var(--c-purple);
	display: flex; align-items: center; justify-content: center;
	font-size: 1.1rem; font-weight: 700;
	transition: transform .15s ease, background .15s ease;
}
.faq-item[open] summary::after { content: "\2212"; background: var(--gradient-brand); color: #fff; }
.faq-item p { color: var(--c-muted); padding-bottom: 18px; margin: 0; }

/* =====================================================
   12. About page
   ===================================================== */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.about-value { padding: 20px; border-radius: var(--radius-md); background: var(--c-bg-alt); }
.about-value p { color: var(--c-muted); font-size: .9rem; margin: 0; }
.about-card {
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg);
	padding: 28px; box-shadow: var(--shadow-sm); position: sticky; top: 100px;
}
.check-list li {
	position: relative; padding: 8px 0 8px 26px; font-size: .93rem; color: var(--c-ink);
	border-bottom: 1px dashed var(--c-line);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
	content: "\2713"; position: absolute; left: 0; top: 8px;
	color: var(--c-teal); font-weight: 700;
}
.about-card .btn { margin-top: 18px; width: 100%; }

/* =====================================================
   13. Contact page
   ===================================================== */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.contact-form-wrap { background: #fff; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row-split { flex-direction: row; gap: 18px; }
.form-row-split > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.contact-form label { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--c-ink); }
.contact-form input,
.contact-form select,
.contact-form textarea {
	border: 1.5px solid var(--c-line);
	border-radius: var(--radius-sm);
	padding: 12px 14px;
	background: var(--c-bg-alt);
	color: var(--c-ink);
	width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--c-cyan);
	background: #fff;
}
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-small-print { font-size: .8rem; color: var(--c-muted); margin: 0; }
.form-notice { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; font-size: .92rem; }
.form-notice-success { background: rgba(45, 212, 191, .14); color: #0F7A6C; }
.form-notice-error { background: rgba(240, 82, 82, .12); color: #C0392B; }
.contact-note { font-size: .85rem; color: var(--c-muted); margin-top: 14px; }
.contact-list li strong { color: var(--c-ink); }

/* =====================================================
   14. Blog / posts
   ===================================================== */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card-thumb { display: block; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 14px; }
.post-meta { font-size: .8rem; color: var(--c-muted); margin-bottom: 6px; }
.pagination { margin-top: 40px; display: flex; justify-content: center; gap: 10px; }
.single-thumb { border-radius: var(--radius-md); overflow: hidden; margin-bottom: 26px; }
.error-404-section { text-align: center; padding: 100px 0; }
.error-404-inner { max-width: 520px; margin: 0 auto; }
.error-404-inner .hero-actions { justify-content: center; }

/* =====================================================
   15. Footer
   ===================================================== */
.site-footer { background: var(--c-dark-2); color: #C6CADE; }
.footer-cta { background: var(--c-dark); }
.footer-cta-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 40px 0; flex-wrap: wrap;
}
.footer-cta-inner h2 { color: #fff; margin-bottom: .2em; }
.footer-cta-inner p { color: #B7BBD3; margin: 0; }

.footer-main {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
	padding: 56px 0 30px;
}
.footer-col .footer-widget-title { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-brand .site-brand-name { color: #fff; }
.footer-brand p { font-size: .9rem; color: #A9AEC6; margin: 14px 0 18px; }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { color: #C6CADE; font-size: .85rem; font-weight: 600; }
.footer-socials a:hover { color: var(--c-teal); }
.footer-list li { margin-bottom: 10px; }
.footer-list a { color: #C6CADE; font-size: .9rem; }
.footer-list a:hover { color: var(--c-teal); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
.footer-bottom p { margin: 0; font-size: .8rem; color: #9095AF; }

.back-to-top {
	position: fixed; right: 22px; bottom: 22px;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--gradient-brand); color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-md);
	opacity: 0; pointer-events: none; transform: translateY(10px);
	transition: opacity .2s ease, transform .2s ease;
	z-index: 200;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
	.hero-slider-track { transition: none; }
}

/* =====================================================
   16. Responsive
   ===================================================== */
@media (max-width: 1024px) {
	.hero-inner { grid-template-columns: 1fr; }
	.hero-card { order: -1; max-width: 240px; }
	.cards-grid { grid-template-columns: repeat(2, 1fr); }
	.why-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
	.about-card { position: static; }
	.process-grid { grid-template-columns: repeat(2, 1fr); }
	.posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
	.topbar-inner { justify-content: center; flex-wrap: wrap; gap: 10px 18px; }
	.nav-toggle { display: flex; }
	.main-navigation {
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: #fff;
		border-bottom: 1px solid var(--c-line);
		flex-direction: column;
		align-items: stretch;
		padding: 10px 24px 22px;
		display: none;
		box-shadow: var(--shadow-sm);
	}
	.main-navigation.is-open { display: flex; }
	.nav-menu { flex-direction: column; align-items: flex-start; gap: 4px; }
	.nav-menu a { display: block; padding: 10px 0; width: 100%; }
	.nav-cta { margin-top: 10px; align-self: flex-start; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
	.why-list { grid-template-columns: 1fr; }
	.footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	.cards-grid { grid-template-columns: 1fr; }
	.process-grid { grid-template-columns: 1fr; }
	.posts-grid { grid-template-columns: 1fr; }
	.service-detail { grid-template-columns: 1fr; }
	.service-detail.is-reverse { direction: ltr; }
	.about-values { grid-template-columns: 1fr; }
	.footer-main { grid-template-columns: 1fr; }
	.footer-cta-inner { flex-direction: column; align-items: flex-start; }
	.form-row-split { flex-direction: column; }
	.hero-actions .btn, .error-404-inner .btn { width: 100%; }
	.hero-slider-arrow { width: 36px; height: 36px; font-size: 1rem; }
	.hero-slider-controls { gap: 10px; }
}
