/* AMLAB base — shared utilities ported from the KBIT design system, header/footer, buttons. */

::selection {
	background: rgba(197, 161, 90, 0.35);
}

html {
	scroll-behavior: smooth;
}

.kbit-container {
	width: min(100% - 2rem, 1180px);
	margin-inline: auto;
}

/* ===== Shared surface utilities ===== */

.kbit-shell-bg {
	background:
		linear-gradient(115deg, rgba(255, 255, 255, 0.92), rgba(246, 243, 236, 0.82)),
		radial-gradient(circle at 72% 28%, rgba(197, 161, 90, 0.15), transparent 22rem),
		radial-gradient(circle at 86% 16%, rgba(79, 120, 165, 0.16), transparent 20rem);
}

.portrait-placeholder {
	background:
		linear-gradient(180deg, rgba(238, 241, 248, 0.75), rgba(255, 255, 255, 0.95)),
		radial-gradient(circle at 50% 28%, rgba(32, 41, 64, 0.12), transparent 5rem);
}

.kbit-dark-hero {
	color: #fff;
	background-color: #0c1220;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
		radial-gradient(ellipse 80% 55% at 50% -10%, rgba(79, 120, 165, 0.28) 0%, transparent 65%),
		radial-gradient(ellipse 34% 28% at 58% 64%, rgba(233, 220, 195, 0.07) 0%, transparent 60%),
		radial-gradient(ellipse 40% 35% at 88% 45%, rgba(197, 161, 90, 0.09) 0%, transparent 50%),
		radial-gradient(ellipse 50% 40% at 12% 90%, rgba(21, 28, 44, 0.55) 0%, transparent 50%),
		linear-gradient(165deg, rgba(12, 18, 32, 1) 0%, rgba(21, 28, 44, 1) 55%, rgba(15, 24, 40, 1) 100%);
	background-size: 44px 44px, 44px 44px, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
}

.kbit-glass {
	background: rgba(255, 255, 255, 0.055);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, 0.09);
}

.kbit-glass-light {
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(22px) saturate(150%);
	-webkit-backdrop-filter: blur(22px) saturate(150%);
}

.kbit-grid-pattern {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
	background-size: 44px 44px;
}

.text-gradient-gold {
	background: linear-gradient(135deg, #C5A15A 0%, #e9cc8a 45%, #C5A15A 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.kbit-pillar {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 100%);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.kbit-pillar:hover {
	transform: translateY(-4px);
	border-color: rgba(197, 161, 90, 0.35);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(197, 161, 90, 0.1);
}

.kbit-beam {
	background: linear-gradient(90deg, transparent, rgba(197, 161, 90, 0.65), transparent);
}

@keyframes kbit-pulse-soft {
	0%, 100% { opacity: 0.55; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.5); }
}

.kbit-pulse-dot {
	animation: kbit-pulse-soft 2.4s ease-in-out infinite;
}

/* ===== Header ===== */

.amlab-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(21, 28, 44, 0.88) !important;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.wp-admin-bar .amlab-header,
body.admin-bar .amlab-header {
	top: 32px;
}

.amlab-header .wp-block-navigation a {
	color: #fff;
	font-weight: 500;
}

.amlab-header .wp-block-navigation a:hover,
.amlab-header .wp-block-navigation .current-menu-item > a {
	color: #C5A15A;
}

.amlab-header .wp-block-navigation__submenu-container {
	background: #151C2C !important;
	border: 1px solid rgba(255, 255, 255, 0.09) !important;
	border-radius: 12px;
}

.amlab-header__title a {
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
}

/* ===== Footer ===== */

.amlab-footer .amlab-footer__tagline {
	color: rgba(255, 255, 255, 0.65);
	max-width: 22rem;
}

.amlab-footer a:hover {
	color: #C5A15A;
}

.amlab-footer__rule {
	opacity: 0.5;
	width: 100%;
}

.amlab-footer__copyright {
	color: rgba(255, 255, 255, 0.45);
}

/* ===== Language switcher ===== */

.amlab-lang-switch {
	display: inline-flex;
	gap: 0.15rem;
	align-items: center;
	margin: 0 0.5rem;
}

.amlab-lang-switch__item {
	font-size: 0.72rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.55);
	padding: 0.25rem 0.45rem;
	border-radius: 6px;
	letter-spacing: 0.03em;
}

.amlab-lang-switch__item.is-active,
.amlab-lang-switch__item:hover {
	color: #C5A15A;
	background: rgba(197, 161, 90, 0.12);
}

/* ===== Buttons ===== */

.is-style-amlab-cta-gold .wp-block-button__link {
	background: linear-gradient(135deg, #d4ac62 0%, #C5A15A 60%, #b08d47 100%);
	color: #151C2C;
	box-shadow: 0 0 24px rgba(197, 161, 90, 0.35), 0 8px 24px rgba(0, 0, 0, 0.4);
	transition: box-shadow 0.3s ease, transform 0.2s ease;
	border-radius: 999px;
}

.is-style-amlab-cta-gold .wp-block-button__link:hover {
	box-shadow: 0 0 44px rgba(197, 161, 90, 0.55), 0 8px 24px rgba(0, 0, 0, 0.4);
	transform: translateY(-1px);
	color: #151C2C;
}

.is-style-amlab-outline-light .wp-block-button__link {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.is-style-amlab-outline-light .wp-block-button__link:hover {
	border-color: #C5A15A;
	color: #C5A15A;
	background: rgba(197, 161, 90, 0.08);
}

/* ===== Contact Form 7 ===== */

.amlab-form-wrap { box-shadow: 0 14px 40px rgba(21, 28, 44, 0.08); }

.wpcf7 label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: #202940;
	margin-bottom: 1rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	margin-top: 0.35rem;
	padding: 0.7rem 0.9rem;
	border: 1px solid #E6EAF0;
	border-radius: 0.6rem;
	background: #F6F3EC;
	font-size: 0.9rem;
	color: #151B2F;
	font-weight: 400;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: #C5A15A;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(197, 161, 90, 0.15);
}

.wpcf7 textarea { min-height: 120px; resize: vertical; }

.wpcf7-checkbox .wpcf7-list-item,
.wpcf7-acceptance {
	display: block;
	font-weight: 400;
	font-size: 0.85rem;
	margin: 0.35rem 0;
}

.wpcf7 .wpcf7-submit {
	background: linear-gradient(135deg, #d4ac62 0%, #C5A15A 60%, #b08d47 100%);
	color: #151C2C;
	font-weight: 700;
	border: none;
	border-radius: 999px;
	padding: 0.8rem 2rem;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(197, 161, 90, 0.25);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	margin-top: 0.5rem;
}

.wpcf7 .wpcf7-submit:hover {
	box-shadow: 0 0 30px rgba(197, 161, 90, 0.4);
	transform: translateY(-1px);
}

.wpcf7-response-output {
	border-radius: 0.6rem;
	margin: 1rem 0 0;
	padding: 0.8rem 1rem;
	font-size: 0.85rem;
}

.wpcf7 form.sent .wpcf7-response-output { border-color: #4F78A5; color: #202940; }

/* ===== Reduced motion ===== */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.kbit-pulse-dot { animation: none; }
	.kbit-pillar,
	.kbit-pillar:hover,
	.is-style-amlab-cta-gold .wp-block-button__link:hover { transform: none; transition: none; }
}
