:root {
	--a4s-navy: #0b2e59;
	--a4s-navy-dark: #061c36;
	--a4s-orange: #ea6500;
	--a4s-green: #76b82a;
	--a4s-gold: #f9b518;
	--a4s-blue: #1aa5d8;
	--a4s-ice: #edf4fa;
	--a4s-mist: #f3f5f7;
	--a4s-ink: #172b3a;
	--a4s-white: #fff;
	--a4s-radius-sm: 8px;
	--a4s-radius: 14px;
	--a4s-radius-lg: 24px;
	--a4s-shadow: 0 16px 44px rgba(6, 28, 54, 0.12);
	--a4s-shadow-lift: 0 22px 60px rgba(6, 28, 54, 0.18);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	overflow-x: hidden;
}

body.admin-bar .a4s-main-header {
	top: 32px;
}

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

a {
	text-underline-offset: 0.18em;
}

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

.a4s-container {
	width: min(100%, 1240px);
	margin-inline: auto;
}

.a4s-section {
	padding-block: clamp(4rem, 8vw, 7rem);
}

.a4s-section--compact {
	padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.a4s-eyebrow {
	margin: 0 0 0.85rem;
	color: var(--a4s-orange);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.a4s-section-title {
	max-width: 780px;
	margin: 0;
}

.a4s-lead {
	max-width: 760px;
	color: #4d6273;
	font-size: clamp(1.05rem, 1.6vw, 1.24rem);
	line-height: 1.75;
}

.a4s-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.a4s-reveal.is-visible,
.no-js .a4s-reveal {
	opacity: 1;
	transform: none;
}

.a4s-topbar {
	position: relative;
	z-index: 102;
	padding: 0.52rem 0;
	background: var(--a4s-navy-dark);
	color: var(--a4s-white);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.015em;
}

.a4s-topbar a {
	color: var(--a4s-white);
	text-decoration: none;
}

.a4s-topbar a:hover {
	color: var(--a4s-gold);
}

.a4s-topbar .wp-block-group {
	gap: 1.15rem;
}

.a4s-main-header {
	position: sticky;
	z-index: 100;
	top: 0;
	background: rgba(255, 255, 255, 0.95);
	border-bottom: 1px solid rgba(11, 46, 89, 0.1);
	backdrop-filter: blur(16px);
	transition: box-shadow 0.25s ease;
}

.a4s-main-header.is-scrolled {
	box-shadow: 0 10px 34px rgba(6, 28, 54, 0.12);
}

.a4s-main-header__inner {
	min-height: 84px;
}

.a4s-main-header .wp-block-site-logo img {
	width: auto;
	max-height: 62px;
}

.a4s-main-header .wp-block-site-title {
	margin: 0;
	font-size: clamp(1rem, 1.9vw, 1.4rem);
	font-style: italic;
	font-weight: 900;
	text-transform: uppercase;
}

.a4s-main-header .wp-block-site-title a {
	color: var(--a4s-navy);
	text-decoration: none;
}

.wp-custom-logo .a4s-main-header .wp-block-site-title,
.wp-custom-logo .a4s-footer .wp-block-site-title {
	display: none;
}

.a4s-main-header .wp-block-navigation a {
	text-decoration: none;
}

.a4s-main-header .wp-block-navigation-item__content:hover {
	color: var(--a4s-orange);
}

.a4s-header-cta .wp-block-button__link {
	white-space: nowrap;
	box-shadow: 0 10px 24px rgba(234, 101, 0, 0.24);
}

.a4s-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(4.5rem, 9vw, 8.5rem);
	background:
		radial-gradient(circle at 12% 16%, rgba(118, 184, 42, 0.18), transparent 28%),
		radial-gradient(circle at 90% 12%, rgba(26, 165, 216, 0.15), transparent 30%),
		linear-gradient(135deg, #f7fbff 0%, #fff 52%, #edf4fa 100%);
}

.a4s-hero::after {
	position: absolute;
	z-index: -1;
	right: -12rem;
	bottom: -13rem;
	width: 38rem;
	height: 38rem;
	border: 1px solid rgba(11, 46, 89, 0.08);
	border-radius: 50%;
	content: "";
	box-shadow: 0 0 0 5rem rgba(11, 46, 89, 0.025), 0 0 0 10rem rgba(11, 46, 89, 0.018);
}

.a4s-hero__grid {
	gap: clamp(2.5rem, 6vw, 6rem);
}

.a4s-hero h1 {
	max-width: 760px;
	margin: 0 0 1.35rem;
	color: var(--a4s-navy);
	font-size: clamp(2.8rem, 6vw, 5.7rem);
}

.a4s-hero h1 strong {
	color: var(--a4s-orange);
}

.a4s-hero__copy {
	max-width: 650px;
	color: #465c6e;
	font-size: clamp(1.08rem, 1.65vw, 1.28rem);
}

.a4s-hero__actions {
	margin-top: 2rem;
	gap: 0.75rem;
}

.a4s-hero__visual {
	position: relative;
}

.a4s-hero__visual img {
	display: block;
	width: 100%;
	border-radius: clamp(20px, 4vw, 42px);
	box-shadow: var(--a4s-shadow-lift);
}

.a4s-hero__badge {
	position: absolute;
	right: -0.75rem;
	bottom: 1.5rem;
	width: min(240px, 48%);
	padding: 1rem 1.2rem;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: var(--a4s-radius);
	background: rgba(6, 28, 54, 0.93);
	color: var(--a4s-white);
	box-shadow: var(--a4s-shadow);
	backdrop-filter: blur(12px);
}

.a4s-hero__badge strong {
	display: block;
	color: var(--a4s-gold);
	font-size: 1.05rem;
}

.a4s-trust-strip {
	position: relative;
	z-index: 3;
	margin-top: -2rem;
}

.a4s-trust-grid {
	padding: 1.15rem;
	border: 1px solid rgba(11, 46, 89, 0.1);
	border-radius: var(--a4s-radius-lg);
	background: var(--a4s-white);
	box-shadow: var(--a4s-shadow);
}

.a4s-trust-item {
	min-height: 88px;
	padding: 1rem 1.2rem;
	border-right: 1px solid rgba(11, 46, 89, 0.1);
}

.a4s-trust-item:last-child {
	border-right: 0;
}

.a4s-trust-item strong {
	display: block;
	color: var(--a4s-navy);
	font-size: 1rem;
}

.a4s-trust-item span {
	color: #637687;
	font-size: 0.84rem;
}

.a4s-card-grid {
	gap: 1.25rem;
	margin-top: 2.6rem;
}

.a4s-card {
	position: relative;
	height: 100%;
	overflow: hidden;
	padding: clamp(1.35rem, 2.5vw, 2rem);
	border: 1px solid rgba(11, 46, 89, 0.1);
	border-radius: var(--a4s-radius);
	background: var(--a4s-white);
	box-shadow: 0 8px 28px rgba(6, 28, 54, 0.07);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.a4s-card::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--a4s-green), var(--a4s-gold), var(--a4s-orange), var(--a4s-blue));
	content: "";
}

.a4s-card:hover {
	transform: translateY(-5px);
	border-color: rgba(234, 101, 0, 0.35);
	box-shadow: var(--a4s-shadow);
}

.a4s-card__icon {
	display: grid;
	width: 52px;
	height: 52px;
	margin-bottom: 1.25rem;
	place-items: center;
	border-radius: 16px;
	background: var(--a4s-ice);
	color: var(--a4s-navy);
	font-size: 1.45rem;
	font-weight: 900;
}

.a4s-card h3 {
	margin: 0 0 0.65rem;
	color: var(--a4s-navy);
	font-size: 1.28rem;
}

.a4s-card p {
	margin: 0 0 1rem;
	color: #607384;
	font-size: 0.94rem;
}

.a4s-card__link {
	font-size: 0.86rem;
	font-weight: 800;
	text-decoration: none;
}

.a4s-card__link::after {
	content: " →";
}

.a4s-dark-section {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 90% 20%, rgba(26, 165, 216, 0.18), transparent 26%),
		linear-gradient(135deg, var(--a4s-navy-dark), var(--a4s-navy));
	color: var(--a4s-white);
}

.a4s-dark-section h2,
.a4s-dark-section h3 {
	color: var(--a4s-white);
}

.a4s-dark-section .a4s-lead {
	color: #c8d8e7;
}

.a4s-industry-card {
	min-height: 260px;
	padding: 2rem;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--a4s-radius);
	background: rgba(255, 255, 255, 0.07);
}

.a4s-industry-card strong {
	display: block;
	margin-bottom: 1rem;
	color: var(--a4s-gold);
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.a4s-industry-card p {
	color: #cedae5;
}

.a4s-industry-card a {
	color: var(--a4s-white);
	font-weight: 800;
}

.a4s-process {
	counter-reset: a4s-step;
	gap: 0;
	margin-top: 3rem;
}

.a4s-step {
	position: relative;
	min-height: 210px;
	padding: 1.5rem;
	border-top: 1px solid rgba(11, 46, 89, 0.16);
}

.a4s-step::before {
	display: grid;
	width: 46px;
	height: 46px;
	margin-bottom: 1rem;
	place-items: center;
	border-radius: 50%;
	background: var(--a4s-navy);
	color: var(--a4s-white);
	content: counter(a4s-step);
	counter-increment: a4s-step;
	font-weight: 900;
}

.a4s-step:not(:last-child)::after {
	position: absolute;
	top: 38px;
	right: -10px;
	z-index: 2;
	color: var(--a4s-orange);
	content: "→";
	font-size: 1.5rem;
	font-weight: 900;
}

.a4s-step h3 {
	margin: 0 0 0.5rem;
	font-size: 1.08rem;
}

.a4s-step p {
	color: #607384;
	font-size: 0.9rem;
}

.a4s-season-banner {
	padding: clamp(2rem, 5vw, 4rem);
	border-radius: var(--a4s-radius-lg);
	background:
		linear-gradient(110deg, rgba(6, 28, 54, 0.98), rgba(11, 46, 89, 0.92)),
		linear-gradient(90deg, var(--a4s-green), var(--a4s-gold), var(--a4s-orange), var(--a4s-blue));
	color: var(--a4s-white);
	box-shadow: var(--a4s-shadow-lift);
}

.a4s-season-banner h2 {
	margin: 0;
	color: var(--a4s-white);
}

.a4s-season-banner p {
	color: #d8e5ef;
}

.a4s-season-dots {
	display: flex;
	gap: 0.55rem;
	margin-bottom: 1.2rem;
}

.a4s-season-dots span {
	width: 14px;
	height: 14px;
	border-radius: 50%;
}

.a4s-season-dots span:nth-child(1) { background: var(--a4s-green); }
.a4s-season-dots span:nth-child(2) { background: var(--a4s-gold); }
.a4s-season-dots span:nth-child(3) { background: var(--a4s-orange); }
.a4s-season-dots span:nth-child(4) { background: var(--a4s-blue); }

.a4s-proof {
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px solid rgba(11, 46, 89, 0.12);
	border-radius: var(--a4s-radius-lg);
	background: var(--a4s-mist);
}

.a4s-proof__metric {
	padding: 1.25rem;
	border-radius: var(--a4s-radius);
	background: var(--a4s-white);
}

.a4s-proof__metric strong {
	display: block;
	color: var(--a4s-orange);
	font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.a4s-proof__metric span {
	color: #607384;
	font-size: 0.85rem;
}

.a4s-cta {
	padding: clamp(3rem, 7vw, 6rem);
	background:
		radial-gradient(circle at 15% 25%, rgba(118, 184, 42, 0.28), transparent 24%),
		radial-gradient(circle at 90% 12%, rgba(26, 165, 216, 0.24), transparent 26%),
		var(--a4s-navy);
	color: var(--a4s-white);
	text-align: center;
}

.a4s-cta h2 {
	max-width: 820px;
	margin: 0 auto 1rem;
	color: var(--a4s-white);
}

.a4s-cta p {
	max-width: 680px;
	margin-inline: auto;
	color: #d7e3ed;
}

.a4s-page-hero {
	padding-block: clamp(4rem, 8vw, 7rem);
	background:
		radial-gradient(circle at 90% 20%, rgba(234, 101, 0, 0.18), transparent 25%),
		linear-gradient(135deg, var(--a4s-navy-dark), var(--a4s-navy));
	color: var(--a4s-white);
}

.a4s-page-hero h1 {
	color: var(--a4s-white);
}

.a4s-content-shell {
	padding-block: clamp(3.5rem, 7vw, 6rem);
}

.a4s-content-shell :where(h2, h3, h4) {
	margin-top: 2.2em;
}

.a4s-content-shell :where(table) {
	width: 100%;
	border-collapse: collapse;
}

.a4s-content-shell :where(th, td) {
	padding: 0.8rem;
	border: 1px solid #d7e0e7;
	text-align: left;
}

.a4s-content-shell th {
	background: var(--a4s-ice);
	color: var(--a4s-navy);
}

.a4s-archive-card {
	height: 100%;
	padding: 1.5rem;
	border: 1px solid rgba(11, 46, 89, 0.1);
	border-radius: var(--a4s-radius);
}

.a4s-footer {
	padding-block: clamp(3rem, 6vw, 5rem) 1.5rem;
	background: var(--a4s-navy-dark);
	color: #d4e0eb;
}

.a4s-footer h2,
.a4s-footer h3,
.a4s-footer .wp-block-site-title {
	color: var(--a4s-white);
}

.a4s-footer a {
	color: #d4e0eb;
	text-decoration: none;
}

.a4s-footer a:hover {
	color: var(--a4s-gold);
}

.a4s-footer__grid {
	align-items: start;
}

.a4s-footer .wp-block-site-logo {
	display: inline-flex;
	padding: 0.45rem;
	border-radius: var(--a4s-radius-sm);
	background: var(--a4s-white);
}

.a4s-footer__bottom {
	margin-top: 2.4rem;
	padding-top: 1.3rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	color: #94a9bb;
	font-size: 0.78rem;
}

.a4s-footer .wp-block-navigation {
	gap: 0.45rem;
}

.a4s-footer .wp-block-navigation__container {
	align-items: flex-start;
}

.a4s-footer .wp-block-social-links {
	gap: 0.7rem;
}

.a4s-portal-page {
	background: var(--a4s-mist);
}

.a4s-portal-page .a4s-main-header {
	position: relative;
}

.a4s-portal-shell {
	min-height: 55vh;
	padding-block: 2.5rem 5rem;
}

.a4s-portal-nav {
	padding: 1rem;
	border-radius: var(--a4s-radius);
	background: var(--a4s-navy);
	color: var(--a4s-white);
}

.a4s-portal-nav a {
	color: var(--a4s-white);
}

.a4s-empty-state {
	padding: 2rem;
	border: 1px dashed #9aabb8;
	border-radius: var(--a4s-radius);
	background: var(--a4s-white);
	text-align: center;
}

.wp-block-button__link {
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(234, 101, 0, 0.23);
}

.is-style-outline > .wp-block-button__link:hover {
	background: var(--a4s-navy);
	color: var(--a4s-white);
}

@media (max-width: 980px) {
	body.admin-bar .a4s-main-header {
		top: 46px;
	}

	.a4s-topbar .wp-block-group {
		justify-content: center;
	}

	.a4s-topbar .a4s-topbar__optional {
		display: none;
	}

	.a4s-main-header__inner {
		min-height: 72px;
	}

	.a4s-header-cta {
		display: none;
	}

	.a4s-hero__grid {
		grid-template-columns: 1fr !important;
	}

	.a4s-hero__visual {
		max-width: 760px;
	}

	.a4s-trust-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.a4s-trust-item:nth-child(2) {
		border-right: 0;
	}

	.a4s-step:not(:last-child)::after {
		display: none;
	}
}

@media (max-width: 700px) {
	.a4s-topbar {
		text-align: center;
	}

	.a4s-topbar .wp-block-group {
		gap: 0.55rem;
	}

	.a4s-main-header .wp-block-site-logo img {
		max-height: 48px;
	}

	.a4s-hero {
		padding-block: 3.5rem 5rem;
	}

	.a4s-hero__badge {
		right: 0.75rem;
		bottom: 0.75rem;
	}

	.a4s-trust-grid {
		grid-template-columns: 1fr !important;
	}

	.a4s-trust-item {
		border-right: 0;
		border-bottom: 1px solid rgba(11, 46, 89, 0.1);
	}

	.a4s-trust-item:last-child {
		border-bottom: 0;
	}

	.a4s-card-grid,
	.a4s-process {
		grid-template-columns: 1fr !important;
	}

	.a4s-season-banner {
		border-radius: var(--a4s-radius);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.a4s-reveal {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.a4s-topbar,
	.a4s-main-header,
	.a4s-footer,
	.a4s-chatbot {
		display: none !important;
	}

	body {
		color: #000;
		background: #fff;
	}
}
