/*
 * Critical styles for the first screen of posiflora2025-index.php.
 * Keep this file small: only the fixed header and content visible in the initial
 * viewport belong here.
 */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	min-height: 100%;
	margin: 0;
}

body {
	padding-top: 72px !important;
	background: #1f1f25;
	color: #585869;
	font-family: "Golos Text", Arial, sans-serif;
	font-size: 17px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
}

body.lock {
	overflow: hidden;
}

a,
a:visited {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea {
	font: inherit;
}

button {
	border: 0;
	cursor: pointer;
}

ul {
	margin: 0;
	padding: 0;
}

ul li {
	list-style: none;
}

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

h1,
h2,
h3,
p {
	margin-top: 0;
}

.container {
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
}

.xs-show {
	display: none !important;
}

/* Header */
.a-header {
	position: fixed;
	z-index: 99998;
	top: 0;
	width: 100%;
	min-height: 68px;
	max-height: 100vh;
	padding: 16px 0;
	background: #1f1f25;
	transition: transform 0.6s ease;
}

.a-header .wrapper,
.a-header .buttons,
.a-header .nav > ul,
.a-header .msgrs {
	display: flex;
	align-items: center;
}

.a-header .wrapper {
	justify-content: space-between;
}

.a-header .logo {
	display: flex;
	align-items: center;
	height: 22px;
}

.a-header .buttons {
	justify-content: space-between;
	gap: 0;
}

.a-header .nav {
	margin-right: 16px;
}

.a-header .nav > ul {
	justify-content: space-between;
	gap: 10px;
}

.submenu-parent {
	position: relative;
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 6px 2px;
	cursor: pointer;
}

.submenu-parent::after {
	content: "›";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	color: #fff;
	font-size: 20px;
	line-height: 1;
	transform: rotate(90deg);
}

.a-header .nav a,
.a-header .nav .submenu-parent > span {
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	line-height: 130%;
}

.a-header .nav ul.submenu {
	position: absolute;
	z-index: 999;
	bottom: 0;
	display: none;
	flex-direction: column;
	align-items: flex-start;
	width: 200px;
	overflow: hidden;
	border-radius: 16px;
	background: #585869;
	transform: translateY(100%) translateX(-15px);
}

.a-header .nav ul.submenu.for-who {
	width: 170px;
}

.a-header .nav ul.submenu li,
.a-header .nav ul.submenu a {
	width: 100%;
}

.a-header .nav ul.submenu a {
	display: flex;
	align-items: center;
	padding: 12px 10px;
}

.submenu-parent:hover ul.submenu,
.a-header .nav ul.submenu:hover {
	display: flex;
}

.a-header .msgrs {
	gap: 10px;
}

.head-call {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 140px;
	height: 36px;
	border-radius: 37px;
	background: #2261eb;
	color: #fff !important;
	font-size: 12px;
	font-weight: 500;
	line-height: 130%;
}

.head-call.xs-show,
.form-inside.xs-show {
	display: none;
}

.enter {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-left: 10px;
	padding: 6px;
	border: 1px solid #fff;
	border-radius: 36px;
	background: #fff;
	cursor: pointer;
}

.a-header .burger {
	display: none;
	align-items: center;
	width: 36px;
	height: 36px;
	margin-left: 10px;
	background: url("../img/posiflora2025/index/burger.svg") center no-repeat;
	cursor: pointer;
}

.mobile-menu,
.mobile-menu-overlay {
	display: none;
}

/* Main hero */
main {
	padding: 0 40px 60px;
	border-radius: 40px;
	background: #fff;
	color: #585869;
	font-family: "Golos Text", Arial, sans-serif;
	font-weight: 400;
	line-height: 130%;
}

.section {
	padding: 40px 0 60px;
}

.section h1 {
	max-width: 660px;
	margin-bottom: 16px;
	color: #000;
	font-size: 48px;
	font-weight: 700;
	line-height: normal;
}

.section h2 {
	margin-bottom: 16px;
	color: #000;
	font-size: 32px;
	font-weight: 600;
	line-height: normal;
}

main > .section1 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 100px;
}

.section1-left {
	width: 60%;
}

.section1-tip {
	display: inline-block;
	margin-bottom: 24px;
	padding: 4px 12px;
	border-radius: 1000px;
	background: rgba(34, 97, 235, 0.08);
	color: #2261eb;
	font-weight: 500;
}

.section1-text {
	max-width: 480px;
	margin-bottom: 32px;
}

.btn-blue {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 300px;
	padding: 18px 16px;
	gap: 6px;
	border-radius: 16px;
	background: #2261eb;
	color: #fff !important;
	font-size: 18px;
	font-weight: 400;
	line-height: 130%;
	text-align: center;
}

.btn-blue::after {
	content: "→";
	font-family: inherit;
	font-size: 24px;
	line-height: 1;
}

main > .section1 .video {
	width: 45%;
	height: fit-content;
	aspect-ratio: 16 / 9;
	border-radius: 20px;
	background: transparent;
}

main > .section1 .video > video {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 30px;
	object-fit: cover;
}

/* The beginning of this section is visible on short mobile screens. */
.section2 {
	display: flex;
	justify-content: space-between;
	gap: 100px;
}

.section2-left {
	max-width: 390px;
}

.butts {
	display: flex;
	flex-wrap: wrap;
	max-width: 564px;
	gap: 12px;
}

.butt {
	position: relative;
	width: 180px;
	height: 180px;
	overflow: hidden;
	padding: 12px 12px 12px 16px;
	border-radius: 24px;
}

.butts h3 {
	position: relative;
	z-index: 3;
	margin-bottom: 0;
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	line-height: 130%;
}

.butt-01 {
	background: linear-gradient(134deg, #606c88 0%, #3f4c6b 100%);
}

.butt-02 {
	background: linear-gradient(135deg, #6180d0 0%, #b3c8ff 100%);
}

.butt-03 {
	background: linear-gradient(134deg, rgba(226, 121, 112, 0.8) 0%, rgba(201, 99, 90, 0.8) 100%);
}

.butt-04 {
	background: linear-gradient(136deg, #4e54c8 0%, #8f94fb 100%);
}

.butt-05 {
	background: linear-gradient(143deg, #92cf97 0.01%, #6f9d72 100%);
}

.butt-06 {
	background: linear-gradient(137deg, #ec6f66 0%, #f3a183 100%);
}

.butts .png {
	position: absolute;
	z-index: 2;
	bottom: 0;
	left: 32px;
}

.butt::after {
	content: "→";
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #fff;
	color: #000;
	font-family: inherit;
	font-size: 22px;
	line-height: 1;
	opacity: 0;
	transform: rotate(-90deg);
}

@media (max-width: 1239px) {
	.container {
		padding-right: 16px;
		padding-left: 16px;
	}

	.a-header .logo {
		width: 50%;
	}

	.a-header .nav {
		display: none;
	}

	.a-header .burger {
		display: flex;
	}

	.a-header .msgrs a {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		margin-right: 10px;
		padding: 8px;
		border-radius: 50%;
		background: #25d366;
	}

	.head-call.xs-hidden {
		display: none !important;
	}

	.head-call.xs-show {
		display: flex !important;
		width: 36px;
		height: 36px;
		padding: 6px;
		border-radius: 50%;
	}
}

@media (max-width: 1023px) {
	main {
		border-radius: 32px;
		font-size: 14px;
	}

	.section {
		padding-bottom: 40px;
	}

	.section h1 {
		font-size: 32px;
	}

	.section h2 {
		margin-bottom: 10px;
		font-size: 24px;
	}

	.section1-tip {
		margin-bottom: 16px;
	}

	.section1-text {
		margin-bottom: 24px;
	}

	.section2 {
		gap: 10px;
	}

	.butts {
		max-width: 497px;
		gap: 10px;
	}

	.butts.xs-hidden {
		display: none;
	}

	.butts.xs-show,
	.butt.xs-show {
		display: flex !important;
	}

	.butt {
		width: 159px;
		height: 159px;
		padding: 12px;
		border-radius: 20px;
	}

	.butts h3 {
		font-size: 14px;
	}

	.butts .png {
		left: 26px;
	}
}

@media (max-width: 768px) {
	main {
		padding: 0 30px 32px;
	}

	main .container {
		max-width: 420px;
	}

	.section {
		padding-top: 32px;
		padding-bottom: 32px;
	}

	main > .section1 {
		flex-direction: column;
		align-items: center;
		gap: 44px;
	}

	.section1-left {
		width: 100%;
		text-align: center;
	}

	.form-inside.xs-hidden {
		display: none;
	}

	.form-inside.xs-show.btn-blue {
		display: flex !important;
	}

	main > .section1 .video {
		width: 100%;
	}

	.section2 {
		flex-direction: column;
	}

	.section h2 br {
		display: none;
	}

	.butt {
		width: calc(50% - 5px);
	}
}

@media (max-width: 600px) {
	.btn-blue {
		font-size: 14px;
	}

	.section h1 {
		max-width: 300px;
		margin-right: auto;
		margin-left: auto;
	}
}

@media (max-width: 479px) {
	main {
		padding: 0 16px 32px;
	}
}
