/* USER VARIABLES SECTION */

:root {
	--accent: #A69A7B;
	--accent-dark: #69614c;
	--text-color: #666666;
	--darkgrey-color: #0D0E14;
	--light-grey: #aaaaaa;
	--section-color: #f2f2f2;
	--outlined-hover-color: #e0e0e0;
	--card-color:#f2f2f2;
	--regular-text: 16px;
	--lineheight: 1.4;
	--userfont: archivo-st, sans-serif;
	--systemfont: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

/* FONTS LOAD SECTION */

@font-face { src: url("../fonts/Archivo-Thin.woff2") format("woff2"); font-family: "archivo-st"; font-weight: 100; font-style: normal; }
@font-face { src: url("../fonts/Archivo-ExtraLight.woff2") format("woff2"); font-family: "archivo-st"; font-weight: 200; font-style: normal; }
@font-face { src: url("../fonts/Archivo-Light.woff2") format("woff2"); font-family: "archivo-st"; font-weight: 300; font-style: normal; }
@font-face { src: url("../fonts/Archivo-Regular.woff2") format("woff2"); font-family: "archivo-st"; font-weight: 400; font-style: normal; }
@font-face { src: url("../fonts/Archivo-Medium.woff2") format("woff2"); font-family: "archivo-st"; font-weight: 500; font-style: normal; }
@font-face { src: url("../fonts/Archivo-SemiBold.woff2") format("woff2"); font-family: "archivo-st"; font-weight: 600; font-style: normal; }
@font-face { src: url("../fonts/Archivo-Bold.woff2") format("woff2"); font-family: "archivo-st"; font-weight: 700; font-style: normal; }
@font-face { src: url("../fonts/Archivo-ExtraBold.woff2") format("woff2"); font-family: "archivo-st"; font-weight: 800; font-style: normal; }
@font-face { src: url("../fonts/Archivo-Black.woff2") format("woff2"); font-family: "archivo-st"; font-weight: 900; font-style: normal; }
@font-face { src: url("../fonts/lg.woff2") format("woff2"); font-family: "lg"; font-weight: 400; font-style: normal; }




/* GENERAL CSS SETTINGS */

::placeholder { color: #666666; }
::selection { background-color: var(--accent); color: #fff; }
input, textarea { outline: none; }
input:focus:required:invalid, textarea:focus:required:invalid { border-color: red; }
input:required:valid, textarea:required:valid { border-color: green; }

html {
	scroll-behavior: smooth;
	scrollbar-gutter: stable;
}

body {
	font-family: var(--userfont);
	font-size: var(--regular-text);
	line-height: var(--lineheight);
	color: var(--text-color);
	min-width: 320px;
	position: relative;
	overflow-x: hidden;
	scrollbar-gutter: stable;
}

/* USER STYLES */


.container {
	max-width: 1332px;
	padding: 0 16px;
	margin: 0 auto;
}

.container--center {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.section {
	padding: 80px 0;
}

.main-btn {
	display: inline-block;
	padding: 16px 20px;
	background-color: var(--accent);
	color: white;
	font-size: 16px;
	font-family: archivo-st;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: 0.02em;
	border-radius: 4px;
	transition: background-color 0.3s;
}

.main-btn:hover {
	background-color: var(--accent-dark);
}

.outlined-btn {
	display: inline-block;
	padding: 16px 20px;
	color: var(--darkgrey-color);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
	border: var(--darkgrey-color) 1px solid;
	transition: background-color 0.3s;
}

.outlined-btn::after {
	content: url(../images/shevron.svg);
	display: inline-block;
	padding: 0 5px 0 12px;
	transform: translateY(-1px);
}

.outlined-btn:hover {
	background-color: var(--outlined-hover-color);
}

.add-btn {
	display: inline-block;
	padding: 16px 20px;
	color: var(--darkgrey-color);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
	background-color: #e0e0e0;
	transition: background-color 0.3s;
}

.add-btn::after {
	content: url(../images/shevron.svg);
	display: inline-block;
	padding: 0 5px 0 12px;
	transform: translateY(-1px);
}

.add-btn:hover {
	background-color: #bdbdbd;
}


.title-std {
	color: var(--darkgrey-color);
 	font-size: 36px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: capitalize;
	text-align: center;
}

.title-std--left {
	text-align: left;
}


/* HERO SECTION */

.hero-container {
	display: grid;
	grid-template-columns: 50% 50%;
	grid-template-rows: 100vh;
}

.hero-image-container {
	content: "";
	background-position: top center;
	background-size: cover;
	background-repeat: no-repeat;
}

.hero-anniversary {
	position: absolute;
	top: 0;
	right: 0;
	transform: translate(80%, -50%);
	width: 220px;
	height: 220px;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0px;
	padding: 8px;
	background-color: var(--accent);
	color: #fff;
	text-align: center;
	text-transform: uppercase;
}

.hero-anniversary__number{
	font-size: 96px;
	font-weight: 600;
	line-height: 1;
}

.hero-anniversary__label{
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}


.hero-text-container {
	padding: 32px 120px 32px 32px;
	display: flex;
	justify-content: end;
	align-items: center;
}

.hero-info {
	max-width: 600px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.hero-info__logo-group {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.hero-info__logo {
	max-width: 400px;
}

.hero-info__text-group {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hero-info-container {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.hero-info__edition {
	color: var(--darkgrey-color);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}

.hero-info__venue {
	color: var(--darkgrey-color);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
}

.hero-info__header {
	color: var(--darkgrey-color);
	font-size: 28px;
	font-weight: 100;
	line-height: 1.2;
}

.hero-accent {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hero-accent__accent-text {
	color: var(--accent);
	font-size: 28px;
	font-weight: 600;
	text-transform: uppercase;
	line-height: 1.2;
	letter-spacing: 0.02em;
}

.hero-accent__main-text {
	color: var(--darkgrey-color);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.02em;
}

.hero-info__text-main {
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.02em;
}

.hero-info__text-main span {
	font-weight: 600;
}

.hero-info__text-conclusion {
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.02em;
}

/* PURPOSE SECTION */

.section-purpose {
	max-width: 1110px;
	padding-left: 16px;
	padding-right: 16px;
	margin: 0 auto;
	margin-top: 80px;
	display: flex;
	flex-direction: column;
	gap: 40px;
	align-items: center;
}

.purpose-title {
	max-width: 630px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.purpose-title__subtitle {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-align: center;
}

.purpose-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 32px;
  justify-content: space-between;
}

.feature-card {
	padding: 20px;
	border: var(--light-grey) solid 1px;
	border-radius: 4px;
}

.feature-card__image {
	margin-bottom: 12px;
}

.future-card__name {
	color: var(--darkgrey-color);
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 24px;
	margin-bottom: 12px;	
}

.future-card__text {
font-size: 14px;
font-weight: 300;
line-height: 1.4;
letter-spacing: 0.02em;
}

.future-card__text::before{
	content: '';
	width: 4px;
	height: 4px;
	border-radius: 50%;
	transform: translateY(-50%);
	background-color: var(--light-grey);
	display: inline-block;
	margin-right: 8px;
}

.purpose-quote-block {
	max-width: 634px;
}

.purpose-slogan-wrapper {
	margin-bottom: 32px;
	position: relative;
}

.purpose-slogan {
	padding: 0 48px;
	color: var(--accent);
	font-size: 36px;
	font-weight: 100;
	line-height: 1.2;
	text-align: center;
}

.purpose-new {
	position: absolute;
	width: 60px;
	height: 60px;
	background-color: var(--accent);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	top: -30px;
	right: 0px;
}

.purpose-new-text {
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
}

.purpose-quote {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.purpose-quote__text {
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-align: center;
}

.purpose-quote__signature {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-align: center;
}

.purpose-quote-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
	margin-bottom: 32px;
}

.purpose-quote-text__text {
	font-size: 22px;
	font-weight: 300;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-align: center;
}

.purpose-quote-text__btn{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding: 16px 20px;
	background-color: white;
	color: var(--darkgrey-color);
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: 0.02em;
	border: var(--darkgrey-color) solid 2px;
	transition: background-color 0.3s;
}

.purpose-quote-text__btn:hover {
	background-color: #f2f2f2;
}

/* VENUE SECTION */

.venue-section {
	display: grid;
	grid-template-columns: 50% 50%;
	grid-template-rows: 100vh;
}

.venue-image-container {
	content: "";
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.venue-info-container {
	padding: 32px 32px 32px 120px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 32px;
}

.venue-group {
	display: flex;
	flex-direction: column;
	gap: 16px;
	color: var(--darkgrey-color);
}

.venue-group__rubric {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
}

.venue-group__hotel {
	font-size: 64px;
	font-weight: 700;
	line-height: 1.2;
}

.venue-group__date {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.venue-group__logo {
	max-width: 300px;
	padding: 32px 0;
}

/* SECTION PROGRAM */

.program-section {
	margin: 0 auto;
	max-width: 886px;
	padding: 80px 16px;
	display: flex;
	flex-direction: column;
	gap: 56px;
	align-items: center;
}

.program-container {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin-bottom: 32px;
}

.program-day {
	display: flex;
	flex-direction: column;
	gap: 32px;
	color: var(--darkgrey-color);
}

.program-day__date {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.program-day__row {
	padding: 20px 24px;
	display: grid;
	grid-template-columns: 160px 1fr;
	line-height: 1.2;
	letter-spacing: 0.02em;
	border-bottom: var(--darkgrey-color) solid 1px;
}

.program-day__time {
	font-weight: 700;
}

.schedule {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.schedule__main {
	font-weight: 600;
}

.schedule__descr {
	font-weight: 300;
}

.schedule__option {
	font-weight: 500;
}

.program-quote {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.program-quote__text {
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-align: center;
}

.program-quote__signature {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-align: center;
}

.program-quote-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 72px;
}


/* STATS SECTION */

.stats {
	background-color: var(--accent); 
	padding: 80px 20px; /* Вертикальные и горизонтальные отступы */
	color: #ffffff; /* Цвет текста */
	text-align: center;
}

.stats-container {
	display: flex;
	justify-content: space-evenly; /* Равномерное распределение с отступами по краям */
	align-items: center;
	flex-wrap: wrap; /* Позволяет переносить элементы на новую строку на малых экранах */
	max-width: 1110px; /* Максимальная ширина контейнера */
	margin: 0 auto; /* Центрирование контейнера */
}

.stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 20px; /* Отступы между элементами */
	position: relative; /* Для позиционирования разделителя */
	flex-basis: 25%; /* Начальная ширина элемента, чтобы помещалось 3 в ряд */
	min-width: 150px; /* Минимальная ширина */
}

/* Разделительные линии */
.stat-item:not(:first-child)::before {
	content: '';
	position: absolute;
	left: -35px; /* Половина отступа или другое значение для позиционирования */
	top: 10%; /* Начало линии */
	bottom: 10%; /* Конец линии */
	width: 1px;
	background-color: rgba(255, 255, 255, 1); /* Неполупрозрачный белый */
}

.stat-number {
	font-size: 4em; /* Крупный размер числа */
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 12px; /* Отступ под числом */
}

.stat-label {
	font-size: 1.25em; /* Размер подписи */
	font-weight: 700;
	line-height: 1.1;
}



/* VISITORS SECTION */

/* .visitors-section {
	background-color: var(--section-color);
} */

.visitors-container {
	max-width: 1110px;
	padding: 0 16px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 64px;
}

.visitors-card__img {
	padding: 16px 0;
}

.visitors-card__desc {
	line-height: 1.4;
	letter-spacing: 0.02em;
}

/* PRICING SECTION */

.pricing-container {
	max-width: 1110px;
	padding: 0 16px;
	margin: 0 auto;
}

.pricing-title {
	margin-bottom: 64px;
}

.price-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.price-card {
	display: flex;
	flex-direction: column;
	gap: 48px;
	justify-content: space-between;
	padding: 40px;
	border: var(--light-grey) 1px solid;
	border-radius: 4px;
}

.price-card__info {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.price-card__name {
	color: var(--darkgrey-color);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 12px;
}

.price-card__price {
	color: var(--accent);
	font-size: 64px;
	font-weight: 700;
	line-height: 1;
}

.price-card__including {
	margin-bottom: 16px;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
}

.price-card__features {
	display: flex;
	flex-direction: column;
	gap: 8px;	
	font-size: 14px;
	letter-spacing: 0.02em;
	line-height: 1.2;
}

.price-card__feature {
	padding-left: 32px;
	position: relative;
}

.price-card__feature::before {
	position: absolute;
	top: -3px;
	left: 0;
	content: url(../images/checkbox-icon.svg);
}

.price-card__cta {
	padding-top: 32px;
	border-top: var(--text-color) 2px solid ;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 36px;
}

.price-card__call {
	color: var(--darkgrey-color);
	font-size: 18px;
	font-weight: 500;
	text-transform: uppercase;
	line-height: 1.2;
	text-align: center;
}

/* REVIEWS SECTION */

.section-reviews {
	background-color: var(--section-color);
}

.reviews-title {
	margin-bottom: 56px;
}

.review-slide {
	padding: 16px 24px;
	max-width: 380px; /* Максимальная ширина карточки */
	width: 100%; /* Ширина подстраивается под контейнер */
	box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.08); /* Легкая тень */
	background-color: #fff;
	border: var(--text-color) 1px solid;
	border-radius: 4px;
	text-align: center;
	color: var(--darkgrey-color);
}

.quote-mark {
	display: block;
	padding: 16px;
	/* margin-bottom: 16px; */
}

.review-text {
	font-size: 1rem; /* Размер текста отзыва */
  line-height: 1.4; /* Межстрочный интервал */
  margin: 0 auto 16px auto; /* Автоматические отступы слева/справа для центрирования блока */
}

.review-top {
	margin-bottom: 8px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: center;

}

.review-top__image {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover; /* Масштабирование фото для покрытия круга */
	margin-bottom: 8px;
	border: 3px solid #f0f0f0; /* Небольшая рамка вокруг фото */
}

.review-top__person {
	display: block;
	font-size: 14px;
}

.review-top__person span {
	display: block;
	font-size: 16px;
	font-weight: 600;
}

.logo-section {
	margin-top: 0px; /* Отступ перед логотипом */

}

.company-logo {
	max-width: 100px; /* Максимальная ширина логотипа */
	height: auto; /* Автоматическая высота для сохранения пропорций */
}

.reviews-title-wrapper {
	display: flex;
	justify-content: space-between;
	gap: 32px;
}

.reviews-pagination {
	display: flex;
	gap: 24px;
}

.reviews-pagination-left {
	background-image: url(../images/button-prev.svg);
	width: 40px;
	height: 40px;
	cursor: pointer;
}

.reviews-pagination-right {
	background-image: url(../images/button-next.svg);
	width: 40px;
	height: 40px;
	cursor: pointer;
}

/* ORGANIZERS SECTION */

.section-organizers {
	max-width: 1332px;
	padding-left: 16px;
	padding-right: 16px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 120px;
}

.organizers-block {
	align-self: center;
}

.organizers-info {
	margin-bottom: 32px;
}

.organizers-info__title {
	margin-bottom: 16px;
}

.organizers-info__text {
	margin-bottom: 10px;
	line-height: 1.4;
	letter-spacing: 0.02em;
}

.organizers-info__text--accent{
	font-weight: 600;
	margin-top: 16px;
	margin-bottom: 16px;
}

.organizers-info__sign {
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-align: right;
}

.organizers-img img {
	object-fit: cover;
}

/* GALLERY SECTION */

.gallery-title {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
	margin-bottom: 40px;
}

.gallery-title__title {
	margin-bottom: 24px;
}

.gallery-title__subtitle {
	line-height: 1.4;
	letter-spacing: 0.02em;
}

.mixed-gallery {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 32px;
	max-width: 1332px;
	padding: 0 16px;
	margin: 0 auto;
}

.mixed-gallery a {
	flex-grow: 1;
	flex-basis: 412px;
	/* width: 35rem; */
	height: 25rem;
	/* margin: 2rem; */
	overflow: hidden;
}

.mixed-gallery a.mixed-gallery-video {
	cursor: pointer;
	position: relative;
}

.mixed-gallery a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.4s;
}

.mixed-gallery a img.pov-to-top {
	object-position: center top;
}

.mixed-gallery a img:hover {
	transform: scale(1.1);
}

.lg-toolbar .lg-icon {
	font-size: 36px;
}
.lg-next, .lg-prev {
	font-size: 36px;
}

.video-wrapper {
	max-width: 1332px;
	padding: 0 16px;
	margin: 0 auto;
	margin-bottom: 32px;
}

.video__item {
	width: 100%;
	height: auto;
}



.gallery-slider .swiper-wrapper, .gallery-slider2 .swiper-wrapper {
	padding-bottom: 64px;
}

/* .gallery-item {
	width: auto !important;
  display: flex;
  justify-content: center;
  align-items: center;
} */

.gallery-item img {
	display: block;
	width: 100%;
	height: 30vh;
	object-fit: cover;
}

.gallery-pagination {
	bottom: 40px;
}

.gallery-caption {
	margin-top: 8px;
	padding: 0 16px;
  font-size: 16px;
  color: var(--darkgrey-color);
  font-weight: 500;
	text-align: right;
}

/* FAIRS ARCHIVE SECTION */

.section-fairs {
	max-width: 1332px;
	padding-left: 16px;
	padding-right: 16px;
	margin: 0 auto;
}

.fairs-container {
	display: grid;
	grid-template-columns: 1fr 2fr;
	column-gap: 32px;
}

.fairs-heading__title {
	margin-bottom: 16px;
}

.fairs-heading__subtitle {
	line-height: 1.4;
	letter-spacing: 0.02em;
	margin-bottom: 24px;
}

.fairs-table {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px 32px;
}

.fair-card {
	align-self: start;
	padding: 24px;
	display: grid;
	grid-template-columns: 116px 1fr;
	grid-template-rows: 116px;
	column-gap: 24px;
	border: var(--text-color) 1px solid;
	border-radius: 4px;
}

.fair-card__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	line-height: 0;
}

.fair-card__info {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: start;
	gap: 8px;
}

.fair-card__edition {
	padding: 4px 8px;
	color: var(--darkgrey-color);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	line-height: 16px;
	letter-spacing: 0.02em;
	background-color: #BEE3F8;
}

.fair-card__country {
	color: var(--darkgrey-color);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.fair-link-wrapper{
	display: flex;
	align-items: center;
	gap: 4px;
}

.fair-card__year {
font-size: 16px;
font-weight: 500;
line-height: 20px;
letter-spacing: 0.02em;
display: inline-block;
}


/* FOOTER */

.footer {
	background-color: var(--section-color);
	padding: 80px 0;
}

.footer-container {
	max-width: 1332px;
	padding-left: 16px;
	padding-right: 16px;
	margin: 0 auto;
	display: flex;
	gap: 64px;
	justify-content: space-between;
}

.footer-info__logo img {
	margin-bottom: 16px;
}

.footer-info__descr {
	letter-spacing: 0.02em;
}

.links-wrapper {
	display: flex;
	gap: 32px;
}

.footer-links {
	padding: 0 32px 0 0;
	border-right: var(--darkgrey-color) solid 1px;
	display: flex;
	align-items: center;
	gap: 24px;
}

.footer-button {
	display: flex;
	align-items: center;
}


/* TO TOP button */

.to-top {
	z-index: 100;
  background: rgba(150, 150, 150, 0.5);
  position: fixed;
  bottom: 16px;
  right:32px;
  width:50px;
  height:50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size:32px;
  color:white;;
  text-decoration: none;
  opacity:0;
  pointer-events: none;
  transition: all .4s;
}

.to-top.active {
  bottom:32px;
  pointer-events: auto;
  opacity:1;
}

/* POP UP WINDOW */

.modal {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 200;	
	cursor: pointer;
	padding: 16px;
	overflow-y: auto;
	display: none;
}

.modal__main {
	position: relative;	
	max-width: 700px;
	margin: auto;
	padding: 64px 64px;
	background-color: #fff;
	border-radius: 4px;
	text-align: center;
	cursor: default;
}

.modal__close {
	position: absolute;
	cursor: pointer;
	top: 15px;
	right: 15px;
	font-size: 22px;
	padding: 4px;
	color: var(--darkgrey-color);
}

.contact-info {
	margin-bottom: 48px;
}

.contact-info__title {
	color: var(--darkgrey-color);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 16px;
}

.contact-info__subtitle {
	line-height: 1.4;
	letter-spacing: 0.02em;
	max-width: 396px;
	text-align: center;	
}

.contact-form {
	display: flex;
	flex-direction: column;
	position: relative;
}

.contact-form::after {
	content: '';
	position: absolute;
	inset: 0;
	background: url(../images/loading.gif) center / 50px no-repeat;
	opacity: 0;
	visibility: hidden;
	transition: all 0.5s ease 0s;
}

.contact-form._sending::after {
	opacity: 1;
	visibility: visible;
}

.control-wrapper {
	text-align-last: left;
}

.contact-form__label {
	color: var(--darkgrey-color);
	text-align: left;
	font-size: 14px;
	margin-bottom: 4px;
}

.contact-form__label>span {
	color: var(--accent);
	font-weight: 600;
}

.just-validate-error-label {
	font-size: 14px;
	color: var(--accent) !important;
	text-align: left;
}

.input-wrapper {
	margin-bottom: 32px;
	display: flex;
	flex-direction: column;
}

.contact-form__input {
	flex: 1;
	padding: 12px 16px;
	border: var(--darkgrey-color) solid 2px;
	border-radius: 4px;
}

.contact-form__input._error {
	border: var(--accent) solid 2px;
}

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

.contact-form__btn {
	cursor: pointer;
	align-self: center;
	padding: 16px 20px;
	background-color: var(--accent);
	color: #fff;
	border-radius: 4px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.02rem;
}

.contact-form__btn:hover {
	background-color: var(--accent-dark);
}


/* FOOTER FORM */

.form-wrapper{
	max-width: 1332px;
	padding-left: 16px;
	padding-right: 16px;
	margin: 0 auto;
}

.request-form {
	width: 100%;
}

.form-container {
	display: flex;
	align-items: flex-end; /* Выравнивание по нижнему краю (линии инпута и кнопка) */
	gap: 64px; /* Пространство между группами полей и кнопкой */
	flex-wrap: wrap; /* Перенос элементов на новую строку при необходимости */
	padding: 30px 0px; /* Внутренние отступы формы */
	margin: 20px auto; /* Центрирование формы */
}

.form-fields {
	display: flex;
	gap: 64px; /* Пространство между полями */
	flex-grow: 1; /* Позволяет блоку полей занять доступное пространство */
	flex-wrap: wrap; /* Перенос полей, если не хватает места */
}

.form-group {
	display: flex;
	flex-direction: column; /* Лейбл над полем ввода */
	flex-basis: 200px; /* Базовая ширина для каждого поля */
	flex-grow: 1; /* Позволяет полям растягиваться */
	min-width: 180px; /* Минимальная ширина поля */
}

.form-group label {
	font-size: 0.85em;
	color: var(--text-color);
	margin-bottom: 8px;
	display: block; /* Лейбл занимает свою строку */
}

.form-group input[type="text"],
.form-group input[type="email"] {
	border: none;
	border-bottom: 1px solid #333; /* Только нижняя граница */
	padding: 10px 0; /* Внутренний отступ сверху/снизу */
	font-size: 1em;
	outline: none; /* Убираем стандартный контур при фокусе */
	background-color: transparent; /* Прозрачный фон */
	width: 100%; /* Поле занимает всю ширину группы */
	box-sizing: border-box; /* Чтобы padding не влиял на общую ширину */
}

.submit-btn {
	padding: 16px 20px;
	background-color: #444; /* Темно-серый фон кнопки */
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1em;
	transition: background-color 0.3s ease; /* Плавный переход цвета при наведении */
	white-space: nowrap; /* Запрет переноса текста кнопки */
	height: fit-content; /* Высота по содержимому */
	align-self: flex-end; /* Кнопка выравнивается по своему нижнему краю */
}

.submit-btn:hover {
	background-color: #666; /* Цвет кнопки при наведении */
}

