/* ==========================================================================
   SquareAero Theme — main stylesheet
   Class-based CSS (BEM-style). No inline styles used anywhere in templates.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
	--c-bg: #070b18;
	--c-bg-alt: #0b1122;
	--c-surface: #111a31;
	--c-surface-2: #16213d;
	--c-border: rgba(148, 163, 255, 0.14);
	--c-text: #e7ebff;
	--c-muted: #98a2c3;
	--c-primary: #5b7cff;
	--c-secondary: #9b5bff;
	--c-accent: #22d3ee;
	--c-success: #22c55e;
	--c-error: #f43f5e;
	--grad: linear-gradient(135deg, var(--c-primary) 0%, var(--c-secondary) 100%);
	--grad-text: linear-gradient(90deg, #7dd3fc 0%, #818cf8 45%, #c084fc 100%);

	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-head: "Space Grotesk", "Inter", system-ui, sans-serif;
	--f-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
	--shadow-glow: 0 10px 40px -10px rgba(91, 124, 255, 0.55);
	--container: 1440px;
	--header-h: 76px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Base / reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--c-primary); color: #fff; }

.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: 16px; top: -60px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--c-primary);
	color: #fff;
	border-radius: var(--radius-sm);
	transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

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

/* ---------- 3. Layout helpers ---------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}
.container--narrow { max-width: 820px; }

.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--c-bg-alt); border-block: 1px solid var(--c-border); }
.section--cta { padding: 90px 0 120px; }

.card-grid { display: grid; gap: 24px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 64px;
}
.split__image { border-radius: var(--radius-lg); border: 1px solid var(--c-border); box-shadow: var(--shadow); width: 100%; object-fit: cover; }

.text-gradient {
	background: var(--grad-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	display: block;
}

/* ---------- 4. Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 24px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
	white-space: nowrap;
}
.btn .sa-icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover .sa-icon { transform: translateX(4px); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(155, 91, 255, 0.7); }

.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--c-border); color: var(--c-text); }
.btn--ghost:hover { border-color: var(--c-primary); background: rgba(91, 124, 255, 0.1); }

.btn--light { background: #fff; color: #0b1122; }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(255, 255, 255, 0.5); }

/* ---------- 5. Badges / eyebrow / icons ---------- */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(91, 124, 255, 0.1);
	border: 1px solid rgba(91, 124, 255, 0.3);
	color: #c7d2ff;
	font-size: 13px;
	font-weight: 500;
}
.badge__dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--c-accent);
	box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.2);
	animation: pulse 2s infinite;
}

.eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-accent);
}

.sa-icon { width: 24px; height: 24px; flex-shrink: 0; }

.icon-box {
	display: inline-grid;
	place-items: center;
	width: 56px; height: 56px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(91, 124, 255, 0.18), rgba(155, 91, 255, 0.18));
	border: 1px solid rgba(91, 124, 255, 0.3);
	color: #a5b4fc;
}
.icon-box--sm { width: 46px; height: 46px; border-radius: 12px; }
.icon-box--sm .sa-icon { width: 20px; height: 20px; }

/* ---------- 6. Header ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: var(--header-h);
	transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
	background: rgba(7, 11, 24, 0.8);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom-color: var(--c-border);
}
.admin-bar .site-header { top: 32px; }

.site-header__inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__logo { max-height: 44px; width: auto; }
.brand__mark {
	width: 34px; height: 34px;
	border-radius: 10px;
	background: var(--grad);
	box-shadow: var(--shadow-glow);
	position: relative;
}
.brand__mark::after {
	content: "";
	position: absolute;
	inset: 9px;
	border: 2px solid #fff;
	border-radius: 4px;
}
.brand__name { font-family: var(--f-head); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav__list { display: flex; align-items: center; gap: 6px; }
.site-nav__link {
	display: block;
	padding: 8px 14px;
	border-radius: 999px;
	color: var(--c-muted);
	font-weight: 500;
	font-size: 15px;
	transition: color 0.2s, background 0.2s;
}
.site-nav__link:hover { color: var(--c-text); background: rgba(255, 255, 255, 0.05); }
.current-menu-item > .site-nav__link,
.current_page_item > .site-nav__link { color: var(--c-text); background: rgba(91, 124, 255, 0.14); }

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px; height: 44px;
	padding: 0 11px;
	border-radius: 12px;
	border: 1px solid var(--c-border);
	background: rgba(255, 255, 255, 0.04);
	cursor: pointer;
}
.nav-toggle__bar { display: block; height: 2px; border-radius: 2px; background: var(--c-text); transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.is-active .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. Hero banner ---------- */
.hero {
	position: relative;
	padding: calc(var(--header-h) + 90px) 0 110px;
	overflow: hidden;
	isolation: isolate;
}
.hero__glow {
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	filter: blur(90px);
	opacity: 0.55;
	pointer-events: none;
}
.hero__glow--one { width: 520px; height: 520px; background: var(--c-primary); top: -160px; left: -120px; }
.hero__glow--two { width: 460px; height: 460px; background: var(--c-secondary); bottom: -180px; right: -100px; opacity: 0.4; }
.hero__grid-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(148, 163, 255, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 163, 255, 0.07) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.hero__inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: center;
	gap: 64px;
}
.hero__title {
	margin: 24px 0 22px;
	font-size: clamp(38px, 5.4vw, 66px);
	font-weight: 700;
	letter-spacing: -0.035em;
}
.hero__text { max-width: 560px; font-size: 18px; color: var(--c-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__visual { position: relative; }
.hero__image { border-radius: var(--radius-lg); border: 1px solid var(--c-border); box-shadow: var(--shadow); }

/* Code card (hero visual fallback) */
.code-card {
	background: rgba(17, 26, 49, 0.85);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow), var(--shadow-glow);
	backdrop-filter: blur(10px);
	overflow: hidden;
	animation: float 7s ease-in-out infinite;
}
.code-card__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--c-border);
	background: rgba(255, 255, 255, 0.02);
}
.code-card__dot { width: 12px; height: 12px; border-radius: 50%; }
.code-card__dot--red { background: #ff5f57; }
.code-card__dot--yellow { background: #febc2e; }
.code-card__dot--green { background: #28c840; }
.code-card__file { margin-left: 10px; font-family: var(--f-mono); font-size: 13px; color: var(--c-muted); }
.code-card__body {
	margin: 0;
	padding: 26px 24px 30px;
	font-family: var(--f-mono);
	font-size: 14.5px;
	line-height: 1.85;
	color: #cbd5ff;
	white-space: pre;
	overflow-x: auto;
}
.tok-k { color: #c084fc; }
.tok-v { color: #7dd3fc; }
.tok-f { color: #60a5fa; }
.tok-p { color: #f9a8d4; }
.tok-s { color: #86efac; }
.tok-c { color: #64748b; }

.float-card {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 14px;
	background: rgba(22, 33, 61, 0.92);
	border: 1px solid var(--c-border);
	box-shadow: var(--shadow);
	backdrop-filter: blur(10px);
	color: var(--c-accent);
	animation: float 6s ease-in-out infinite;
}
.float-card--top { top: -26px; right: -18px; animation-delay: -2s; }
.float-card--bottom { bottom: -26px; left: -26px; animation-delay: -4s; color: var(--c-success); }
.float-card__text { display: flex; flex-direction: column; font-size: 12px; color: var(--c-muted); line-height: 1.3; }
.float-card__num { font-family: var(--f-head); font-size: 18px; color: var(--c-text); }

/* ---------- 8. Page hero (inner pages) ---------- */
.page-hero {
	position: relative;
	padding: calc(var(--header-h) + 90px) 0 90px;
	text-align: center;
	overflow: hidden;
	isolation: isolate;
	border-bottom: 1px solid var(--c-border);
}
.page-hero--sm { padding: calc(var(--header-h) + 60px) 0 50px; }
.page-hero .hero__glow--one { left: 50%; transform: translateX(-50%); top: -300px; }
.page-hero__inner { max-width: 820px; }
.page-hero__title { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; }
.page-hero__text { margin: 20px auto 0; max-width: 620px; font-size: 18px; color: var(--c-muted); }

/* ---------- 9. Stats ---------- */
.stats { padding: 0 0 20px; }
.stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	background: rgba(17, 26, 49, 0.6);
	overflow: hidden;
}
.stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 34px 16px;
	text-align: center;
}
.stats__item + .stats__item { border-left: 1px solid var(--c-border); }
.stats__number {
	font-family: var(--f-head);
	font-size: clamp(30px, 3.4vw, 44px);
	font-weight: 700;
	background: var(--grad-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.stats__label { color: var(--c-muted); font-size: 14px; }

/* ---------- 10. Section heading ---------- */
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--left { margin-bottom: 28px; }
.section-head__title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; }
.section-head__text { margin-top: 16px; color: var(--c-muted); font-size: 17px; }

/* ---------- 11. Service cards ---------- */
.service-card {
	position: relative;
	padding: 34px 30px;
	border-radius: var(--radius);
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
	overflow: hidden;
}
.service-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(400px circle at 0% 0%, rgba(91, 124, 255, 0.15), transparent 60%);
	opacity: 0;
	transition: opacity 0.35s;
	pointer-events: none;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(91, 124, 255, 0.5); box-shadow: var(--shadow-glow); }
.service-card:hover::before { opacity: 1; }
.service-card--center { text-align: center; }
.service-card__title { margin: 22px 0 10px; font-size: 20px; font-weight: 600; }
.service-card__text { color: var(--c-muted); font-size: 15px; }

/* ---------- 12. Why-us / tech panel / check list ---------- */
.tech-panel {
	display: grid;
	gap: 26px;
	padding: 40px;
	border-radius: var(--radius-lg);
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	box-shadow: var(--shadow);
}
.tech-panel__row { display: grid; gap: 10px; }
.tech-panel__label { font-size: 14px; color: var(--c-muted); }
.tech-panel__bar {
	position: relative;
	height: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	overflow: hidden;
}
.tech-panel__bar::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	border-radius: inherit;
	background: var(--grad);
	width: 0;
	transition: width 1.4s var(--ease);
}
.is-visible .tech-panel__bar--80::after { width: 80%; }
.is-visible .tech-panel__bar--90::after { width: 90%; }
.is-visible .tech-panel__bar--95::after { width: 95%; }
.is-visible .tech-panel__bar--98::after { width: 98%; }

.check-list { display: grid; gap: 14px; }
.check-list__item {
	position: relative;
	padding-left: 36px;
	font-weight: 500;
}
.check-list__item::before {
	content: "";
	position: absolute;
	left: 0; top: 2px;
	width: 22px; height: 22px;
	border-radius: 50%;
	background: var(--grad);
}
.check-list__item::after {
	content: "";
	position: absolute;
	left: 8px; top: 7px;
	width: 5px; height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* ---------- 13. Process ---------- */
.process {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	counter-reset: step;
}
.process__step {
	position: relative;
	padding: 30px 26px;
	border-radius: var(--radius);
	border: 1px solid var(--c-border);
	background: linear-gradient(180deg, var(--c-surface) 0%, transparent 100%);
}
.process__num {
	display: inline-block;
	font-family: var(--f-head);
	font-size: 42px;
	font-weight: 700;
	line-height: 1;
	background: var(--grad-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.process__title { margin: 18px 0 8px; font-size: 19px; }
.process__text { color: var(--c-muted); font-size: 15px; }

/* ---------- 14. Testimonials ---------- */
.testimonial {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 32px 30px;
	border-radius: var(--radius);
	background: var(--c-surface);
	border: 1px solid var(--c-border);
}
.testimonial__stars { color: #fbbf24; letter-spacing: 3px; }
.testimonial__quote { flex: 1; margin: 16px 0 26px; color: #d3d9f5; font-size: 16px; }
.testimonial__author { display: flex; align-items: center; gap: 14px; }
.testimonial__meta { display: flex; flex-direction: column; line-height: 1.35; }
.testimonial__name { font-size: 15px; }
.testimonial__role { font-size: 13px; color: var(--c-muted); }

.avatar {
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	border-radius: 50%;
	background: var(--grad);
	font-family: var(--f-head);
	font-weight: 700;
	color: #fff;
}

/* ---------- 15. CTA ---------- */
.cta-box {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 60px 56px;
	border-radius: var(--radius-lg);
	background: var(--grad);
	overflow: hidden;
	isolation: isolate;
	box-shadow: var(--shadow-glow);
}
.cta-box::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
	background-size: 40px 40px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000);
	mask-image: linear-gradient(90deg, transparent, #000);
}
.cta-box__title { font-size: clamp(26px, 3.2vw, 38px); color: #fff; }
.cta-box__text { margin-top: 10px; color: rgba(255, 255, 255, 0.85); max-width: 560px; }

/* ---------- 16. About: prose, stat tiles, team ---------- */
.prose { display: grid; gap: 16px; color: var(--c-muted); font-size: 17px; }

.stat-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat-tiles__item {
	display: flex;
	flex-direction: column;
	padding: 34px 26px;
	border-radius: var(--radius);
	background: var(--c-surface);
	border: 1px solid var(--c-border);
}
.stat-tiles__item:nth-child(2),
.stat-tiles__item:nth-child(4) { transform: translateY(30px); }

.team-card {
	padding: 26px;
	border-radius: var(--radius);
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	text-align: center;
	transition: transform 0.35s var(--ease), border-color 0.35s;
}
.team-card:hover { transform: translateY(-6px); border-color: rgba(91, 124, 255, 0.5); }
.team-card__photo {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	margin-bottom: 20px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(91, 124, 255, 0.25), rgba(155, 91, 255, 0.25));
	overflow: hidden;
}
.team-card__img { width: 100%; height: 100%; object-fit: cover; }
.team-card__initial { font-family: var(--f-head); font-size: 64px; font-weight: 700; color: rgba(255, 255, 255, 0.85); }
.team-card__name { font-size: 18px; }
.team-card__role { margin-top: 4px; color: var(--c-muted); font-size: 14px; }

/* ---------- 17. Contact ---------- */
.contact {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 40px;
	align-items: start;
}
.contact__info { display: grid; gap: 16px; }
.info-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 22px;
	border-radius: var(--radius);
	background: var(--c-surface);
	border: 1px solid var(--c-border);
}
.info-card__body { display: flex; flex-direction: column; min-width: 0; }
.info-card__label { font-size: 13px; color: var(--c-muted); }
.info-card__value { font-weight: 600; word-break: break-word; }
.info-card__value--link:hover { color: var(--c-accent); }

.contact__form-wrap {
	padding: 44px;
	border-radius: var(--radius-lg);
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	box-shadow: var(--shadow);
}
.contact__title { font-size: 28px; }
.contact__text { margin: 8px 0 28px; color: var(--c-muted); }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: grid; gap: 8px; }
.form__label { font-size: 14px; font-weight: 500; color: #c7cdea; }
.form__input {
	width: 100%;
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid var(--c-border);
	background: var(--c-bg);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.form__input::placeholder { color: #5f6a8f; }
.form__input:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(91, 124, 255, 0.18); }
.form__select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--c-muted) 50%), linear-gradient(135deg, var(--c-muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.form__select option { background: var(--c-surface); }
.form__textarea { resize: vertical; min-height: 140px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { margin-bottom: 22px; padding: 14px 18px; border-radius: 12px; font-weight: 500; }
.alert--success { background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.4); color: #86efac; }
.alert--error { background: rgba(244, 63, 94, 0.12); border: 1px solid rgba(244, 63, 94, 0.4); color: #fda4af; }

.map { padding: 0 0 110px; }
.map__frame-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-border); }
.map__frame { display: block; width: 100%; height: 420px; border: 0; filter: invert(0.9) hue-rotate(180deg) saturate(0.6); }

/* ---------- 18. Generic entry (fallback pages) ---------- */
.entry + .entry { margin-top: 40px; }
.entry__title { font-size: 26px; margin-bottom: 10px; }
.entry__link:hover { color: var(--c-accent); }
.entry__content { color: var(--c-muted); }
.entry__content a { color: var(--c-accent); }

/* ---------- 19. Footer ---------- */
.site-footer { background: #050814; border-top: 1px solid var(--c-border); padding-top: 80px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; padding-bottom: 60px; }
.site-footer__text { margin: 18px 0 22px; max-width: 360px; color: var(--c-muted); font-size: 15px; }
.site-footer__title { margin-bottom: 18px; font-size: 16px; font-family: var(--f-body); font-weight: 600; }
.site-footer__list { display: grid; gap: 10px; }
.site-footer__link { color: var(--c-muted); font-size: 15px; transition: color 0.2s; }
.site-footer__link:hover { color: var(--c-text); }
.site-footer__item { display: flex; align-items: flex-start; gap: 12px; color: var(--c-muted); font-size: 15px; }
.site-footer__item .sa-icon { width: 18px; height: 18px; margin-top: 3px; color: var(--c-primary); }
.site-footer__bottom { padding: 24px; border-top: 1px solid var(--c-border); }
.site-footer__copy { color: #6b7597; font-size: 14px; text-align: center; }

.social-list { display: flex; flex-wrap: wrap; gap: 10px; }
.social-list__link {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid var(--c-border);
	color: var(--c-muted);
	font-size: 13px;
	transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.social-list__link:hover { color: #fff; border-color: var(--c-primary); background: rgba(91, 124, 255, 0.12); }

/* ---------- 20. Animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.2); } 50% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0.05); } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	[data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 1024px) {
	.hero__inner, .split { grid-template-columns: 1fr; gap: 56px; }
	.hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
	.card-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.card-grid--4, .process { grid-template-columns: repeat(2, 1fr); }
	.contact { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__col--about { grid-column: 1 / -1; }
	.cta-box { flex-direction: column; align-items: flex-start; padding: 48px 36px; }
}

@media (max-width: 860px) {
	.nav-toggle { display: flex; }
	.site-nav {
		position: fixed;
		top: var(--header-h);
		left: 0; right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 20px 24px 28px;
		background: rgba(7, 11, 24, 0.97);
		backdrop-filter: blur(14px);
		-webkit-backdrop-filter: blur(14px);
		border-bottom: 1px solid var(--c-border);
		transform: translateY(-12px);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
	}
	.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.site-nav__list { flex-direction: column; align-items: stretch; }
	.site-nav__link { padding: 12px 16px; border-radius: 12px; }
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.stats__grid { grid-template-columns: repeat(2, 1fr); }
	.stats__item:nth-child(3) { border-left: 0; }
	.stats__item:nth-child(n + 3) { border-top: 1px solid var(--c-border); }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 640px) {
	.container { padding: 0 16px; }
	.section { padding: 76px 0; }
	.hero { padding: calc(var(--header-h) + 56px) 0 80px; }
	.hero__text, .page-hero__text { font-size: 16px; }
	.hero__actions .btn { width: 100%; }
	.card-grid--3, .card-grid--4, .process { grid-template-columns: 1fr; }
	.form__row { grid-template-columns: 1fr; }
	.contact__form-wrap { padding: 28px 20px; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.float-card { display: none; }
	.code-card__body { font-size: 12.5px; padding: 20px 16px; }
	.stat-tiles__item:nth-child(2), .stat-tiles__item:nth-child(4) { transform: none; }
	.cta-box { padding: 36px 24px; }
	.cta-box .btn { width: 100%; }
	.map__frame { height: 320px; }
}
