/* ==========================================================================
   Bizincubator — design system, header and footer.
   Colours and typography come from the approved mockup.
   ========================================================================== */

:root {
	--biz-red: #E4141B;
	--biz-green: #00A24A;
	--biz-gold: #F4B41A;
	--biz-blue: #1D4ED8;
	--biz-dark: #0A1130;
	--biz-ink: #12131A;
	--biz-light: #F4F6FB;
	--biz-muted: rgba(18, 19, 26, .6);
	--biz-line: rgba(10, 17, 48, .08);
	--biz-max: 1440px;
	--biz-pad: clamp(16px, 4vw, 56px);
	--biz-font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--biz-light);
	color: var(--biz-ink);
	font-family: var(--biz-font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body a {
	color: var(--biz-blue);
	text-decoration: none;
}

::selection {
	background: var(--biz-gold);
	color: var(--biz-ink);
}

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

.biz-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	background: #fff;
	padding: 12px 18px;
	z-index: 999;
}

.biz-skip:focus {
	left: 12px;
	top: 12px;
}

/* --------------------------------------------------------------- utility */

.biz-utility {
	background: var(--biz-light);
	color: var(--biz-ink);
	border-bottom: 1px solid var(--biz-line);
}

.biz-utility__inner {
	max-width: var(--biz-max);
	margin: 0 auto;
	padding: 0 var(--biz-pad);
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.biz-utility__group {
	display: flex;
	align-items: center;
	gap: clamp(12px, 2vw, 24px);
	flex-wrap: wrap;
	padding: 6px 0;
}

.biz-utility__item,
.biz-utility__phone {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font: 500 12px/1 var(--biz-font);
	color: var(--biz-muted);
}

.biz-utility__phone {
	font-weight: 700;
	color: var(--biz-dark);
}

.biz-lang {
	display: flex;
	gap: 2px;
	background: rgba(10, 17, 48, .06);
	border-radius: 999px;
	padding: 3px;
}

.biz-lang__item {
	font: 700 11px/1 var(--biz-font);
	letter-spacing: .06em;
	padding: 7px 12px;
	border-radius: 999px;
	color: rgba(18, 19, 26, .55);
}

.biz-lang__item.is-current {
	background: var(--biz-dark);
	color: #fff;
}

.biz-lang--mobile {
	margin-top: 22px;
	align-self: flex-start;
	background: rgba(255, 255, 255, .12);
}

.biz-lang--mobile .biz-lang__item {
	color: rgba(255, 255, 255, .7);
}

.biz-lang--mobile .biz-lang__item.is-current {
	background: #fff;
	color: var(--biz-dark);
}

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

.biz-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(255, 255, 255, .86);
	backdrop-filter: blur(18px) saturate(160%);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	border-bottom: 1px solid var(--biz-line);
}

.biz-header__strip {
	height: 2px;
	background: var(--biz-red);
}

.biz-header__inner {
	max-width: var(--biz-max);
	margin: 0 auto;
	padding: 10px var(--biz-pad);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: nowrap;
}

.biz-logo {
	flex: 0 1 auto;
	min-width: 0;
}

.biz-logo img {
	height: 50px;
	width: auto;
	display: block;
}

.biz-nav__list,
.biz-mobile-menu__list,
.biz-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.biz-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(14px, 1.8vw, 30px);
}

.biz-nav__list li {
	position: relative;
}

.biz-nav__list a {
	font: 600 13.5px/1 var(--biz-font);
	color: rgba(10, 17, 48, .72);
	transition: color .18s ease;
}

.biz-nav__list a:hover,
.biz-nav__list .current-menu-item > a,
.biz-nav__list .current_page_item > a {
	color: var(--biz-dark);
}

.biz-nav__list .current-menu-item > a,
.biz-nav__list .current_page_item > a {
	box-shadow: inset 0 -2px 0 0 var(--biz-green);
	padding-bottom: 4px;
}

.biz-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 210px;
	background: #fff;
	border: 1px solid var(--biz-line);
	border-radius: 14px;
	padding: 10px;
	margin-top: 12px;
	display: none;
	list-style: none;
	box-shadow: 0 24px 50px -30px rgba(10, 17, 48, .5);
}

.biz-nav__list li:hover > .sub-menu {
	display: block;
}

.biz-nav__list .sub-menu a {
	display: block;
	padding: 9px 10px;
	border-radius: 9px;
}

.biz-nav__list .sub-menu a:hover {
	background: var(--biz-light);
}

.biz-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* --------------------------------------------------------------- buttons */

.biz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 22px;
	border-radius: 999px;
	font: 700 13px/1 var(--biz-font);
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.biz-btn--primary {
	background: var(--biz-blue);
	color: #fff;
	box-shadow: 0 10px 30px -12px rgba(29, 78, 216, .9);
}

.biz-btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 16px 34px -14px rgba(29, 78, 216, .95);
	color: #fff;
}

.biz-btn--green {
	background: var(--biz-green);
	color: #fff;
	box-shadow: 0 10px 30px -12px rgba(0, 162, 74, .9);
}

.biz-btn--green:hover {
	color: #fff;
	transform: translateY(-1px);
}

.biz-btn--ghost {
	background: transparent;
	border-color: rgba(10, 17, 48, .18);
	color: var(--biz-dark);
}

.biz-btn--ghost:hover {
	border-color: var(--biz-dark);
}

.biz-btn--light {
	background: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .25);
	color: #fff;
}

.biz-btn--light:hover {
	background: rgba(255, 255, 255, .18);
	color: #fff;
}

.biz-btn--lg {
	padding: 16px 28px;
	font-size: 14.5px;
}

.biz-btn--block {
	display: flex;
	width: 100%;
	padding: 18px;
	font-size: 15px;
}

/* ---------------------------------------------------------- mobile menu */

.biz-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(10, 17, 48, .15);
	background: rgba(10, 17, 48, .04);
	border-radius: 14px;
	cursor: pointer;
	flex-direction: column;
	gap: 5px;
}

.biz-burger span {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--biz-dark);
}

.biz-burger span:last-child {
	width: 12px;
	background: var(--biz-gold);
	align-self: flex-start;
	margin-left: 13px;
}

.biz-mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: var(--biz-dark);
	padding: 22px clamp(18px, 6vw, 40px);
	flex-direction: column;
	gap: 8px;
	overflow-y: auto;
}

.biz-mobile-menu[hidden] {
	display: none;
}

.biz-mobile-menu.is-open {
	display: flex;
}

.biz-mobile-menu__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 18px;
	font: 700 14px/1 var(--biz-font);
	color: #fff;
}

.biz-mobile-menu__close {
	width: 44px;
	height: 44px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, .2);
	background: transparent;
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.biz-mobile-menu__list a {
	display: block;
	font: 700 clamp(24px, 7vw, 34px)/1.15 var(--biz-font);
	color: #fff;
	padding: 8px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.biz-mobile-menu .biz-btn {
	margin-top: 20px;
}

/* ---------------------------------------------------------------- footer */

.biz-footer {
	background: var(--biz-dark);
	color: #fff;
	padding: clamp(52px, 6vw, 90px) var(--biz-pad) 30px;
}

.biz-footer__inner {
	max-width: var(--biz-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 36px;
}

.biz-footer__col {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.biz-footer__brand img {
	height: 54px;
	width: auto;
	background: #fff;
	border-radius: 12px;
	padding: 6px 10px;
}

.biz-footer__about {
	margin: 0;
	font: 500 13.5px/1.7 var(--biz-font);
	color: rgba(255, 255, 255, .6);
	max-width: min(32ch, 100%);
}

.biz-social {
	display: flex;
	gap: 8px;
}

.biz-social__link {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, .18);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: background .18s ease;
}

.biz-social__link:hover {
	background: rgba(255, 255, 255, .1);
	color: #fff;
}

.biz-footer__title {
	font: 600 11px/1 var(--biz-font);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .4);
}

.biz-footer__list a,
.biz-footer__address {
	font: 600 14px/1.6 var(--biz-font);
	color: rgba(255, 255, 255, .82);
	display: block;
	padding: 3px 0;
}

.biz-footer__list a:hover {
	color: #fff;
}

.biz-footer__phone {
	font: 700 18px/1.2 var(--biz-font);
	color: #fff;
}

.biz-footer__email {
	font: 600 14px/1 var(--biz-font);
	color: var(--biz-gold);
}

.biz-footer__map {
	min-height: 190px;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .12);
}

.biz-footer__map iframe {
	width: 100%;
	height: 100%;
	min-height: 190px;
	border: 0;
	display: block;
	filter: grayscale(.2) contrast(1.05);
}

.biz-footer__bottom {
	max-width: var(--biz-max);
	margin: 40px auto 0;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font: 500 12px/1.5 var(--biz-font);
	color: rgba(255, 255, 255, .45);
}

.biz-footer__hosting a {
	color: inherit;
	text-decoration: none;
	transition: color .2s ease;
}

.biz-footer__hosting a:hover,
.biz-footer__hosting a:focus-visible {
	color: #fff;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 960px) {
	.biz-desktop {
		display: none !important;
	}

	.biz-burger {
		display: flex;
	}
}

@media (min-width: 961px) {
	.biz-mobile {
		display: none !important;
	}
}

@media (max-width: 760px) {
	.biz-hide-sm {
		display: none !important;
	}
}
