@import url("reset.css");

*::-webkit-input-placeholder {
  color: #666;
  opacity: 1;
}
*:-moz-placeholder {
  color: #666;
  opacity: 1;
}
*::-moz-placeholder {
  color: #666;
  opacity: 1;
}
*:-ms-input-placeholder {
  color: #666;
  opacity: 1;
}

body input:focus:required:invalid,
body textarea:focus:required:invalid {
  
}
body input:required:valid,
body textarea:required:valid {
  
}

:root {
	--primary-color: #7B3511;
	--secondary-color: #D5803D;
	--third-color: #E9AD97;
	--background-color: #F7F7F7;
	--inverted-text-color: #EFE3CB;
	--text-color: #383838;
	--border-radius: 4px;
	--box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	--swiper-pagination-bullet-horizontal-gap: 8px;
}

body {
  font-family: sans-serif;
  font-size: 16px;
  min-width: 320px;
  position: relative;
  line-height: 1.6;
  font-family: "TTNormsPro", sans-serif;
  overflow-x: hidden;
}

.hidden {
  display: none;
}

.section {
	width: 100%;
	background-color: var(--background-color);
}

.title {
	font-family: "PlayfairDisplay", serif;
	font-size: 48px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.1;
	color: var(--primary-color);
}

.section-grey {
	background-color: var(--text-color);
}

.section-baige {
	background-color: var(--inverted-text-color);
}

.header {
	position: relative;
}

.header-image {
	height: 100vh;
	background-color: var(--text-color);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.overlay-gradient {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(0.25turn, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
	display: flex;
	justify-content: center;
	align-items: center;
}

.container {
	width: 100%;
	max-width: 1168px;
	padding: 16px;
	margin: 0 auto;
}


/* HEADER SECTION */

.header-content {
	width: 50%;
	text-align: center;
}

.header-logo {
	fill: var(--third-color);
	max-width: 318px;
	margin-bottom: 48px;
}

.header__city {
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--third-color);
	margin-bottom: 48px;

}

.header__date {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--background-color);
	margin-bottom: 48px;
}

.header__slogan {	
	color: var(--background-color);
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


/* ELEGANCE SECTION */

.section-elegance {
	padding: 80px 0;
}

.elegance-block{
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-template-rows: repeat(12, 1fr);
	gap: 42px 16px;
}

.elegance-block__text {
	color: var(--inverted-text-color);
	grid-column-start: 7;
  grid-column-end: 13;
  grid-row-start: 2;
  grid-row-end: 5;
}

.elegance-block__title {
	color: var(--inverted-text-color);
	margin-bottom: 32px;
}

.elegance-block__title span {
	display: block;
	margin-left: 48px;
}

.elegance-block__description {
	font-size: 24px;
	font-weight: 500;
	text-align: center;
}

.elegance-block__image {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.elegance-block__image--photo01 {
	grid-column-start: 1;
	grid-column-end: 6;
	grid-row-start: 1;
	grid-row-end: 9;
}

.elegance-block__image--photo02 {
	grid-column: 5 / span 7;
  grid-row: 5 / 10;
}

.elegance-block__image--photo03 {
	grid-column: 3 / span 4;
	grid-row: 9 / span 4;
}


/* ABOUT SECTION */

.section-about-dtm {
	padding: 80px 0;
}

.about-dtm-block {
	display: flex;
	gap: 48px;
	align-items: center;
}

.about-dtm-block__image {
	flex-basis: 50%;
	height: calc(100vh * 0.6);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.about-dtm-block__info {
	flex-basis: 50%;
}

.about-dtm-block__title {
	margin-bottom: 48px;
}

.about-dtm-block__title span {
	color: var(--text-color);
	margin-left: 32px;
}

.about-dtm-block__description {
	font-size: 20px;
	line-height: 1.4;
	font-weight: normal;
	letter-spacing: 0.02em;
	color: var(--text-color);
	margin-bottom: 48px;
}

.about-dtm-block__list {
	font-size: 24px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.02em;
	color: var(--text-color);
	margin-bottom: 48px;
}

.about-dtm-block__list-item span {
	margin-right: 12px;
}

.about-dtm-block__list-item:not(:last-child) {
	margin-bottom: 24px;
}

.about-dtm-block__slogan {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--primary-color);
}


/* CHANCE SECTION */

.chance-section {
  padding: 60px 0;
  color: var(--text-color);
}

.chance-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.chance-text-block {
  flex: 1 1 500px;
	text-align: center;
}

.chance-image-block {
  flex: 1 1 500px;
	height: calc(100vh * 0.7);
	background-size: cover;
	background-position: top;
	background-repeat: no-repeat;
}

.chance-text-block__subtitle {
  text-transform: uppercase;
  line-height: 1.1;
  font-size: 24px;
	letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.chance-text-block__brand-name {
	margin: 0 auto;
	width: 362px;
	margin-bottom: 48px;
}

.chance-text-block__brand-name svg {
	fill: var(--text-color);
}

.chance-text-block__description {
  font-size: 20px;
	font-weight: normal;
  line-height: 1.1;
	letter-spacing: 0.02em;
	margin-bottom: 48px;
}

.chance-text-block__description .highlight {
  color: var(--secondary-color);
  font-weight: 500;
}

.chance-text-block__info-blocks {
	margin-bottom: 48px;
}

.chance-text-block__info-blocks p {
  font-size: 20px;
	font-weight: 500;
	line-height: 1.1;
  position: relative;
	padding-top: 32px;
}

.chance-text-block__info-blocks p:not(:last-child) {
	margin-bottom: 36px;
}

.chance-text-block__info-blocks p::before {
  content: "";
	width: 16px;
	height: 16px;
  position: absolute;
  left: 50%;
	transform: translateX(-50%);
  top: 0;
	background-color: var(--text-color);
}

.chance-text-block__bottom-quote {
	font-size: 16px;
  font-weight: 700;
	line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* VIRTUOUS SECTION */

.virtuous-section {
  padding: 80px 0;
  color: var(--background-color);
}

.virtuous-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.virtuous-image-block {
  flex: 1 1 500px;
	height: calc(100vh * 0.6);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.virtuous-content-block {
  flex: 1 1 500px;
	padding: 16px 32px;
	text-align: center;
}

.virtuous-subheading {
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 0.16em;
  color: var(--inverted-text-color);
  margin-bottom: 32px;
  line-height: 1.6;
}

.virtuous-logo {
  margin: 0 auto;
	width: 280px;
	margin-bottom: 48px;
}

.virtuous-logo svg {
	fill: var(--inverted-text-color);
}

.virtuous-tagline {
  color: var(--secondary-color);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 72px 0;
  font-weight: 500;
}

.virtuous-description {
  font-size: 16px;
  line-height: 1.6;
	font-weight: normal;
	letter-spacing: 0.02em;
}


/* WHY SECTION */

.why-section {
	background-color: var(--inverted-text-color);
	padding: 96px 16px;
	text-align: left;
}

.why-title {
	margin-left: 98px;
	margin-bottom: 64px;
}

.why-title span {
	display: block;
	color: var(--text-color);
	margin-left: 32px;
}

.why-features-grid {
	display: flex;
	justify-content: space-between;
	gap: 16px; /* Пространство между колонками */
	flex-wrap: wrap; /* Для адаптивности на меньших экранах */
	margin-bottom: 96px;
}

.why-feature-item {
	border: 1px solid var(--text-color); /* Светлая рамка для карточек */
	border-radius: var(--border-radius);
	padding: 16px;
	flex-basis: calc(25% - 16px); /* Распределение ширины на 4 колонки с учетом gap */
	text-align: center;
	min-width: 250px; /* Минимальная ширина для адаптивности */
	display: flex;
	flex-direction: column;
	align-items: center;
}

.why-feature-item .why-icon {
	width: 48px; /* Размер иконки */
	margin-bottom: 20px;
	height: auto;
}

.why-feature-item h3 {
	font-size: 20px;
	margin-bottom: 16px;
	font-weight: 500;
	line-height: 1.1;
}

.why-feature-item p {
	font-size: 16px;
	line-height: 1.2;
	margin-bottom: 16px;
	/* flex-grow: 1; */
}

.why-feature-item p:last-child {
	margin-bottom: 0; /* Убираем отступ у последнего элемента */
}

.apply-button-container {
	text-align: center;
	/* margin-top: 96px; */
}

.apply-button {
	box-sizing: border-box;
	background-color: var(--primary-color); /* Цвет кнопки */
	color: var(--inverted-text-color); /* Цвет текста на кнопке */
	padding: 16px 24px;
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
	border: none;
	border-radius: 4em;
	cursor: pointer;
	transition: background-color 0.3s ease;
}
.apply-button:hover {
	background-color: var(--secondary-color); /* Более темный цвет при наведении */
}


/* DIVIDER SECTION */

.section-divider {
	padding: 8px 0;
}

.divider-image {
	margin: 0px auto;
	width: 280px;
}

.divider-image svg {
	fill: var(--text-color);
}


/* PARTICIPANTS SECTION */

.participants-section {
	background-color: var(--background-color);
	padding: 80px 16px;
}

.participants-title {
	margin-left: 98px;
	margin-bottom: 64px;
}

.participants-title span {
	display: block;
	color: var(--text-color);
	margin-left: 32px;
}

.participants-grid {
	padding: 0 96px;
	display: flex;
	justify-content: space-between;
	gap: 16px; /* Пространство между колонками */
	flex-wrap: wrap; /* Для адаптивности на меньших экранах */
}

.participants-item {
	padding: 0px 16px;
	flex-basis: calc(50% - 16px); /* Распределение ширины на 4 колонки с учетом gap */
	text-align: left;
	min-width: 332px; /* Минимальная ширина для адаптивности */

}

.participants-item h3 {
	font-size: 96px;
	margin-bottom: 8px;
	font-weight: 500;
	line-height: 1;
}

.participants-item h4 {
	font-size: 20px;
	margin-bottom: 16px;
	line-height: 1.4;
	font-weight: 500;
}

.participants-item h4 span {
	font-weight: 400;
}

.participants-item ul {
	font-size: 16px;
	line-height: 1.2;
	font-weight: normal;
	letter-spacing: 0.02em;
	margin-bottom: 16px;
}

.participants-item ul li:not(:last-child) {
	margin-bottom: 8px;
}

.participants-item ul li span {
	margin-right: 12px;
}

.participants-item p {
	font-size: 16px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.participants-item-image {
	margin-bottom: 16px;
}

/* STATS SECTION */

.stats {
	background-color: var(--text-color); 
	padding: 0px 16px; /* Вертикальные и горизонтальные отступы */
	color: var(--inverted-text-color); /* Цвет текста */
	text-align: center;
}

.stats-container {
	display: flex;
	justify-content: space-evenly; /* Равномерное распределение с отступами по краям */
	align-items: center;
	flex-wrap: wrap; /* Позволяет переносить элементы на новую строку на малых экранах */
	margin: 0 auto; /* Центрирование контейнера */
}

.stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 8px; /* Отступы между элементами */
	position: relative; /* Для позиционирования разделителя */
	flex-basis: 25%; /* Начальная ширина элемента, чтобы помещалось 3 в ряд */
	min-width: 160px; /* Минимальная ширина */
}

.stat-number {
	font-size: 64px; /* Крупный размер числа */
	font-weight: 500;
	line-height: 1;
	margin-bottom: 16px; /* Отступ под числом */
}

.stat-label {
	font-size: 24px; /* Размер подписи */
	font-weight: 500;
	line-height: 1;
}


/* VENUE SECTION */

.section-venue {
	padding: 80px 0;
}

.venue-block {
	display: flex;
	gap: 48px;
	align-items: center;
}

.venue-block__image {
	flex-basis: 50%;
	height: calc(100vh * 0.5);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.venue-block__info {
	flex-basis: 50%;
	text-align: center;
	color: var(--text-color);
}

.venue-logo {
	margin-bottom: 36px;
}

.venue-logo h3 {
	font-size: 24px;
	text-transform: uppercase;
	margin-bottom: 16px;
	font-weight: normal;
	line-height: 1.1;
	letter-spacing: 0.1em;
}

.venue-logo img {
	width: 185px;
}

.venue-block__description {
	font-size: 16px;
	line-height: 1.6;
	text-transform: uppercase;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: var(--secondary-color);
	margin-bottom: 36px;
}

.venue-block__list {
	font-size: 20px;
	line-height: 1.2;
	font-weight: 300;
	letter-spacing: 0.02em;
	color: var(--text-color);
}

.venue-block__list-item:not(:last-child) {
	margin-bottom: 16px;
}


/* PROGRAM SECTION */

.section-program {
	padding: 80px 0;
}

.program-block {
	display: flex;
	flex-direction: row-reverse;
	gap: 48px;
	align-items: center;
}

.program-block__image {
	flex-basis: 50%;
	height: calc(100vh * 0.5);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.program-block__info {
	flex-basis: 50%;
	text-align: left;
	color: var(--text-color);
}

.program-block__title {
	margin-bottom: 48px;
}

.program-block__grid {
	margin-bottom: 32px;
}

.program-block__grid-item:not(:last-child) {
	margin-bottom: 24px;
}

.program-block__grid-item h3 {
	font-size: 20px;
	margin-bottom: 12px;
	font-weight: 500;
	line-height: 1.1;
}

.program-block__grid-item h3 span {
	font-weight: 700;
}

.program-block__grid-item p {
	font-size: 16px;
	margin-bottom: 8px;
	font-weight: normal;
	line-height: 1.1;
}

.program-block__grid-item p span {
	margin-right: 12px;
}

.program-block__slogan {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
}

/* PRICE SECTION */

.section-price {
	padding: 240px 0;
}

.price-container {
	display: flex;
  justify-content: space-between; /* Разделение на две колонки */
  align-items: center; /* Выравнивание по верху */
  gap: 16px; /* Пространство между колонками */
}

.price-details {
  flex-basis: 50%; /* Ширина левой колонки */
  text-align: left;
  padding-right: 24px; /* Небольшой отступ справа для левой колонки */
	display: flex;
	justify-content: center;
}

.price-details h2 {
	font-family: 'PlayfairDisplay', serif;
  font-size: 24px;
	line-height: 1.2;
  margin-bottom: 8px;
  font-weight: normal;
}

.price-details .price {
	font-family: 'PlayfairDisplay', serif;
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 64px;
  font-weight: normal;
  line-height: 1;
}

.includes-list {
	padding-left: 32px;
	flex-basis: 50%; /* Ширина правой колонки */
	color: var(--text-color); /* Цвет текста для списка */
	border-left: 1px solid var(--text-color); /* Левая граница */
}

.includes-list h3 {
	font-size: 20px;
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
	letter-spacing: 0.02em;
}

.includes-list ul {
	padding-left: 0;
	margin-bottom: 16px;
}

.includes-list ul li {
  font-size: 16px;
	line-height: 1.2;
	margin-bottom: 8px;
	padding-left: 16px; /* Отступ для кастомного маркера */
	position: relative;
}

.includes-list ul li::before {
	content: "/";
	position: absolute;
	left: 0;
}

.includes-list .exceptional-value {
	font-size: 16px;
  font-weight: 700;
	letter-spacing: 0.06em;
}


/* GALLERY SECTION */

.section-gallery {
	padding: 80px 0 120px;
}

.gallery-title {
	font-weight: 500;
	text-align: center;
	margin-bottom: 64px;
	color: var(--text-color);
}

.gallery-title h3 {
	font-size: 48px;
	line-height: 1;
	margin-bottom: 24px;
}

.gallery-title p {
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: 0.02em;
}

.mixed-gallery {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0 auto;
}

.mixed-gallery a {
	flex-grow: 1;
	flex-basis: calc(33.3% - 16px); /* Распределение ширины на 2 колонки с учетом gap */
	height: 280px;
	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 {
	margin: 0 auto;
	margin-bottom: 16px;
}

.video__item {
	width: 100%;
	height: auto;
}


/* REVIEWS SECTION */

.section-reviews {
	padding: 80px 0;
}

.slider-reviews {
	padding: 1px;
}

.review-slide {
	padding: 16px;
	max-width: 380px; /* Максимальная ширина карточки */
	width: 100%; /* Ширина подстраивается под контейнер */
	border: var(--text-color) 1px solid;
	border-radius: var(--border-radius);
	text-align: center;
	color: var(--text-color);
	margin-left: 1px;
	margin-right: 1px;
}

.quote-mark {
	display: block;
	padding: 16px;
	margin-bottom: 16px;
}

.review-text {
	font-size: 16px; /* Размер текста отзыва */
  line-height: 1.2; /* Межстрочный интервал */
  margin: 0 auto 32px auto; /* Автоматические отступы слева/справа для центрирования блока */
}

.review-image {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover; /* Масштабирование фото для покрытия круга */
	margin-bottom: 24px;
	border: 1px solid #f0f0f0; /* Небольшая рамка вокруг фото */
}

.review-name {
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin-bottom: 12px;
}

.review-position {
	font-size: 16px;
	font-weight: normal;
	line-height: 1.2;
	letter-spacing: 0.02em;
	margin-bottom: 8px;
}

.review-company {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.02em;
}

.reviews-title-wrapper {
	display: flex;
	justify-content: space-between;
	gap: 32px;
}

.reviews-pagination {
	display: flex;
	gap: 24px;
}

.reviews-pagination-left {
	background-image: url(../img/button-prev.svg);
	width: 40px;
	height: 40px;
	cursor: pointer;
}

.reviews-pagination-right {
	background-image: url(../img/button-next.svg);
	width: 40px;
	height: 40px;
	cursor: pointer;
}

.swiper-pagination {
	position: relative;
	/* margin: 32px 0 16px; */
	padding-top: 32px;
}

.swiper-pagination-bullet {
	background: var(--inverted-text-color);
	width: 12px;
	height: 12px;
  opacity: 1;
	margin: 0 8px;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
}

/* FOOTER */

.footer {
	background-color: var(--text-color);
	padding: 64px 0;
}

.footer-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
}

.footer-logo {
	width: 176px;
	height: auto;
}

.footer-logo svg {
	fill: var(--background-color);
}

.footer-links {
	display: flex;
	gap: 32px;
}


/* TO TOP button */

.to-top {
	z-index: 100;
  background: rgba(150, 150, 150, 0.2);
  position: fixed;
	padding: 2px;
  bottom: 16px;
  right:32px;
  width:48px;
  height:48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size:32px;
  color:#383838;
  text-decoration: none;
  opacity:0;
  pointer-events: none;
  transition: all .4s;
}

.to-top.active {
  bottom:32px;
  pointer-events: auto;
  opacity:1;
}