/* Front-end design layer. Loads after the theme and does not change content.
   Selectors are prefixed with body so they win over the Customizer CSS printed later in the head. */

:root {
	--wc-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wc-font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
	--wc-container: 1200px;
	--wc-gutter: clamp(20px, 4vw, 32px);
	--wc-space-section: clamp(64px, 8vw, 112px);
	--wc-space-head: clamp(36px, 4vw, 56px);
}

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

/* ---------- Typography ---------- */

body,
body button,
body input,
body select,
body textarea,
body .ast-button,
body .wp-block-button__link,
body .menu-link {
	font-family: var(--wc-font-body);
}

body {
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body .entry-content p,
body .entry-content li,
body .site-footer p,
body .site-footer li {
	font-size: 16px;
	line-height: 1.7;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .entry-content h1,
body .entry-content h2,
body .entry-content h3,
body .entry-content h4,
body .wc-stat strong {
	font-family: var(--wc-font-head);
	letter-spacing: -0.02em;
	text-wrap: balance;
}

body .entry-content h1,
body .wc-hero h1,
body .wc-pagehead h1 {
	font-size: clamp(36px, 4.6vw, 58px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.035em;
	margin-bottom: 20px;
}

body .entry-content h2,
body .wc-section h2,
body .wc-cta h2 {
	font-size: clamp(28px, 3.1vw, 42px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.03em;
	margin-bottom: 16px;
}

body .entry-content h3,
body .wc-card h3 {
	font-size: clamp(19px, 1.5vw, 21px);
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 10px;
}

body .entry-content h4,
body .site-footer h4 {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

body .entry-content p {
	text-wrap: pretty;
}

body .wc-lead,
body .wc-section > p:not(.wc-eyebrow),
body .wc-hero p:not(.wc-eyebrow),
body .wc-pagehead p:not(.wc-eyebrow) {
	font-size: clamp(17px, 1.3vw, 19px);
	line-height: 1.65;
}

body .wc-eyebrow,
body .entry-content .wc-eyebrow {
	font-family: var(--wc-font-body);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.14em;
	margin-bottom: 14px !important;
}

body .wc-card p,
body .wc-card li {
	font-size: 15px;
	line-height: 1.65;
}

/* ---------- Layout structure ---------- */

body .wc-section,
body .wc-cta,
body .wc-pagehead {
	padding-left: var(--wc-gutter);
	padding-right: var(--wc-gutter);
}

body .wc-section {
	padding-top: var(--wc-space-section);
	padding-bottom: var(--wc-space-section);
}

body .wc-section > *,
body .wc-cta > *,
body .wc-pagehead > * {
	max-width: var(--wc-container);
}

body .wc-section > .wc-eyebrow + h2,
body .wc-section > h2 {
	max-width: 760px;
}

body .wc-section.wc-center > h2,
body .wc-section > h2.has-text-align-center,
body .wc-center > h2 {
	margin-left: auto;
	margin-right: auto;
}

body .wc-section > h2 + p,
body .wc-section > .wc-lead {
	max-width: 680px;
	color: var(--wc-text, #4a5568);
}

body .wc-section > h2 + p:has(+ .wp-block-columns),
body .wc-section > .wc-lead:has(+ .wp-block-columns),
body .wc-section > h2 + p:has(+ .wp-block-group),
body .wc-section > h2 + p:has(+ .wp-block-image) {
	margin-bottom: var(--wc-space-head);
}

body .wc-section > .wc-center:not(:last-child) {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: var(--wc-space-head);
}

body .wc-section > .wc-center > p:not(.wc-eyebrow) {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
	font-size: clamp(16px, 1.2vw, 18px);
}

body .wc-section > .wc-center + .wp-block-columns {
	margin-top: 0;
}

body .wc-section .wp-block-columns {
	gap: clamp(20px, 2.4vw, 28px);
	margin-bottom: 0;
}

body .wc-section .wp-block-columns + .wp-block-columns {
	margin-top: clamp(20px, 2.4vw, 28px);
}

/* Hero: left-aligned copy beside the visual on wide screens */
body .wc-hero {
	padding: clamp(72px, 9vw, 128px) var(--wc-gutter);
}

/* Faint dot grid that fades out toward the visual */
body .wc-hero::before,
body .wc-pagehead::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
	background-size: 22px 22px;
	-webkit-mask-image: linear-gradient(105deg, #000 0%, transparent 65%);
	mask-image: linear-gradient(105deg, #000 0%, transparent 65%);
}

body .wc-pagehead {
	position: relative;
	overflow: hidden;
}

body .wc-pagehead > * {
	position: relative;
}

body .wc-hero .wp-block-columns {
	max-width: var(--wc-container);
	margin-left: auto;
	margin-right: auto;
	gap: clamp(32px, 5vw, 72px);
}

body .wc-hero p:not(.wc-eyebrow) {
	color: #cbd5e1;
	max-width: 560px;
}

body .wc-hero .wp-block-buttons {
	gap: 12px;
	margin-top: 28px;
}

body .wc-badges {
	gap: 8px;
	margin-top: 28px !important;
}

body .wc-badges span {
	font-size: 13px;
	font-weight: 500;
	padding: 7px 14px;
	background: rgba(255, 255, 255, 0.06);
}

@media (min-width: 922px) {
	body .wc-hero .wp-block-column,
	body .wc-hero .wp-block-column h1,
	body .wc-hero .wp-block-column p {
		text-align: left;
	}

	body .wc-hero p:not(.wc-eyebrow) {
		margin-left: 0;
		margin-right: 0;
	}

	body .wc-hero .wp-block-buttons,
	body .wc-hero .wc-badges {
		justify-content: flex-start;
	}

	body .wc-hero .wp-block-image {
		margin-right: 0;
	}
}

/* Page header band on inner pages */
body .wc-pagehead {
	padding-top: clamp(64px, 7vw, 96px);
	padding-bottom: clamp(56px, 6vw, 84px);
}

body .wc-pagehead p:not(.wc-eyebrow) {
	color: #cbd5e1;
}

body .wc-pagehead .wp-block-buttons {
	justify-content: center;
	margin-top: 28px;
}

/* ---------- Header ---------- */

#masthead {
	position: sticky;
	top: 0;
	z-index: 999;
}

#masthead .ast-above-header-wrap {
	max-height: 48px;
	overflow: hidden;
	transition: max-height 0.25s ease;
}

#masthead.wc-stuck .ast-above-header-wrap {
	max-height: 0;
}

#masthead.wc-stuck .ast-primary-header-bar {
	box-shadow: 0 10px 28px rgba(15, 27, 45, 0.1);
}

body .ast-above-header-bar,
body .ast-above-header-bar p {
	font-size: 13px;
	line-height: 1.4;
}

body .ast-above-header-bar .wc-top + .wc-top::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	margin: 0 12px 2px 0;
	border-radius: 50%;
	background: rgba(226, 232, 240, 0.7);
	vertical-align: middle;
}

body .ast-builder-menu-1 .menu-item > .menu-link,
body .main-header-menu .menu-link {
	font-size: 15px;
	font-weight: 500;
	letter-spacing: -0.005em;
}

body .main-header-menu > .menu-item > .menu-link {
	position: relative;
	padding-left: 14px;
	padding-right: 14px;
}

body .main-header-menu > .current-menu-item > .menu-link::after,
body .main-header-menu > .current-menu-ancestor > .menu-link::after,
body .main-header-menu > .menu-item:hover > .menu-link::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 22px;
	height: 2px;
	border-radius: 2px;
	background: var(--wc-red, #c8102e);
}

body.ast-desktop .main-header-menu .sub-menu {
	border: 1px solid var(--wc-line, #e2e8f0);
	border-radius: 12px;
	padding: 8px;
	box-shadow: 0 16px 40px rgba(15, 27, 45, 0.12);
}

body.ast-desktop .main-header-menu .sub-menu .menu-link {
	border-radius: 8px;
	font-size: 14px;
}

body.ast-desktop .main-header-menu .sub-menu .menu-link:hover {
	background: var(--wc-soft, #f4f7fb);
}

/* ---------- Buttons ---------- */

body .wp-block-button__link,
body .ast-builder-button-wrap .ast-custom-button,
body .wpcf7-submit {
	font-size: 15px !important;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.005em;
	padding: 14px 24px !important;
	border-radius: 8px !important;
}

body .ast-builder-button-wrap .ast-custom-button,
body .wc-btn-red .wp-block-button__link,
body .wpcf7-submit {
	box-shadow: 0 8px 18px rgba(200, 16, 46, 0.22);
}

/* ---------- Cards ---------- */

body .wc-cards {
	align-items: stretch;
}

body .wc-cards > .wp-block-column:has(> .wc-card) {
	display: flex;
}

body .wc-section .wp-block-column > h4 {
	margin-bottom: 14px;
}

body .wc-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: clamp(24px, 2.4vw, 32px);
	border-radius: 14px;
}

body .wc-card > .wp-block-buttons,
body .wc-card > p:last-child:has(a) {
	margin-top: auto;
	padding-top: 12px;
}

body .wc-card > h3 + p,
body .wc-card > h3 + ul {
	margin-top: 0;
}

body .wc-card .wc-icon {
	width: 48px;
	height: 48px;
	font-size: 20px;
	line-height: 1;
	margin-bottom: 20px !important;
	transition: background-color 0.25s, color 0.25s, transform 0.25s;
}

/* wc-frontend.js swaps the text glyphs for line icons */
body .wc-icon svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

body .wc-card:hover .wc-icon {
	background: var(--wc-red, #c8102e);
	color: #fff;
	transform: translateY(-2px);
}

body .wc-card.wc-blue:hover .wc-icon {
	background: var(--wc-blue, #1e7fcb);
}

/* Cards without an icon or image get a short accent bar so they don't read as empty boxes */
body .wc-card:not(:has(.wc-icon, .wp-block-image)) > h3::before {
	content: "";
	display: block;
	width: 28px;
	height: 3px;
	margin-bottom: 16px;
	border-radius: 3px;
	background: var(--wc-red, #c8102e);
	transition: width 0.3s ease;
}

body .wc-card:not(:has(.wc-icon, .wp-block-image)):hover > h3::before {
	width: 48px;
}

body .entry-content .wc-link {
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

body .entry-content .wc-link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

body .wc-cards .wc-card:has(.wp-block-image) {
	padding: 0 0 28px;
	overflow: hidden;
}

body .wc-cards .wc-card:has(.wp-block-image) .wp-block-image {
	margin: 0 0 24px;
}

body .wc-cards .wc-card:has(.wp-block-image) .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	object-position: center top;
	border-radius: 0;
	transition: transform 0.5s ease;
}

body .wc-cards .wc-card:has(.wp-block-image):hover .wp-block-image img {
	transform: scale(1.03);
}

body .wc-cards .wc-card:has(.wp-block-image) > :not(.wp-block-image, ul) {
	padding-left: clamp(24px, 2.4vw, 32px);
	padding-right: clamp(24px, 2.4vw, 32px);
}

body .wc-cards .wc-card:has(.wp-block-image) > ul {
	margin-left: clamp(24px, 2.4vw, 32px);
	margin-right: clamp(24px, 2.4vw, 32px);
}

body .wc-checks li {
	padding-left: 28px;
	margin: 8px 0;
}

/* ---------- Stats ---------- */

body .wc-section.wc-dark:has(.wc-stats) {
	padding-top: clamp(48px, 5vw, 72px);
	padding-bottom: clamp(48px, 5vw, 72px);
}

body .wc-stat strong {
	font-size: clamp(36px, 3.4vw, 48px);
	font-weight: 800;
	letter-spacing: -0.03em;
	margin-bottom: 6px;
}

body .wc-stat span {
	font-size: 14px;
	line-height: 1.5;
}

body .wc-stats > .wp-block-column + .wp-block-column .wc-stat,
body .wc-stats > .wc-stat + .wc-stat {
	border-left: 1px solid rgba(255, 255, 255, 0.14);
}

/* ---------- Logos and pills ---------- */

body .wc-logos {
	gap: clamp(12px, 1.6vw, 20px);
	margin-top: var(--wc-space-head);
}

/* Equal tiles even out logos of very different shapes and weights */
body .wc-logos figure {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 92px;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--wc-line, #e2e8f0);
	border-radius: 12px;
	transition: border-color 0.25s, box-shadow 0.25s;
}

body .wc-logos figure:hover {
	border-color: transparent;
	box-shadow: var(--wc-shadow, 0 10px 30px rgba(15, 27, 45, 0.08));
}

body .wc-logos img {
	max-width: 100%;
	max-height: 48px;
	object-fit: contain;
}

/* This file is a square with a thin wordmark in the middle */
body .wc-logos img[src*="oracle"] {
	transform: scale(1.8);
}

body .wc-logos figure:hover img {
	filter: none;
	opacity: 1;
}

body .wc-pills span {
	font-size: 14px;
	transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

body .wc-pills span:hover {
	border-color: var(--wc-red, #c8102e);
	color: var(--wc-red, #c8102e);
}

/* ---------- CTA band ---------- */

body .wc-cta {
	padding-top: clamp(56px, 6vw, 80px);
	padding-bottom: clamp(56px, 6vw, 80px);
}

body .wc-cta .wp-block-columns {
	max-width: var(--wc-container);
	margin-left: auto;
	margin-right: auto;
	gap: 32px;
	align-items: center !important;
}

body .wc-cta .wp-block-column {
	align-self: center;
}

body .wc-cta h2 {
	font-size: clamp(26px, 2.6vw, 34px);
	margin-bottom: 12px;
}

body .wc-cta p {
	font-size: 17px;
	max-width: 600px;
	margin-bottom: 0;
}

body .wc-cta .wp-block-buttons {
	justify-content: flex-end;
	gap: 12px;
}

/* ---------- FAQ and forms ---------- */

body .wp-block-details {
	padding: 20px 24px;
	border-radius: 12px;
}

body .wp-block-details summary {
	font-family: var(--wc-font-head);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

body .wpcf7 label {
	font-size: 14px;
	font-weight: 600;
}

body .wpcf7 input[type=text],
body .wpcf7 input[type=email],
body .wpcf7 input[type=tel],
body .wpcf7 select,
body .wpcf7 textarea {
	font-size: 15px;
	padding: 13px 14px;
}

/* ---------- Footer ---------- */

body .site-primary-footer-wrap {
	padding: clamp(56px, 6vw, 80px) 0 clamp(36px, 4vw, 48px) !important;
}

body .site-primary-footer-wrap .ast-builder-grid-row {
	gap: clamp(28px, 4vw, 56px);
}

body .site-primary-footer-wrap p,
body .site-primary-footer-wrap li,
body .site-primary-footer-wrap a {
	font-size: 15px;
	line-height: 1.6;
}

body .site-primary-footer-wrap h4 {
	font-size: 15px;
	letter-spacing: 0;
	margin-bottom: 18px;
}

body .site-primary-footer-wrap h4::after {
	content: "";
	display: block;
	width: 28px;
	height: 2px;
	margin-top: 10px;
	background: var(--wc-red, #c8102e);
	border-radius: 2px;
}

body .site-primary-footer-wrap .wp-block-list li {
	margin: 0 0 10px;
}

body .site-below-footer-wrap,
body .site-below-footer-wrap p {
	font-size: 14px;
}

/* ---------- Accessibility ---------- */

body a:focus-visible,
body button:focus-visible,
body summary:focus-visible,
body input:focus-visible,
body textarea:focus-visible,
body select:focus-visible {
	outline: 2px solid var(--wc-blue, #1e7fcb);
	outline-offset: 3px;
}

/* ---------- Tablet and mobile ---------- */

@media (max-width: 921px) {
	body .wc-hero img {
		max-height: 380px;
		width: 100%;
		object-fit: cover;
	}

	body .wc-stats > .wp-block-column + .wp-block-column .wc-stat,
	body .wc-stats > .wc-stat + .wc-stat {
		border-left: 0;
	}

	body .main-header-menu > .menu-item > .menu-link::after {
		display: none;
	}

	body .wc-cta .wp-block-buttons {
		justify-content: flex-start;
	}
}

@media (max-width: 781px) {
	/* Two-by-two stats instead of a tall single column */
	body .wc-stats {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 32px 16px !important;
	}

	body .wc-stats > .wp-block-column {
		margin: 0 !important;
	}

	body .wc-stat strong {
		font-size: 34px;
	}

	body .wc-stat span {
		font-size: 13px;
	}

	body .wc-logos figure {
		height: 72px;
		padding: 12px;
	}

	body .wc-logos img {
		max-height: 36px;
	}
}

@media (max-width: 600px) {
	body {
		font-size: 15px;
	}

	body .entry-content p,
	body .entry-content li {
		font-size: 15px;
	}

	body .wc-hero .wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	body .wc-hero .wp-block-button,
	body .wc-hero .wp-block-button__link {
		width: 100%;
		text-align: center;
	}

	body .wc-badges span {
		font-size: 12.5px;
		padding: 6px 12px;
	}

	/* Keep only the round WhatsApp button; its text bubble covers content on phones */
	body .wa__btn_popup_txt {
		display: none !important;
	}
}

/* =====================================================================
   Professional refresh: floating header, full-height hero, pill buttons,
   soft gradient cards, partner strip under the hero, inset CTA, scroll reveal.
   Content and images are unchanged; only presentation.
   ===================================================================== */

:root {
	--wc-radius-lg: 24px;
	--wc-radius-md: 18px;
	--wc-head-h: 136px;
	--wc-accent: linear-gradient(92deg, #ff5a6f 0%, #ff8a5c 100%);
	--wc-card-bg: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
	--wc-card-shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 8px 24px rgba(15, 27, 45, 0.05);
	--wc-card-shadow-hover: 0 2px 4px rgba(15, 27, 45, 0.05), 0 22px 48px rgba(15, 27, 45, 0.12);
}

@media (max-width: 921px) {
	:root {
		--wc-head-h: 96px;
	}
}

/* ---------- Floating header ---------- */

body #masthead {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	background: transparent;
}

/* Pages that open on a light block get room for the fixed header */
body:not(:has(.entry-content > .wc-hero:first-child, .entry-content > .wc-pagehead:first-child)) #content {
	padding-top: var(--wc-head-h);
}

body #masthead .main-header-bar-wrap,
body #masthead .ast-main-header-wrap {
	background: transparent !important;
}

body #masthead .ast-primary-header-bar {
	width: calc(100% - 2 * var(--wc-gutter));
	max-width: 1240px;
	margin: 12px auto 0;
	background: rgba(255, 255, 255, 0.96) !important;
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.7) !important;
	border-radius: var(--wc-radius-md);
	box-shadow: 0 10px 30px rgba(8, 15, 30, 0.18) !important;
	transition: margin 0.25s ease, box-shadow 0.25s ease;
}

body #masthead.wc-stuck .ast-primary-header-bar {
	margin-top: 10px;
	box-shadow: 0 14px 34px rgba(8, 15, 30, 0.16) !important;
}

body #ast-desktop-header .site-primary-header-wrap {
	min-height: 0;
	padding-left: 20px;
	padding-right: 12px;
}

body #ast-desktop-header .ast-builder-grid-row,
body #ast-desktop-header .site-branding {
	min-height: 74px;
}

body #masthead .custom-logo {
	width: auto !important;
	max-height: 52px;
}

/* Top info bar sits on the hero as part of it */
body #masthead .ast-above-header-bar {
	background: transparent !important;
}

body:not(:has(.entry-content > .wc-hero:first-child, .entry-content > .wc-pagehead:first-child)) #masthead .ast-above-header-bar {
	background: var(--wc-navy, #0f1b2d) !important;
}

/* Active and hover menu items become soft pills */
body .main-header-menu > .menu-item > .menu-link {
	border-radius: 999px;
	transition: background-color 0.2s, color 0.2s;
}

body.ast-desktop .main-header-menu > .menu-item > .menu-link {
	line-height: 40px;
	padding-left: 16px;
	padding-right: 16px;
}

body.ast-desktop .main-header-menu > .menu-item:hover > .menu-link {
	background: var(--wc-soft, #f4f7fb);
}

body.ast-desktop .main-header-menu > .current-menu-item > .menu-link,
body.ast-desktop .main-header-menu > .current-menu-ancestor > .menu-link {
	background: rgba(200, 16, 46, 0.08);
	color: var(--wc-red, #c8102e);
}

body .main-header-menu > .menu-item > .menu-link::after {
	display: none !important;
}

/* Mobile dropdown panel as its own card */
body #ast-mobile-header .ast-mobile-header-content {
	left: var(--wc-gutter);
	right: var(--wc-gutter);
	width: auto;
	margin-top: 8px;
	padding: 8px;
	border-radius: var(--wc-radius-md);
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(8, 15, 30, 0.2);
}

/* ---------- Buttons: pills ---------- */

body .wp-block-button__link,
body .ast-builder-button-wrap .ast-custom-button,
body .wpcf7-submit {
	border-radius: 999px !important;
	padding: 15px 28px !important;
	transition: background-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s !important;
}

body .ast-builder-button-wrap .ast-custom-button {
	padding: 13px 24px !important;
}

body .wc-btn-red .wp-block-button__link,
body .ast-builder-button-wrap .ast-custom-button {
	background: linear-gradient(135deg, #d8173a 0%, var(--wc-red, #c8102e) 55%, #a10d25 100%) !important;
	box-shadow: 0 10px 24px rgba(200, 16, 46, 0.3);
}

body .wc-btn-red .wp-block-button__link:hover,
body .ast-builder-button-wrap .ast-custom-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 30px rgba(200, 16, 46, 0.36);
}

body .wc-btn-outline .wp-block-button__link {
	background: rgba(255, 255, 255, 0.06) !important;
	border: 1px solid rgba(255, 255, 255, 0.35) !important;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

body .wc-btn-outline .wp-block-button__link:hover {
	transform: translateY(-2px);
}

/* Arrow on primary card and CTA buttons */
body .wc-card .wp-block-button__link::after,
body .wc-hero .wc-btn-red .wp-block-button__link::after {
	content: "→";
	display: inline-block;
	margin-left: 8px;
	transition: transform 0.2s;
}

body .wc-card .wp-block-button__link:hover::after,
body .wc-hero .wc-btn-red .wp-block-button__link:hover::after {
	transform: translateX(3px);
}

/* ---------- Section headings ---------- */

body .wc-section > .wc-center > .wc-eyebrow,
body .wc-product > .wp-block-column > .wc-eyebrow,
body .wc-hero .wc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(200, 16, 46, 0.07);
	border: 1px solid rgba(200, 16, 46, 0.14);
	font-size: 12px;
	letter-spacing: 0.12em;
}

body .wc-section > .wc-center > .wc-eyebrow::before,
body .wc-product > .wp-block-column > .wc-eyebrow::before,
body .wc-hero .wc-eyebrow::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.14);
}

body .wc-section > .wc-center > h2 {
	font-size: clamp(30px, 3.4vw, 46px);
	letter-spacing: -0.035em;
}

body .wc-section > .wc-center > h2::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin: 18px auto 0;
	border-radius: 4px;
	background: var(--wc-accent);
}

/* ---------- Hero ---------- */

body.home .wc-hero,
body .entry-content > .wc-hero {
	display: flex;
	align-items: center;
	min-height: min(940px, 100svh);
	padding-top: calc(var(--wc-head-h) + clamp(32px, 4vw, 56px));
	padding-bottom: clamp(64px, 7vw, 104px);
	background:
		radial-gradient(720px 520px at 85% 20%, rgba(30, 127, 203, 0.42), transparent 62%),
		radial-gradient(620px 460px at 8% 95%, rgba(200, 16, 46, 0.28), transparent 60%),
		linear-gradient(160deg, #0b1526 0%, #10264a 52%, #0b1526 100%);
}

body .wc-hero > .wp-block-columns {
	width: 100%;
}

body .entry-content > .wc-pagehead {
	padding-top: calc(var(--wc-head-h) + clamp(48px, 6vw, 80px));
	padding-bottom: clamp(56px, 6vw, 84px);
	background:
		radial-gradient(620px 360px at 85% 10%, rgba(30, 127, 203, 0.36), transparent 62%),
		linear-gradient(160deg, #0b1526 0%, #10264a 60%, #0b1526 100%);
}

body .wc-hero::after {
	border-width: 70px;
	border-color: rgba(200, 16, 46, 0.12);
	right: -160px;
	bottom: -200px;
	width: 520px;
	height: 520px;
}

body .wc-hero .wc-eyebrow {
	color: #fff;
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.16);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	margin-bottom: 22px !important;
}

body .wc-hero .wc-eyebrow::before {
	background: #34d399;
	box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
	animation: wc-pulse 2.4s ease-in-out infinite;
}

@keyframes wc-pulse {
	50% {
		box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.06);
	}
}

body .wc-hero h1 {
	font-size: clamp(40px, 5.2vw, 70px);
	line-height: 1.04;
	letter-spacing: -0.04em;
	margin-bottom: 24px;
}

/* wc-frontend.js wraps the closing words of the hero title in .wc-accent */
body .wc-hero h1 .wc-accent {
	background: var(--wc-accent);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

body .wc-hero p:not(.wc-eyebrow) {
	font-size: clamp(17px, 1.35vw, 19px);
	color: #b8c4d6;
}

body .wc-hero .wp-block-buttons {
	margin-top: 34px;
}

body .wc-badges {
	margin-top: 36px !important;
	gap: 10px;
}

body .wc-badges span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px 8px 10px;
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.14);
	color: #dbe4f0;
}

body .wc-badges span::before {
	content: "";
	width: 16px;
	height: 16px;
	flex: none;
	border-radius: 50%;
	background: rgba(52, 211, 153, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-9'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* Product carousel in a glass frame */
body .wc-hero .carousel-slider-outer {
	position: relative;
	padding: 10px;
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

body .wc-hero .carousel-slider-outer img {
	border-radius: 22px;
	box-shadow: none;
}

/* ---------- Partner strip directly under the hero (home) ---------- */

body.home .entry-content {
	display: flex;
	flex-direction: column;
}

body.home .entry-content > * {
	order: 3;
	width: 100%;
}

body.home .entry-content > .wc-hero {
	order: 1;
}

body.home .entry-content > .wc-section:has(.wc-logos) {
	order: 2;
	padding-top: clamp(40px, 4vw, 56px);
	padding-bottom: clamp(40px, 4vw, 56px);
	border-bottom: 1px solid var(--wc-line, #e2e8f0);
}

body.home .wc-section:has(.wc-logos) > .wc-center {
	margin-bottom: 28px;
}

body.home .wc-section:has(.wc-logos) > .wc-center > .wc-eyebrow {
	display: none;
}

body.home .wc-section:has(.wc-logos) > .wc-center > h2 {
	font-size: 15px;
	font-family: var(--wc-font-body);
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #64748b;
	margin: 0;
}

body.home .wc-section:has(.wc-logos) > .wc-center > h2::after {
	display: none;
}

body.home .wc-logos {
	margin-top: 0;
}

body.home .wc-logos figure {
	height: 80px;
	background: transparent;
	border-color: transparent;
}

body.home .wc-logos figure:hover {
	background: var(--wc-soft, #f4f7fb);
	box-shadow: none;
}

/* ---------- Cards ---------- */

body .wc-card {
	background: var(--wc-card-bg);
	border: 1px solid #e6ebf2;
	border-radius: var(--wc-radius-lg);
	box-shadow: var(--wc-card-shadow);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body .wc-card:hover {
	transform: translateY(-6px);
	border-color: #dbe3ee;
	box-shadow: var(--wc-card-shadow-hover);
}

body .wc-card .wc-icon {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(200, 16, 46, 0.12), rgba(200, 16, 46, 0.04));
	box-shadow: inset 0 0 0 1px rgba(200, 16, 46, 0.1);
}

body .wc-card.wc-blue .wc-icon {
	background: linear-gradient(135deg, rgba(30, 127, 203, 0.14), rgba(30, 127, 203, 0.04));
	box-shadow: inset 0 0 0 1px rgba(30, 127, 203, 0.12);
}

body .entry-content .wc-card .wc-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* Product cards: inset rounded image like a device frame */
body .wc-cards .wc-card:has(.wp-block-image) {
	padding: 10px 10px 32px;
}

body .wc-cards .wc-card:has(.wp-block-image) .wp-block-image {
	margin: 0 0 28px;
	border-radius: var(--wc-radius-md);
	overflow: hidden;
}

body .wc-cards .wc-card:has(.wp-block-image) > :not(.wp-block-image, ul) {
	padding-left: clamp(18px, 2vw, 26px);
	padding-right: clamp(18px, 2vw, 26px);
}

body .wc-cards .wc-card:has(.wp-block-image) > ul {
	margin-left: clamp(18px, 2vw, 26px);
	margin-right: clamp(18px, 2vw, 26px);
}

body .wc-cards .wc-card:has(.wp-block-image) > h3 {
	font-size: clamp(22px, 1.9vw, 26px);
}

body .wc-card .wc-checks li {
	color: var(--wc-navy, #0f1b2d);
	font-weight: 500;
}

/* Services: icon on the right, first tile highlighted */
body #services .wc-card {
	display: grid;
	grid-template-columns: 1fr 52px;
	grid-template-rows: auto 1fr auto;
	column-gap: 20px;
	align-content: start;
}

body #services .wc-card > * {
	grid-column: 1;
}

body #services .wc-card > .wc-icon {
	grid-column: 2;
	grid-row: 1 / 3;
	margin: 0 !important;
}

body #services .wc-card > p:last-child:has(a) {
	padding-top: 18px;
	align-self: end;
}

body #services .wc-center + .wc-cards > .wp-block-column:first-child .wc-card {
	background:
		radial-gradient(320px 220px at 100% 0%, rgba(30, 127, 203, 0.45), transparent 70%),
		linear-gradient(150deg, #10264a 0%, var(--wc-navy, #0f1b2d) 100%);
	border-color: transparent;
	color: #b8c4d6;
}

body #services .wc-center + .wc-cards > .wp-block-column:first-child .wc-card h3 {
	color: #fff !important;
}

body #services .wc-center + .wc-cards > .wp-block-column:first-child .wc-card .wc-icon {
	background: rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
	color: #fff;
}

body #services .wc-center + .wc-cards > .wp-block-column:first-child .wc-card .wc-link {
	color: #fff;
}

/* ---------- Stats ---------- */

body .wc-section.wc-dark:has(.wc-stats) {
	background:
		radial-gradient(600px 300px at 15% 0%, rgba(30, 127, 203, 0.3), transparent 70%),
		radial-gradient(600px 300px at 90% 100%, rgba(200, 16, 46, 0.22), transparent 70%),
		var(--wc-navy, #0f1b2d);
}

body .wc-stats > .wp-block-column {
	display: flex;
}

body .wc-stat {
	width: 100%;
	margin: 0;
	padding: 30px 20px;
	border-radius: var(--wc-radius-md);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	transition: background-color 0.25s, transform 0.25s;
}

body .wc-stat:hover {
	background: rgba(255, 255, 255, 0.07);
	transform: translateY(-3px);
}

body .wc-stat strong {
	font-size: clamp(38px, 3.8vw, 54px);
	background: linear-gradient(180deg, #ffffff 30%, #a9c4e6 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ---------- Industries ---------- */

body .wc-product .wp-block-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--wc-radius-lg);
	box-shadow: 0 24px 50px rgba(15, 27, 45, 0.16);
}

/* ---------- Technology pills ---------- */

body .wc-section .wp-block-column > h4 {
	display: flex;
	align-items: center;
	gap: 10px;
}

body .wc-section .wp-block-column > h4::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--wc-red, #c8102e);
	transform: rotate(45deg);
}

body .wc-pills span {
	border-radius: 999px;
	padding: 9px 16px;
	box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04);
}

/* ---------- CTA: inset rounded panel ---------- */

body .wc-cta {
	background: transparent !important;
	padding-top: 0;
	padding-bottom: clamp(64px, 7vw, 104px);
}

body.home .entry-content > .wc-cta {
	order: 9;
	padding-top: clamp(16px, 2vw, 24px);
}

body .wc-cta > .wp-block-columns {
	position: relative;
	overflow: hidden;
	padding: clamp(36px, 5vw, 64px);
	border-radius: 28px;
	background:
		radial-gradient(520px 320px at 100% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
		linear-gradient(125deg, #d8173a 0%, var(--wc-red, #c8102e) 45%, #7d0a1c 100%);
	box-shadow: 0 30px 60px rgba(200, 16, 46, 0.25);
}

body .wc-cta > .wp-block-columns::before,
body .wc-cta > .wp-block-columns::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.16);
	pointer-events: none;
}

body .wc-cta > .wp-block-columns::before {
	width: 420px;
	height: 420px;
	right: -120px;
	top: -220px;
}

body .wc-cta > .wp-block-columns::after {
	width: 640px;
	height: 640px;
	right: -230px;
	top: -330px;
}

body .wc-cta > .wp-block-columns > * {
	position: relative;
	z-index: 1;
}

body .wc-cta h2 {
	font-size: clamp(28px, 3vw, 40px);
	letter-spacing: -0.035em;
}

/* ---------- Footer ---------- */

body .site-primary-footer-wrap {
	background:
		radial-gradient(700px 300px at 0% 0%, rgba(30, 127, 203, 0.14), transparent 70%),
		var(--wc-navy, #0f1b2d) !important;
}

body .site-primary-footer-wrap a {
	transition: color 0.2s, padding-left 0.2s;
}

body .site-primary-footer-wrap .wp-block-list a:hover {
	padding-left: 4px;
}

body .site-primary-footer-wrap .wp-block-image img {
	border-radius: 14px;
	padding: 10px 14px;
}

body .site-below-footer-wrap {
	border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* ---------- Scroll reveal (only when JS has tagged elements) ---------- */

body .wc-reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) !important;
	transition-delay: var(--wc-delay, 0s) !important;
}

body .wc-reveal.wc-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	body .wc-reveal {
		opacity: 1;
		transform: none;
		transition: none !important;
	}

	body .wc-hero .wc-eyebrow::before {
		animation: none;
	}
}

/* ---------- Responsive ---------- */

@media (max-width: 921px) {
	body .wc-hero {
		min-height: 0;
		text-align: center;
	}

	body #masthead .ast-primary-header-bar {
		margin-top: 10px;
	}

	body #masthead .custom-logo {
		max-height: 44px;
	}

	body #ast-mobile-header .site-primary-header-wrap,
	body #ast-mobile-header .ast-builder-grid-row {
		min-height: 64px;
	}

	body #services .wc-center + .wc-cards > .wp-block-column:first-child .wc-card {
		background: linear-gradient(150deg, #10264a 0%, var(--wc-navy, #0f1b2d) 100%);
	}
}

@media (max-width: 781px) {
	body .wc-stat {
		padding: 22px 12px;
	}

	body .wc-cta > .wp-block-columns {
		border-radius: 22px;
	}

	body.home .wc-logos figure {
		height: 64px;
	}
}

@media (max-width: 781px) {
	body .wc-section .wc-cards {
		gap: 16px !important;
	}

	body .wc-section .wp-block-columns.wc-cards + .wp-block-columns.wc-cards {
		margin-top: 16px;
	}
}

body #ast-mobile-header .ast-mobile-header-content .menu-link {
	border-radius: 12px;
}

body #ast-mobile-header .ast-mobile-header-content .current-menu-item > .menu-link {
	background: rgba(200, 16, 46, 0.08);
	color: var(--wc-red, #c8102e);
}

/* ---------- Team members (Team Member Block plugin) ----------
   The editor wraps all members in a single card; turn that wrapper into a grid
   and make each member its own profile card. */

body .wc-card:has(> .wp-block-team-member-block-team-member-block) {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(20px, 2.4vw, 32px);
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
	transform: none !important;
}

body .wp-block-team-member-block-team-member-block,
body .wp-block-team-member-block-team-member-block .eb-parent-wrapper,
body .wp-block-team-member-block-team-member-block .eb-team-wrapper {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body .wp-block-team-member-block-team-member-block .eb-team-wrapper {
	height: 100%;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e6ebf2;
	border-radius: var(--wc-radius-lg, 24px);
	box-shadow: var(--wc-card-shadow);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body .wp-block-team-member-block-team-member-block .eb-team-wrapper:hover {
	transform: translateY(-6px);
	box-shadow: var(--wc-card-shadow-hover);
}

body .wp-block-team-member-block-team-member-block .eb-team-member-image {
	position: relative;
	width: 100% !important;
	overflow: hidden;
	background: #0b0f17;
}

/* Soft fade from the black photo backdrop into the card */
body .wp-block-team-member-block-team-member-block .eb-team-member-image::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 30%;
	background: linear-gradient(180deg, transparent, rgba(11, 15, 23, 0.35));
	pointer-events: none;
}

body .wp-block-team-member-block-team-member-block .eb-team-member-avatar {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center 20%;
	border-radius: 0 !important;
	transition: transform 0.6s ease;
}

body .wp-block-team-member-block-team-member-block .eb-team-wrapper:hover .eb-team-member-avatar {
	transform: scale(1.04);
}

body .wp-block-team-member-block-team-member-block .eb-team-member-contents {
	position: relative;
	padding: 24px 24px 28px !important;
	text-align: center;
}

/* Brand accent bar that grows on hover */
body .wp-block-team-member-block-team-member-block .eb-team-member-contents::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 36px;
	transform: translateX(-50%);
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: var(--wc-red, #c8102e);
	transition: width 0.35s ease;
}

body .wp-block-team-member-block-team-member-block .eb-team-wrapper:hover .eb-team-member-contents::before {
	width: calc(100% - 48px);
}

body .wp-block-team-member-block-team-member-block .eb-team-member-name {
	margin: 0 0 8px !important;
	font-family: var(--wc-font-head);
	font-size: 20px !important;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--wc-navy, #0f1b2d) !important;
	text-align: center !important;
}

body .wp-block-team-member-block-team-member-block .eb-team-member-job-title {
	display: inline-block;
	margin: 0 !important;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(200, 16, 46, 0.07);
	font-family: var(--wc-font-body);
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wc-red, #c8102e) !important;
	text-align: center !important;
}

@media (max-width: 600px) {
	body .wc-card:has(> .wp-block-team-member-block-team-member-block) {
		grid-template-columns: 1fr;
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
	}

	body .wp-block-team-member-block-team-member-block .eb-team-member-avatar {
		aspect-ratio: 1 / 1;
		object-position: center 15%;
	}
}
