/*
Theme Name: ARCVISTA Design & Build
Theme URI: https://example.com/arcvista
Author: ARCVISTA
Description: A colourful, 3D-styled construction and interior design theme with services, projects, locations, blog, enquiry capture and built-in SEO / AEO / GEO markup.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: arcvista
Tags: construction, interior-design, business, three-columns, custom-colors
*/

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
	--ink: #0a1226;
	--ink-2: #132247;
	--ink-3: #1d3161;
	--cloud: #f2f6fd;
	--mint: #e9fbf6;
	--lilac: #f2f0ff;
	--white: #ffffff;

	--indigo: #4f5bf2;
	--sky: #2ea8ff;
	--teal: #0fc2a8;
	--violet: #8b6cf6;
	--amber: #ffb03a;
	--rose: #ff6b8b;

	--head: #0d1a33;
	--body: #4d5b78;
	--body-dark: #b7c6e6;
	--line: #e3ebf7;
	--line-dark: rgba(255, 255, 255, .14);

	--radius: 18px;
	--radius-sm: 12px;
	--radius-lg: 28px;
	--shadow-sm: 0 2px 8px rgba(13, 26, 51, .06);
	--shadow: 0 18px 40px -22px rgba(13, 26, 51, .38);
	--shadow-lg: 0 40px 80px -40px rgba(13, 26, 51, .55);
	--maxw: 1220px;
	--gutter: 28px;
	--sp: 96px;

	--font-display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ============================================================
   2. BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--body);
	background: var(--white);
	overflow-x: hidden;
}

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

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

h1, h2, h3, h4, h5 {
	font-family: var(--font-display);
	color: var(--head);
	line-height: 1.15;
	margin: 0 0 .5em;
	letter-spacing: -.02em;
	font-weight: 700;
}

h1 { font-size: clamp(38px, 5.2vw, 62px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: clamp(21px, 2.2vw, 27px); }
h4 { font-size: 19px; }

p { margin: 0 0 1.15em; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: .5em; }

:focus-visible {
	outline: 3px solid var(--sky);
	outline-offset: 3px;
	border-radius: 6px;
}

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

.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--ink); color: #fff; padding: 12px 18px; z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

/* ============================================================
   3. LAYOUT
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }

.band { padding: var(--sp) 0; position: relative; overflow: hidden; }
.band--tight { padding: 64px 0; }

.band--white { background: var(--white); }
.band--cloud { background: var(--cloud); }
.band--mint { background: var(--mint); }
.band--lilac { background: var(--lilac); }

.band--deep {
	background:
		radial-gradient(900px 460px at 12% -10%, rgba(79, 91, 242, .45), transparent 62%),
		radial-gradient(760px 420px at 96% 8%, rgba(15, 194, 168, .32), transparent 60%),
		linear-gradient(160deg, #0a1226 0%, #16264f 58%, #0d1832 100%);
	color: var(--body-dark);
}
.band--indigo {
	background: linear-gradient(125deg, #4f5bf2 0%, #2ea8ff 52%, #0fc2a8 100%);
	color: rgba(255, 255, 255, .92);
}

.band--deep h1, .band--deep h2, .band--deep h3, .band--deep h4,
.band--indigo h1, .band--indigo h2, .band--indigo h3, .band--indigo h4 { color: #fff; }
.band--deep a, .band--indigo a { color: #fff; }

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--sidebar { grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: start; }

.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head p { font-size: 18px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 9px;
	font-family: var(--font-display);
	font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--indigo);
	background: rgba(79, 91, 242, .1);
	border-radius: 999px; padding: 7px 15px; margin-bottom: 16px;
}
.band--deep .eyebrow, .band--indigo .eyebrow {
	color: #fff; background: rgba(255, 255, 255, .16);
}
.eyebrow::before {
	content: ""; width: 7px; height: 7px; border-radius: 50%;
	background: currentColor; opacity: .85;
}

.lead { font-size: 19px; color: var(--body); }
.band--deep .lead, .band--indigo .lead { color: rgba(255, 255, 255, .82); }

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-family: var(--font-display); font-weight: 600; font-size: 15.5px;
	padding: 15px 26px; min-height: 48px;
	border-radius: 999px; border: 0; cursor: pointer;
	transition: transform .22s cubic-bezier(.2, .8, .3, 1), box-shadow .22s ease, background .22s ease;
	text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
	background: linear-gradient(120deg, var(--indigo), var(--sky));
	color: #fff;
	box-shadow: 0 14px 30px -14px rgba(79, 91, 242, .85);
}
.btn--primary:hover { color: #fff; box-shadow: 0 20px 38px -14px rgba(46, 168, 255, .9); }

.btn--accent {
	background: linear-gradient(120deg, var(--amber), #ff8f5e);
	color: #21160a;
	box-shadow: 0 14px 30px -16px rgba(255, 176, 58, .9);
}
.btn--accent:hover { color: #21160a; }

.btn--ghost {
	background: transparent; color: var(--head);
	box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover { color: var(--indigo); box-shadow: inset 0 0 0 1.5px var(--indigo); }

.band--deep .btn--ghost, .band--indigo .btn--ghost {
	color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45);
}
.btn--sm { padding: 11px 18px; min-height: 42px; font-size: 14px; }
.btn--block { width: 100%; }

/* ============================================================
   5. HEADER
   ============================================================ */
.site-header {
	position: sticky; top: 0; z-index: 90;
	background: rgba(255, 255, 255, .86);
	backdrop-filter: saturate(150%) blur(14px);
	-webkit-backdrop-filter: saturate(150%) blur(14px);
	border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.topbar {
	background: linear-gradient(110deg, var(--ink), var(--ink-3));
	color: rgba(255, 255, 255, .78);
	font-size: 13.5px;
}
.topbar .wrap { display: flex; gap: 20px; justify-content: space-between; align-items: center; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: rgba(255, 255, 255, .88); }
.topbar a:hover { color: var(--amber); }
.topbar__list { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
	width: 42px; height: 42px; border-radius: 13px;
	background: linear-gradient(135deg, var(--indigo), var(--sky) 55%, var(--teal));
	display: grid; place-items: center; color: #fff; flex: none;
	box-shadow: 0 10px 22px -12px rgba(79, 91, 242, .95);
}
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--head); line-height: 1.05; letter-spacing: -.02em; }
.brand__sub { display: block; font-family: var(--font-body); font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--indigo); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav li { margin: 0; position: relative; }
.nav a {
	display: block; padding: 10px 14px; border-radius: 10px;
	font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--head);
}
.nav a:hover, .nav .current-menu-item > a, .nav .current_page_item > a {
	color: var(--indigo); background: rgba(79, 91, 242, .09);
}
.nav .sub-menu {
	position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px;
	background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px;
	box-shadow: var(--shadow); display: none; flex-direction: column; gap: 2px; z-index: 20;
}
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { display: flex; }

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
	display: none; width: 46px; height: 46px; border-radius: 12px;
	border: 1px solid var(--line); background: #fff; cursor: pointer;
	align-items: center; justify-content: center; color: var(--head);
}

/* ============================================================
   6. HERO / 3D
   ============================================================ */
.hero {
	position: relative; padding: clamp(64px, 8vw, 108px) 0 clamp(72px, 9vw, 120px);
	background:
		radial-gradient(1100px 520px at 8% -12%, rgba(79, 91, 242, .5), transparent 60%),
		radial-gradient(900px 500px at 92% 4%, rgba(15, 194, 168, .35), transparent 58%),
		linear-gradient(158deg, #081029 0%, #16264f 55%, #0b1631 100%);
	color: var(--body-dark);
	overflow: hidden;
	perspective: 1400px;
}
.hero::after {
	content: ""; position: absolute; inset: auto 0 -2px 0; height: 120px;
	background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .06));
	pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 54px; align-items: center; position: relative; z-index: 2; }
.hero h1 { color: #fff; }
.hero h1 .grad {
	background: linear-gradient(100deg, var(--sky), var(--teal) 48%, var(--amber));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: rgba(255, 255, 255, .8); font-size: 19px; max-width: 54ch; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

.iso-grid {
	position: absolute; inset: 0; opacity: .3; pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
	background-size: 62px 62px;
	transform: perspective(700px) rotateX(58deg) translateY(28%) scale(2.1);
	transform-origin: center bottom;
	mask-image: linear-gradient(180deg, transparent 42%, #000 100%);
	-webkit-mask-image: linear-gradient(180deg, transparent 42%, #000 100%);
}

.deck { position: relative; height: 440px; transform-style: preserve-3d; }
.deck__card {
	position: absolute; border-radius: 20px; overflow: hidden;
	box-shadow: var(--shadow-lg);
	border: 1px solid rgba(255, 255, 255, .18);
	background: #0f1c3a;
	will-change: transform;
}
.deck__card img { width: 100%; height: 100%; object-fit: cover; }
.deck__card--a { width: 62%; height: 62%; top: 0; left: 0; }
.deck__card--b { width: 54%; height: 50%; bottom: 4%; right: 2%; }
.deck__card--c { width: 42%; height: 34%; bottom: 26%; left: 16%; }

.deck__badge {
	position: absolute; right: 6%; top: 6%;
	background: rgba(255, 255, 255, .96); color: var(--head);
	border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg);
	font-family: var(--font-display); font-weight: 700; line-height: 1.15;
}
.deck__badge span { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo); }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px; position: relative; z-index: 2; }
.stat {
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 16px; padding: 20px 22px; backdrop-filter: blur(6px);
}
.stat b { display: block; font-family: var(--font-display); font-size: 32px; color: #fff; line-height: 1; }
.stat span { font-size: 13.5px; color: rgba(255, 255, 255, .72); }

/* ============================================================
   7. CARDS
   ============================================================ */
.card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; box-shadow: var(--shadow-sm);
	display: flex; flex-direction: column;
	transition: transform .3s cubic-bezier(.2, .8, .3, 1), box-shadow .3s ease, border-color .3s ease;
	transform-style: preserve-3d;
}
.card:hover { box-shadow: var(--shadow); border-color: rgba(79, 91, 242, .35); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--ink-2), var(--indigo)); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { margin: 0; font-size: 21px; }
.card__body p { margin: 0; font-size: 15.5px; }
.card__foot { margin-top: auto; padding-top: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--indigo); display: inline-flex; align-items: center; gap: 7px; }
.card__foot::after { content: "\2192"; transition: transform .25s ease; }
.card:hover .card__foot::after { transform: translateX(4px); }

.chip {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 12.5px; font-weight: 700; font-family: var(--font-display);
	letter-spacing: .04em; padding: 5px 11px; border-radius: 999px;
	background: rgba(46, 168, 255, .12); color: #0b6ba8;
}
.chip--teal { background: rgba(15, 194, 168, .14); color: #067a68; }
.chip--violet { background: rgba(139, 108, 246, .14); color: #5b3ec4; }
.chip--amber { background: rgba(255, 176, 58, .18); color: #8a5a05; }
.chip--rose { background: rgba(255, 107, 139, .15); color: #b53355; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.card--icon { padding: 28px; gap: 12px; }
.card--icon .icon-badge { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; margin-bottom: 6px; }
.ic--indigo { background: linear-gradient(135deg, var(--indigo), #6f7bff); }
.ic--sky { background: linear-gradient(135deg, var(--sky), #6cc7ff); }
.ic--teal { background: linear-gradient(135deg, var(--teal), #4ee0c8); }
.ic--violet { background: linear-gradient(135deg, var(--violet), #b39bff); }
.ic--amber { background: linear-gradient(135deg, var(--amber), #ffd08a); color: #2b1c05; }
.ic--rose { background: linear-gradient(135deg, var(--rose), #ff9db3); }

.band--deep .card, .band--indigo .card {
	background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); color: var(--body-dark);
}
.band--deep .card h3, .band--indigo .card h3 { color: #fff; }
.band--deep .card__foot, .band--indigo .card__foot { color: var(--amber); }

/* 3D tilt */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); }
.tilt > * { transform: translateZ(18px); }

/* ============================================================
   8. CONTENT BLOCKS
   ============================================================ */
.breadcrumbs { font-size: 13.5px; color: var(--body); margin-bottom: 14px; }
.breadcrumbs a { color: inherit; }
.breadcrumbs span + span::before { content: "/"; margin: 0 8px; opacity: .5; }
.band--deep .breadcrumbs, .hero .breadcrumbs { color: rgba(255, 255, 255, .72); }
.band--deep .breadcrumbs a, .hero .breadcrumbs a { color: rgba(255, 255, 255, .9); }

.page-hero {
	padding: 74px 0 66px;
	background:
		radial-gradient(800px 380px at 6% -20%, rgba(79, 91, 242, .5), transparent 60%),
		linear-gradient(150deg, #0a1226, #17284f 70%, #0c1731);
	color: rgba(255, 255, 255, .82);
}
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { max-width: 62ch; color: rgba(255, 255, 255, .8); }

.prose { font-size: 17.5px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); margin: 1.4em 0; }
.prose blockquote {
	margin: 1.6em 0; padding: 20px 26px; border-left: 4px solid var(--indigo);
	background: var(--cloud); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-size: 18px; color: var(--head);
}
.prose ul li::marker { color: var(--indigo); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.check-list svg { flex: none; margin-top: 3px; color: var(--teal); }

.panel {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 28px; box-shadow: var(--shadow-sm);
}
.panel--sticky { position: sticky; top: 110px; }
.band--deep .panel { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.media-3d {
	border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
	background: linear-gradient(135deg, var(--ink-2), var(--indigo) 55%, var(--teal));
	min-height: 220px;
	transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
	transition: transform .5s ease;
}
.media-3d:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.media-3d img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.accordion + .accordion { margin-top: 12px; }
.accordion__q {
	width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
	padding: 20px 54px 20px 22px; font-family: var(--font-display); font-weight: 600;
	font-size: 17px; color: var(--head); position: relative;
}
.accordion__q::after {
	content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
	font-size: 24px; color: var(--indigo); line-height: 1;
}
.accordion.is-open .accordion__q::after { content: "\2013"; }
.accordion__a { padding: 0 22px 20px; display: none; font-size: 16px; }
.accordion.is-open .accordion__a { display: block; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-bar button {
	border: 1px solid var(--line); background: #fff; color: var(--head);
	font-family: var(--font-display); font-weight: 600; font-size: 14px;
	padding: 9px 16px; border-radius: 999px; cursor: pointer; min-height: 40px;
	transition: all .2s ease;
}
.filter-bar button:hover { border-color: var(--indigo); color: var(--indigo); }
.filter-bar button.is-active { background: linear-gradient(120deg, var(--indigo), var(--sky)); color: #fff; border-color: transparent; }

.is-hidden { display: none !important; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; }
th { font-family: var(--font-display); color: var(--head); background: var(--cloud); }

/* ============================================================
   9. FORMS
   ============================================================ */
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--head); margin-bottom: 7px; }
.field input, .field select, .field textarea {
	width: 100%; padding: 13px 15px; min-height: 48px;
	font-family: var(--font-body); font-size: 16px; color: var(--head);
	border: 1px solid var(--line); border-radius: 12px; background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
	border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(79, 91, 242, .14); outline: none;
}
.field--error input, .field--error select, .field--error textarea { border-color: var(--rose); }
.field__error { color: #c62a4c; font-size: 13.5px; margin-top: 6px; }
.form-note { font-size: 13.5px; color: var(--body); }

.notice { border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-size: 15.5px; }
.notice--ok { background: rgba(15, 194, 168, .12); color: #07705f; }
.notice--bad { background: rgba(255, 107, 139, .12); color: #b02f4f; }

.band--deep .field label { color: #fff; }
.band--deep .field input, .band--deep .field select, .band--deep .field textarea {
	background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff;
}
.band--deep .field input::placeholder, .band--deep .field textarea::placeholder { color: rgba(255, 255, 255, .55); }

/* ============================================================
   10. FLOATING ACTIONS
   ============================================================ */
.float-actions {
	position: fixed; right: 18px; bottom: 18px; z-index: 80;
	display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
	width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
	color: #fff; box-shadow: var(--shadow); transition: transform .2s ease;
}
.float-btn:hover { transform: translateY(-3px); color: #fff; }
.float-btn--wa { background: linear-gradient(135deg, #25d366, #128c50); }
.float-btn--call { background: linear-gradient(135deg, var(--indigo), var(--sky)); }
.float-btn__label {
	position: absolute; right: 64px; white-space: nowrap; background: var(--ink); color: #fff;
	font-size: 13px; padding: 6px 10px; border-radius: 8px; opacity: 0; pointer-events: none;
	transition: opacity .2s ease;
}
.float-btn:hover .float-btn__label { opacity: 1; }

/* ============================================================
   11. FOOTER
   ============================================================ */
.site-footer {
	background: linear-gradient(160deg, #081029 0%, #10203f 60%, #0a1428 100%);
	color: rgba(255, 255, 255, .74); padding: 72px 0 0;
}
.site-footer h4 { color: #fff; font-size: 16px; letter-spacing: .04em; margin-bottom: 16px; }
.site-footer a { color: rgba(255, 255, 255, .74); font-size: 15px; }
.site-footer a:hover { color: var(--amber); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-list li { margin: 0; }
.footer-bottom {
	margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .12);
	padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	font-size: 14px;
}
.social-row { display: flex; gap: 10px; }
.social-row a {
	width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
	background: rgba(255, 255, 255, .09); color: #fff;
}
.social-row a:hover { background: linear-gradient(135deg, var(--indigo), var(--sky)); color: #fff; }

/* ============================================================
   12. MOTION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .3, 1); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ============================================================
   13. RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
	:root { --sp: 72px; }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.hero__grid { grid-template-columns: 1fr; gap: 40px; }
	.deck { height: 380px; }
	.grid--sidebar { grid-template-columns: 1fr; }
	.panel--sticky { position: static; }
}

@media (max-width: 900px) {
	.nav, .header-cta .btn--ghost { display: none; }
	.nav-toggle { display: flex; }
	.site-header.is-open .nav {
		display: block; position: absolute; left: 0; right: 0; top: 100%;
		background: #fff; border-bottom: 1px solid var(--line); padding: 14px var(--gutter) 22px;
		box-shadow: var(--shadow); max-height: 76vh; overflow-y: auto;
	}
	.site-header.is-open .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.site-header.is-open .nav a { padding: 13px 12px; }
	.site-header.is-open .nav .sub-menu { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 0 14px; }
	.grid--3, .grid--2 { grid-template-columns: 1fr; }
	.split { grid-template-columns: 1fr; gap: 32px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.stat-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
	:root { --sp: 56px; --gutter: 20px; }
	body { font-size: 16px; }
	.grid--4 { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.deck { height: 320px; }
	.topbar__list { gap: 12px; font-size: 12.5px; }
	.hero__actions .btn { width: 100%; }
	.media-3d { transform: none; }
}

/* ============================================================
   14. FALLBACKS & PAGINATION
   ============================================================ */
.img-fallback {
	width: 100%; height: 100%; min-height: 200px;
	background:
		radial-gradient(600px 240px at 20% 0%, rgba(255, 255, 255, .18), transparent 60%),
		linear-gradient(135deg, var(--ink-2), var(--indigo) 55%, var(--teal));
}
.card__media .img-fallback { min-height: 0; aspect-ratio: 16 / 10; }

.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; min-height: 44px; padding: 0 12px; margin-right: 8px;
	border-radius: 12px; border: 1px solid var(--line);
	font-family: var(--font-display); font-weight: 600; color: var(--head); background: #fff;
}
.page-numbers:hover { border-color: var(--indigo); color: var(--indigo); }
.page-numbers.current {
	background: linear-gradient(120deg, var(--indigo), var(--sky));
	border-color: transparent; color: #fff;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 4px; }
.screen-reader-text + .nav-links { margin-top: 8px; }

.widget { margin-bottom: 18px; }
.widget ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

.comment-list { list-style: none; padding: 0; }
.comment-body { border-bottom: 1px solid var(--line); padding: 16px 0; }
