/* Глобальные настройки и переменные */
:root {
	--font-primary: 'Montserrat', sans-serif;
	--font-secondary: 'Lora', serif;
	--color-text: #2c3e50;
	--color-background: #f8f9fa;
	--color-primary: #1abc9c;
	--color-primary-dark: #16a085;
	--color-white: #ffffff;
	--color-border: #eaecef;
	--container-width: 1200px;
	--header-height: 80px;
}

/* Сброс стилей */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-primary);
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text);
	background-color: var(--color-background);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-secondary);
	font-weight: 600;
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: var(--color-primary-dark);
}

ul {
	list-style: none;
}

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

.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
}

/* Логотип */
.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--color-text);
	font-weight: 700;
	font-size: 22px;
}

.logo__svg {
	transition: transform 0.3s ease-in-out;
}

.logo:hover .logo__svg {
	transform: rotate(15deg);
}

/* Хедер */
.header {
	background-color: var(--color-white);
	height: var(--header-height);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
}

.header__nav-list {
	display: flex;
	align-items: center;
	gap: 30px;
}

.header__nav-link {
	color: var(--color-text);
	font-weight: 500;
	position: relative;
	padding: 5px 0;
}

.header__nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--color-primary);
	transition: width 0.3s ease;
}

.header__nav-link:hover::after {
	width: 100%;
}

.header__nav-link--cta {
	background-color: var(--color-primary);
	color: var(--color-white);
	padding: 10px 20px;
	border-radius: 5px;
	transition: background-color 0.3s ease;
}

.header__nav-link--cta:hover {
	background-color: var(--color-primary-dark);
	color: var(--color-white);
}

.header__nav-link--cta::after {
	display: none;
}

.header__burger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--color-text);
}

/* Футер */
.footer {
	background-color: var(--color-white);
	padding: 60px 0;
	border-top: 1px solid var(--color-border);
}

.footer__container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
}

.footer__column--main {
	grid-column: span 1;
}

.footer__copy {
	margin-top: 20px;
	font-size: 14px;
	color: #7f8c8d;
}

.footer__title {
	font-size: 18px;
	margin-bottom: 20px;
}

.footer__list li {
	margin-bottom: 10px;
}

.footer__link {
	color: #34495e;
	font-size: 15px;
}

.footer__link:hover {
	color: var(--color-primary);
	text-decoration: underline;
}

.footer__address {
	font-style: normal;
	color: #34495e;
	font-size: 15px;
	line-height: 1.7;
}

/* Адаптивность */
@media (max-width: 992px) {
	.footer__container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.header__nav {
		display: none;
		position: absolute;
		top: var(--header-height);
		left: 0;
		width: 100%;
		background-color: var(--color-white);
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
		padding: 20px;
	}

	.header__nav.header__nav--active {
		display: block;
	}

	.header__nav-list {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.header__nav-link--cta {
		width: 100%;
		text-align: center;
	}

	.header__burger {
		display: block;
	}
}

@media (max-width: 576px) {
	.footer__container {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.footer__column--main {
		align-items: center;
	}
	.logo {
		justify-content: center;
	}
}

/* ... (существующие стили) ... */

/* Main Content Padding */
.main {
	padding-top: var(--header-height);
}

/* Общий стиль для кнопок */
.button {
	display: inline-block;
	background-color: var(--color-primary);
	color: var(--color-white);
	padding: 14px 28px;
	border-radius: 5px;
	font-weight: 700;
	text-align: center;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.button:hover {
	background-color: var(--color-primary-dark);
	color: var(--color-white);
	transform: translateY(-3px);
}

/* Hero Section */
.hero {
	padding: 80px 0;
	min-height: calc(100vh - var(--header-height));
	display: flex;
	align-items: center;
	background-color: var(--color-white);
}

.hero__container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 60px;
}

.hero__title {
	font-size: 48px;
	line-height: 1.2;
	margin-bottom: 20px;
}

.hero__description {
	font-size: 18px;
	line-height: 1.7;
	margin-bottom: 30px;
	max-width: 500px;
}

.hero__image-wrapper {
	position: relative;
}

.hero__image {
	width: 100%;
	height: auto;
	border-radius: 8px;
	object-fit: cover;
}

/* Адаптивность для Hero Section */
@media (max-width: 992px) {
	.hero__title {
		font-size: 40px;
	}
}

@media (max-width: 768px) {
	.hero {
		padding: 60px 0;
		text-align: center;
	}
	.hero__container {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.hero__content {
		order: 2; /* Текст будет под картинкой */
	}
	.hero__image-wrapper {
		order: 1;
	}
	.hero__description {
		margin-left: auto;
		margin-right: auto;
	}
}

/* Общие стили для секций */
.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.section-header__title {
	font-size: 36px;
	margin-bottom: 10px;
}

.section-header__subtitle {
	font-size: 18px;
	color: #555;
	max-width: 600px;
	margin: 0 auto;
}

/* Services Section */
.services {
	padding: 80px 0;
	background-color: var(--color-background); /* #F8F9FA */
}

.services__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.service-card {
	background-color: var(--color-white);
	padding: 40px 30px;
	border-radius: 8px;
	border: 1px solid var(--color-border);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
}

.service-card__icon-wrapper {
	margin: 0 auto 25px;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background-color: #e8f8f5; /* Light version of primary color */
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s ease;
}

.service-card__icon {
	width: 32px;
	height: 32px;
	color: var(--color-primary);
	transition: color 0.3s ease;
}

.service-card:hover .service-card__icon-wrapper {
	background-color: var(--color-primary);
}
.service-card:hover .service-card__icon {
	color: var(--color-white);
}

.service-card__title {
	font-size: 20px;
	margin-bottom: 15px;
	font-family: var(--font-primary);
	font-weight: 700;
}

.service-card__description {
	font-size: 15px;
	line-height: 1.6;
	color: #555;
}

/* Адаптивность для Services Section */
@media (max-width: 992px) {
	.services__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.section-header__title {
		font-size: 32px;
	}
}

@media (max-width: 576px) {
	.services__grid {
		grid-template-columns: 1fr;
	}

	.service-card {
		padding: 30px 25px;
	}
}

/* ... (существующие стили) ... */

/* Cases Section */
.cases {
	padding: 80px 0;
	background-color: var(--color-white);
}

.cases__slider-wrapper {
	position: relative;
	padding: 0 50px; /* Оставляем место для стрелок */
}

.case-swiper {
	width: 100%;
	height: 100%;
}

.case-card {
	background-color: var(--color-background);
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--color-border);
}

.case-card__image {
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.case-card__content {
	padding: 25px;
	flex-grow: 1;
}

.case-card__tag {
	display: inline-block;
	background-color: #e8f8f5;
	color: var(--color-primary);
	padding: 5px 10px;
	border-radius: 5px;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 15px;
	text-transform: uppercase;
}

.case-card__title {
	font-size: 20px;
	margin-bottom: 10px;
}

.case-card__description {
	font-size: 15px;
	line-height: 1.6;
	color: #555;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
	color: var(--color-primary);
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	background-color: var(--color-white);
	border-radius: 50%;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	transition: background-color 0.3s, color 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
	background-color: var(--color-primary);
	color: var(--color-white);
}

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

.swiper-button-prev {
	left: 0;
}

.swiper-button-next {
	right: 0;
}

/* Адаптивность для Cases Section */
@media (max-width: 768px) {
	.cases__slider-wrapper {
		padding: 0;
	}

	.swiper-button-next,
	.swiper-button-prev {
		display: none; /* Скрываем стрелки на мобильных, свайпа будет достаточно */
	}
}

/* ... (существующие стили) ... */

/* Process Section */
.process {
	padding: 80px 0;
	background-color: var(--color-background);
}

.process__timeline {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
}

/* Центральная линия */
.process__timeline::after {
	content: '';
	position: absolute;
	width: 3px;
	background-color: var(--color-primary);
	opacity: 0.2;
	top: 0;
	bottom: 0;
	left: 50%;
	margin-left: -1.5px;
}

.process-item {
	padding: 10px 40px;
	position: relative;
	width: 50%;
}

/* Расположение блоков */
.process-item:nth-child(odd) {
	left: 0;
	padding-right: 60px;
	text-align: right;
}

.process-item:nth-child(even) {
	left: 50%;
	padding-left: 60px;
	text-align: left;
}

/* Кружочки на линии */
.process-item::after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	right: -10px;
	background-color: var(--color-white);
	border: 4px solid var(--color-primary);
	top: 20px;
	border-radius: 50%;
	z-index: 1;
	transition: background-color 0.3s;
}

.process-item:nth-child(odd)::after {
	right: -10px;
}

.process-item:nth-child(even)::after {
	left: -10px;
}

.process-item:hover::after {
	background-color: var(--color-primary);
}

.process-item__content {
	padding: 20px 30px;
	background-color: var(--color-white);
	position: relative;
	border-radius: 8px;
	border: 1px solid var(--color-border);
}

.process-item__step {
	color: var(--color-primary);
	opacity: 0.5;
	font-size: 24px;
	font-weight: 700;
}

.process-item__title {
	margin-top: 5px;
	font-size: 20px;
}

.process-item__description {
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.6;
	color: #555;
}

/* Адаптивность для Process Section */
@media screen and (max-width: 768px) {
	.process__timeline::after {
		left: 20px;
	}

	.process-item {
		width: 100%;
		padding-left: 60px;
		padding-right: 15px;
	}

	.process-item:nth-child(odd),
	.process-item:nth-child(even) {
		left: 0;
		text-align: left;
	}

	.process-item::after {
		left: 10px;
	}
}

/* About Section */
.about {
	padding: 80px 0;
	background-color: var(--color-white);
}

.about__grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 60px;
	align-items: center;
}

.about__title {
	font-size: 36px;
	margin-bottom: 20px;
	font-family: var(--font-secondary);
}

.about__description {
	font-size: 16px;
	line-height: 1.7;
	margin-bottom: 20px;
	color: #555;
}

.about__values-list {
	margin-top: 30px;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.about__values-item {
	display: flex;
	align-items: center;
	gap: 15px;
	font-weight: 500;
	font-size: 17px;
}

.about__values-icon {
	color: var(--color-primary);
	width: 24px;
	height: 24px;
}

.about__image-wrapper {
	width: 100%;
}

.about__image {
	width: 100%;
	height: auto;
	border-radius: 8px;
	object-fit: cover;
}

/* Адаптивность для About Section */
@media (max-width: 992px) {
	.about__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.about__content {
		order: 2;
	}

	.about__image-wrapper {
		order: 1;
	}
}

@media (max-width: 768px) {
	.about__title {
		font-size: 32px;
	}
}

/* Contact Section */
.contact {
	padding: 80px 0;
	background-color: var(--color-background);
}

.contact__grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 60px;
	align-items: center;
}

.contact__title {
	font-size: 36px;
	margin-bottom: 20px;
}

.contact__description {
	font-size: 16px;
	line-height: 1.7;
	margin-bottom: 30px;
	color: #555;
}

.contact__details {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.contact__detail-item {
	display: inline-flex;
	align-items: center;
	gap: 15px;
	font-size: 18px;
	font-weight: 500;
	color: var(--color-text);
}

.contact__detail-item:hover {
	color: var(--color-primary);
}

.contact__detail-icon {
	width: 24px;
	height: 24px;
	color: var(--color-primary);
}

.contact__form-wrapper {
	background-color: var(--color-white);
	padding: 40px;
	border-radius: 8px;
	border: 1px solid var(--color-border);
}

.form-group {
	margin-bottom: 25px;
}

.form-label {
	display: block;
	font-weight: 500;
	margin-bottom: 8px;
	font-size: 14px;
}

.form-input {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--color-border);
	border-radius: 5px;
	font-size: 16px;
	font-family: var(--font-primary);
	transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.2);
}

.form-checkbox-group {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 25px;
}

.form-checkbox {
	margin-top: 5px;
	flex-shrink: 0;
}

.form-checkbox-label {
	font-size: 14px;
	line-height: 1.5;
	color: #555;
}

.form-checkbox-label a {
	text-decoration: underline;
}

.contact__submit-button {
	width: 100%;
}

.form-success-message {
	display: none; /* Скрыто по умолчанию */
	padding: 30px;
	background-color: #e8f8f5;
	border: 1px solid var(--color-primary);
	border-radius: 8px;
	text-align: center;
}

.form-success-message--visible {
	display: block; /* Показывается через JS */
}

/* Адаптивность для Contact Section */
@media (max-width: 992px) {
	.contact__grid {
		grid-template-columns: 1fr;
		gap: 50px;
	}
}

/* ... (существующие стили) ... */

/* Модификатор для маленькой кнопки */
.button--small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Cookie Pop-up */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 20px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 2000;
    transform: translateY(0);
    transition: transform 0.5s ease-in-out;
}

.cookie-popup--hidden {
    transform: translateY(100%);
}

.cookie-popup__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-popup__text {
    font-size: 15px;
}

.cookie-popup__text a {
    color: var(--color-white);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-popup__text a:hover {
    color: var(--color-primary);
}

/* Адаптивность для Cookie Pop-up */
@media (max-width: 768px) {
    .cookie-popup__container {
        flex-direction: column;
        text-align: center;
    }
}

/* ... (все существующие стили) ... */

/* ==============================================
  Стили для стандартных текстовых страниц
==============================================
*/
.pages {
    padding: 120px 0;
    background-color: var(--color-white);
}

/* Ограничиваем ширину контейнера для лучшей читаемости */
.pages .container {
    max-width: 800px; 
}

.pages h1,
.pages h2 {
    font-family: var(--font-secondary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.pages h1 {
    font-size: 1.5rem;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--color-border);
}

.pages h2 {
    font-size: 1.5rem;
    margin-top: 40px;
}

.pages p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.pages ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.pages li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.pages a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
}

.pages a:hover {
    color: var(--color-primary-dark);
}

.pages strong {
    font-weight: 700;
}
