* {
	box-sizing: border-box;
}

body {
	padding: 0;
	margin: 0;
	font-family: "Exo 2", sans-serif;
	font-weight: 400;
	background-color: #ededed;
}

h1,
h2 {
	font-family: "Exo 2", sans-serif;

	text-align: center;
}

.container {
	max-width: 1400px;
	padding: 0 20px;
	margin: 0 auto;
}

.header {
	min-height: 100vh;
	background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
		url('../images/bg-head.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: white;
	position: relative;
}

.header__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 30px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header__logo {
	display: flex;
	align-items: center;
}

.header__logo img {
	height: 60px;
	width: auto;
}

.header__menu {
	display: flex;
	align-items: center;
	gap: 40px;
}

.header__menu-link {
	color: white;
	text-decoration: none;
	font-size: 20px;
	font-weight: 400;
	transition: opacity 0.3s ease;
}

.header__menu-link:hover {
	opacity: 0.8;
}

.header__menu-link--button {
	border: 1px solid white;
	padding: 12px 24px;
	border-radius: 6px;
	transition: all 0.3s ease;
	background: rgba(255, 255, 255, 0.1);
}

.header__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 120px 0;
}

.header__title {
	font-size: 48px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 30px 0;
	max-width: 900px;
}

.header__subtitle {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.4;
	margin: 0 0 50px 0;
	max-width: 600px;
	opacity: 0.9;
}

.header__btn {
	background: linear-gradient(to right, #3676f9, #1434d7);
	color: white;
	border: none;
	padding: 8px 15px 8px 30px;
	font-size: 25px;
	font-weight: 700;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 15px;
	text-decoration: none;
	font-family: 'PT Sans', sans-serif;
}

.header__btn img {
	max-width: 50px;
	margin-top: 3px;
}

.header__btn:hover {
	transform: translateY(-2px);
}

.burger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 6px;
}

.burger__line {
	width: 28px;
	height: 3px;
	background: white;
	transition: all 0.3s ease;
}

.mobile-menu {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 100px 30px;
	height: auto;
	background: rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(10px);
	z-index: 2;
}

.mobile-menu__close {
	position: absolute;
	top: 30px;
	right: 30px;
	width: 30px;
	height: 30px;
	cursor: pointer;
	background: none;
	border: none;
}

.mobile-menu__close::before,
.mobile-menu__close::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 25px;
	height: 3px;
	background: white;
}

.mobile-menu__close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu__close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	gap: 50px;
}

.mobile-menu__link {
	color: white;
	text-decoration: none;
	font-size: 32px;
	font-weight: 400;
	transition: opacity 0.3s ease;
}

.mobile-menu__link:hover {
	opacity: 0.8;
}

/* Companies Section */
.companies {
	padding: 100px 0;
}

.companies__header {
	text-align: center;
	margin-bottom: 60px;
}

.companies__title {
	font-size: 50px;
	font-weight: 700;
	color: #333;
	margin: 0 0 20px 0;
	line-height: 1.2;
}

.companies__subtitle {
	font-size: 30px;
	color: rgba(0, 0, 0, 0.8);
	margin: 0;
	font-weight: 400;
}

.companies__carousel {
	position: relative;
	margin: 0 auto;
}

.company-card {
	width: 100%;
	background: white;
	border-radius: 16px;
	padding: 30px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.company-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.company-card__header {
	text-align: center;
	margin-bottom: 20px;
}

.company-card-wrapper {
	display: flex;
	gap: 20px;
	justify-content: space-between;
	padding-top: 15px;
	border-top: 1px solid rgba(0, 0, 0, 0.5);
}

.company-card__logo {
	font-size: 32px;
	font-weight: 700;
	color: #333;
	max-width: 200px;
	margin: 0 auto 15px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.company-card__logo img {
	width: 100%;
	height: 60px;
}

.company-card__name {
	font-size: 24px;
	color: rgba(0, 0, 0, 0.7);
	margin: 0 0 15px 0;
}

.company-card__rating {
	display: flex;
	justify-content: center;
	gap: 3px;
	margin-bottom: 25px;
}

.star {
	color: #ffc107;
	font-size: 18px;
}

.star--empty {
	color: #e0e0e0;
}

.company-card__features {
	list-style: none;
	padding: 0;
	margin: 0;
	flex-grow: 1;
}

.company-card__feature {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 16px;
	color: #333;
	line-height: 1.4;
}

.feature-check {
	color: #28a745;
	font-weight: 700;
	font-size: 16px;
	margin-top: 2px;
	flex-shrink: 0;
}

.company-card__stats {
	border-top: 1px solid #eee;
	padding-top: 20px;
	margin-bottom: 25px;
}

.company-card__stat {
	display: flex;
	justify-content: space-between;
	margin-bottom: 8px;
	font-size: 14px;
}

.stat-label {
	color: rgba(0, 0, 0, 0.7);
}

.stat-value {
	color: #333;
	font-weight: 600;
}

.company-card__button {
	background: #1537d8;
	color: white;
	border: none;
	padding: 10px;
	width: 100%;
	border-radius: 8px;
	font-size: 20px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	text-decoration: none;
	font-family: 'PT Sans', sans-serif;
	margin: auto auto 0;
}

.company-card__button:hover {
	transform: translateY(-1px);
}

/* Swiper customization */
.swiper {
	padding: 0 60px;
}

.swiper-slide {
	height: auto;
	display: flex;
}

.swiper-button-next,
.swiper-button-prev {
	color: rgba(119, 119, 119, 1);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin-top: -25px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
	font-size: 40px;
	font-weight: 700;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {}

.swiper-button-disabled {
	opacity: 0.5;
}

.comments {
	padding: 0 0 100px;
}

.comments__list {
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-top: 50px;
}

.comment__item {
	background-color: #fff;
	border-radius: 5px;
	padding: 15px 23px;
}

.comment__item p {
	margin: 10px 0 0 0;
	padding: 12px 0 0 0;
	border-top: 1px solid rgba(0, 0, 0, 0.4);
	font-size: 20px;
}

.comment__item-head {
	display: flex;
	gap: 15px;
	align-items: center;
}

.comment__item-head .star {
	font-size: 16px;
}

.comment__item-head h4 {
	font-size: 22px;
	margin: 0;
	font-weight: 500;
}

.comment__item-head img {
	width: 100%;
}

.footer {
	background-color: #000b30;
	padding: 50px 0 70px;
	text-align: center;
	font-size: 18px;
	color: rgba(255, 255, 255, 0.5);
}

.footer .container {
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.footer p {
	margin: 0;
}

/* Chat Icon */
.chat-icon {
	position: fixed;
	bottom: 50px;
	right: 50px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 20px rgba(54, 118, 249, 0.3);
	z-index: 2;
	animation: pulse 2s infinite;
	transition: transform 0.3s ease;
}

.chat-icon:hover {
	transform: scale(1.1);
}

.chat-icon img {
	width: 92px;
	height: 92px;
}

@keyframes pulse {
	0% {
		transform: scale(1);
		box-shadow: 0 4px 20px rgba(54, 118, 249, 0.3);
	}

	50% {
		transform: scale(1.05);
		box-shadow: 0 6px 25px rgba(54, 118, 249, 0.5);
	}

	100% {
		transform: scale(1);
		box-shadow: 0 4px 20px rgba(54, 118, 249, 0.3);
	}
}

/* MODAL STYLES */
.modal {
	display: none;
	position: fixed;
	z-index: 2;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(8px);
}

.modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal__content {
	background: white;
	border-radius: 20px;
	padding: 60px 40px 40px 40px;
	max-width: 700px;
	width: 90%;
	position: relative;
	text-align: center;
	animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
	from {
		opacity: 0;
		transform: scale(0.8);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

.modal__close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 30px;
	height: 30px;
	cursor: pointer;
	background: none;
	border: none;
	font-size: 24px;
	color: #999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal__close:hover {
	color: #333;
}

.modal__close::before,
.modal__close::after {
	content: '';
	position: absolute;
	width: 20px;
	height: 2px;
	background: currentColor;
}

.modal__close::before {
	transform: rotate(45deg);
}

.modal__close::after {
	transform: rotate(-45deg);
}

.modal__company-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 80px;
	margin-bottom: 15px;
}

.modal__company-logo img {
	max-height: 80px;
	max-width: 250px;
	width: auto;
	height: auto;
}

.modal__divider {
	width: 100%;
	height: 1px;
	background: #e0e0e0;
	margin: 0 auto 25px auto;
}

.modal__title {
	font-size: 30px;
	font-weight: 700;
	font-family: 'PT Sans', sans-serif;
	color: #1435d7;
	margin-bottom: 15px;
	text-transform: uppercase;
}

.modal__subtitle {
	font-size: 18px;
	color: #666;
	margin-bottom: 35px;
	line-height: 1.4;
}

.modal__form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.modal__input {
	width: 100%;
	padding: 15px 20px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-size: 16px;
	font-family: 'PT Sans', sans-serif;
	transition: border-color 0.3s ease;
	background: #f8f9fa;
}

.modal__input::placeholder {
	color: #999;
}

.modal__input:focus {
	outline: none;
	border-color: #4472c4;
}

.modal__submit {
	background: linear-gradient(to right, #3473f7, #1435d7);
	color: white;
	border: none;
	padding: 15px 20px;
	border-radius: 8px;
	font-size: 35px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: 'PT Sans', sans-serif;
	margin-top: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;

	img {
		margin-top: 10px;
	}
}

.modal__submit:hover {
	transform: translateY(-1px);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
	.header {
		min-height: auto;
	}

	.container {
		padding: 0 15px;
	}

	.companies__header {
		margin-bottom: 30px;
	}

	.header__menu {
		display: none;
	}

	.burger {
		display: flex;
	}

	.header__top {
		padding: 20px 0;
	}

	.header__logo img {
		height: 50px;
	}

	.header__content {
		padding: 80px 0;
	}

	.header__title {
		font-size: 32px;
		margin-bottom: 20px;
	}

	.header__subtitle {
		font-size: 18px;
		margin-bottom: 40px;
	}

	.header__btn {
		padding: 16px 30px;
		font-size: 16px;
		align-self: center;
		width: 100%;
		justify-content: center;
		max-width: 300px;
	}

	.mobile-menu.active {
		display: block;
	}

	.companies {
		padding: 60px 0;
	}

	.companies__title {
		font-size: 33px;
		font-family: "Exo 2", sans-serif;

	}

	.companies__subtitle {
		display: none;
		font-size: 20px;
	}

	/* НОВЫЕ СТИЛИ для отключения слайдера на мобильных */
	.companies__carousel .swiper {
		padding: 0;
	}

	.companies__carousel .swiper-wrapper {
		display: block !important;
		transform: none !important;
	}

	.companies__carousel .swiper-slide {
		width: 100% !important;
		transform: none !important;
		margin-bottom: 30px;
	}

	.companies__carousel .swiper-slide:last-child {
		margin-bottom: 0;
	}

	.swiper-button-next,
	.swiper-button-prev {
		display: none !important;
	}

	.company-card {
		padding: 34px 24px;
	}

	.comments__list {
		justify-content: center;
		flex-wrap: wrap;
	}

	.comment__item {
		flex: 0 1 45%;
	}

	.chat-icon {
		bottom: 35px;
		right: 35px;
		width: 50px;
		height: 50px;
	}

	.chat-icon img {
		width: 75px;
		height: 75px;
	}

	.modal__content {
		padding: 40px 30px 30px 30px;
		margin: 20px;
	}

	.modal__company-logo {
		height: 70px;
	}

	.modal__company-logo img {
		max-height: 70px;
		max-width: 220px;
	}

	.modal__title {
		font-size: 20px;
	}

	.modal__submit {
		font-size: 25px;

		img {
			margin-top: 0;
		}
	}
}

@media (max-width: 630px) {
	.comments__list {
		flex-direction: column;
	}
}

@media (max-width: 480px) {
	.header__title {
		font-size: 28px;
	}

	.header__subtitle {
		font-size: 16px;
	}

	.header__btn {
		width: 100%;
		max-width: none;
	}

	/* Дополнительные стили для очень маленьких экранов */
	.companies__carousel .swiper {
		padding: 0;
	}

	.companies__carousel .swiper-slide {
		margin-bottom: 20px;
	}

	.modal__content {
		padding: 30px 20px 20px 20px;
	}

	.modal__company-logo {
		height: 60px;
	}

	.modal__company-logo img {
		max-height: 60px;
		max-width: 200px;
	}

	.modal__title {
		font-size: 18px;
	}
}

/* CONSULTATION MODAL STYLES - добавить в конец файла style.css */

/* Consultation Modal */
.consultation-modal {
	display: none;
	position: fixed;
	z-index: 2;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(8px);
}

.consultation-modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
}

.consultation-modal__content {
	background: white;
	border-radius: 20px;
	max-width: 800px;
	width: 90%;
	position: relative;
	animation: modalSlideIn 0.3s ease-out;
	overflow: hidden;
}

.consultation-modal__close {
	position: absolute;
	top: 15px;
	right: 20px;
	width: 30px;
	height: 30px;
	cursor: pointer;
	background: none;
	border: none;
	font-size: 28px;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: color 0.3s ease;
}

.consultation-modal__close:hover {
	color: rgba(255, 255, 255, 0.8);
}

.consultation-modal__header {
	background: url('../images/form-bg.png');
	background-position: right;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 40px;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
	color: #fff;

	div {
		max-width: 70%;
	}

	h3 {
		font-size: 30px;
		margin: 0 0 20px 0;
		text-transform: uppercase;
		text-align: left;
	}

	p {
		font-size: 20px;
		color: rgba(255, 255, 255, 0.7);
		text-align: left;
		margin: 0;
	}
}

.consultation-modal__stars {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
}

.star-icon {
	position: absolute;
	color: #ffd700;
	font-size: 20px;
	text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
	animation: starFloat 3s ease-in-out infinite;
}

.star-1 {
	top: 10%;
	left: -20px;
	animation-delay: 0s;
}

.star-2 {
	top: 30%;
	right: -15px;
	animation-delay: 0.6s;
}

.star-3 {
	top: 60%;
	left: -25px;
	animation-delay: 1.2s;
}

.star-4 {
	top: 80%;
	right: -10px;
	animation-delay: 1.8s;
}

.star-5 {
	top: 50%;
	left: 50%;
	transform: translateX(-50%);
	animation-delay: 2.4s;
}

@keyframes starFloat {

	0%,
	100% {
		transform: translateY(0px) rotate(0deg);
		opacity: 0.7;
	}

	50% {
		transform: translateY(-10px) rotate(180deg);
		opacity: 1;
	}
}

.consultation-modal__form {
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.consultation-modal__input {
	width: 100%;
	padding: 18px 25px;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	font-size: 16px;
	font-family: 'PT Sans', sans-serif;
	transition: all 0.3s ease;
	background: #f8f9fa;
	box-sizing: border-box;
}

.consultation-modal__input::placeholder {
	color: #999;
}

.consultation-modal__input:focus {
	outline: none;
	border-color: #2e5bba;
	background: white;
	box-shadow: 0 0 0 3px rgba(46, 91, 186, 0.1);
}

.consultation-modal__submit {
	background: linear-gradient(135deg, #4472c4, #2e5bba);
	color: white;
	border: none;
	padding: 18px 30px;
	border-radius: 12px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: 'PT Sans', sans-serif;
	margin-top: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.consultation-modal__submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(46, 91, 186, 0.3);
}

.consultation-modal__submit svg {
	transition: transform 0.3s ease;
}

.consultation-modal__submit:hover svg {
	transform: translateX(5px);
}

/* Адаптивность */
@media (max-width: 768px) {
	.consultation-modal__content {
		width: 95%;
		margin: 20px;
	}

	.consultation-modal__header {
		flex-direction: column;
		text-align: center;
		padding: 30px 20px;
		gap: 20px;

		h3 {
			font-size: 20px;
		}

		p {
			font-size: 13px;
		}
	}

	.consultation-modal__title {
		font-size: 22px;
		margin-bottom: 15px;
	}

	.consultation-modal__subtitle {
		font-size: 14px;
	}

	.consultation-modal__image img {
		width: 150px;
		height: 150px;
	}

	.star-icon {
		font-size: 16px;
	}

	.consultation-modal__form {
		padding: 30px 20px;
		gap: 15px;
	}

	.consultation-modal__input {
		padding: 15px 20px;
		font-size: 14px;
	}

	.consultation-modal__submit {
		padding: 15px 25px;
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.consultation-modal__header {
		padding: 25px 15px;
	}

	.consultation-modal__title {
		font-size: 20px;
	}

	.consultation-modal__subtitle {
		font-size: 13px;
	}

	.consultation-modal__image img {
		width: 120px;
		height: 120px;
	}

	.consultation-modal__form {
		padding: 25px 15px;
	}

	.consultation-modal__close {
		top: 10px;
		right: 15px;
		font-size: 24px;
	}
}