@font-face {
	font-display: swap;
	font-family: Futura;
	font-style: normal;
	font-weight: 300;
	src: url(/site/templates/fonts/futura_pt_light.woff2) format("woff2")
}
@font-face {
	font-display: swap;
	font-family: Futura;
	font-style: normal;
	font-weight: 400;
	src: url(/site/templates/fonts/futura_pt_book.woff2) format("woff2")
}
@font-face {
	font-display: swap;
	font-family: Futura;
	font-style: normal;
	font-weight: 500;
	src: url(/site/templates/fonts/futura_pt_medium.woff2) format("woff2")
}

/* OTHER */

html {
	scroll-behavior: smooth;
}

:root {
  --ticker-animation-duration: 30s; /* Измените это значение */
}

strong {
	font-weight: 500;
}

.tab-features__panel--hide {
	display: none;
}

.hide-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.hide-text\@md {
    overflow: unset;
    text-overflow: unset;
    display: unset;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
}

.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-image {
    will-change: transform; /* Оптимизация для анимаций */
    transform: translateZ(0); /* Аппаратное ускорение */
    backface-visibility: hidden;
    perspective: 1000px;
}

body {
	overflow-x: hidden;
}

@media (max-width: 768px) {
	body {
		overflow-x: unset;
	}

}

.font-semibold {
    font-weight: 500;
}

/* Header */

:root {
    --z-index-header: 5;
	--morph-nav-height: 85px;
}

.dr-nav-control-wrapper {
	--dr-nav-header-height: 85px; 
}

.hide-nav--has-bg {
	background-color: var(--color-primary);

	transition: all 0.3s ease-in-out;
}

.morph-nav__lg-dropdown--2 {
	width: 250px;
}

.morph-nav__lg-main-nav-link {
	color: var(--color-white);
	text-transform: uppercase;

	opacity: 80%;

	padding: 0 var(--space-sm);
}

.morph-nav__lg-main-nav-link span {
	position: relative;
}

.morph-nav__lg-main-nav-link span::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 30%;
	height: 2px;
	background-color: var(--color-accent);
	transition: width 0.3s ease-in-out;
}

.morph-nav__lg-main-nav-link:hover span::after {
	width: 100%;
}

.morph-nav__lg-dropdown--1--custom {
	width: 300px;
}

.offnav__link {
	color: var(--color-white);
	opacity: 80%;

	background-image: linear-gradient(transparent 60%, hsla(var(--color-accent-h), var(--color-accent-s), var(--color-accent-l), 0.2) 60%);
}

.offnav__link:hover {
	color: var(--color-accent);
}

.panel__background::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(
		ellipse at center,
		transparent 0%,
		#040f2a 70%,
		#040f2a 100%
		);
	z-index: 1;
	pointer-events: none;
}

.morph-nav__lg-nav-list--animation {
	opacity: 0;
  	height: 0;
	overflow: hidden;
	transition: all 0.5s ease-in-out;
	transform: translateY(20px);
}

.morph-nav__lg-nav-list--active {
	opacity: 1;
	height: 100%;
	transform: translateY(0);
}

.pulse-link {
	transition: all 0.3s ease;
}

.pulse-link:hover {
	opacity: 0.8;
}

.pulse-link__text {
	position: relative;
}

.pulse-link--red-line .pulse-link__text:after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 30%;
	height: 2px;
	background-color: var(--color-accent);
	transition: width 0.3s ease-in-out;
}

.pulse-link--red-line:hover .pulse-link__text:after {
	width: 100%;
}

/* Выезжающая панель */

.overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s ease;
	z-index: 5;
}

.overlay.active {
	opacity: 1;
	pointer-events: all;
}

.dr-nav__link {
	color: white;
}

.dr-nav__link:hover {
	color: var(--color-accent);
}

/* Панель */
.panel {
	position: fixed;
	left: 0;
	bottom: -100%;

	width: 100%;
	height: 100%;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	transition: bottom 0.5s ease;

	z-index: 4;
}

.panel.active {
	bottom: 0;
}

/* Анимация пульсации */

.pulse-container {
	position: relative;

	border-radius: 50%;
}

.circle {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: linear-gradient(45deg, var(--color-white), var(--color-white));
	z-index: 10;
}

.pulse-wave {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 2px solid var(--color-white);
	animation: pulse-wave 2s infinite ease-out;
}

.pulse-wave:nth-child(2) {
	animation-delay: 0.5s;
}

.pulse-wave:nth-child(3) {
	animation-delay: 1s;
}

.pulse-wave:nth-child(4) {
	animation-delay: 1.5s;
}

@keyframes pulse-wave {
	0% {
		transform: scale(1);
		opacity: 1;
	}
	100% {
		transform: scale(1.8);
		opacity: 0;
	}
}

@media (min-width: 1024px) and (max-width: 1200px) {
	.main-logo img {
		height: 30px !important;
	}

	.morph-nav__lg-main-nav-link {
		padding: 0 var(--space-xs);
	}
}

@media (max-width: 1024px) {
	:root {
		--morph-nav-height: 70px;
	}

	.morph-nav__sm-nav {
		z-index: 5;
	}

	.morph-nav__sm-dropdown {
		z-index: 4;
	}

	.morph-nav__sm-menu-toggle {
		color: var(--color-white);
	}

	.panel__background--mobile.panel__background::before {
			background: linear-gradient(90deg, 
			rgba(0, 0, 0, 0.4) 0%,
			rgba(0, 0, 0, 0.2) 50%,
			rgba(0, 0, 0, 0.4) 100%
		),
		radial-gradient(ellipse at top, transparent 0%, #040f2a 70%, #040f2a 100%);
	}

	.morph-nav__sm-label {
		color: var(--color-contrast-high);
		display: block;
	}
	
	.morph-nav__link-title {
		font-weight: 400;
	}

	.morph-nav__link-description {
		color: var(--color-contrast-high);
	}
}

/* Full Gallery */

.exp-gallery .last-item:hover {
	opacity: 0.85;
}

.exp-lightbox__body {
    padding-bottom: var(--space-xl);
}


/***** TIMELINE ******/

@media (max-width: 64rem) {
	.v-timeline[data-animation=on] .v-timeline__section .v-timeline__item {
		border-right: 4px solid var(--color-accent);
	}
}

@media (min-width: 64rem) {
	.v-timeline[data-animation=on] .v-timeline__section:nth-child(odd) .v-timeline__item {
		border-left: 4px solid var(--color-accent);
	}

	.v-timeline[data-animation=on] .v-timeline__section:nth-child(even) .v-timeline__item {
		border-right: 4px solid var(--color-accent);
	}
}


.v-timeline {
	padding: 0;
}

.v-timeline__date-value {
	color: var(--color-accent);
}

.slideshow__item--timeline {
	--slideshow-height: 400px;

	cursor: pointer;

	transition: all 0.3s ease-in-out;
}

.slideshow__item--timeline:hover {
	opacity: 0.7;
}

.slideshow--timeline .slideshow__navigation  {
	width: fit-content;

	left: 50%;

	transform: translateX(-50%);

	justify-content: center;
}

@media (max-width: 768px) {
	.slideshow--timeline .slideshow__navigation {
		display: none;
	}

	.slideshow__item--timeline {
		--slideshow-height: 200px;
	}
}

@media (min-width: 64rem) { 
	.v-timeline__section--history {
		min-height: 300px;
	}

	.v-timeline__image {
		position: absolute;
		top: 230px;
	}

	.feature-v3__media-wrapper img:hover {
		transform: translateX(-30px);
	}

	.v-timeline__section:nth-child(odd) .v-timeline__image {
		right: calc(-2*(var(--v-timeline-triangle-size) + var(--space-xxs)) - var(--v-timeline-marker-size));
		transform: translateX(100%) translateY(-50%);
	}

	.v-timeline__section:nth-child(even) .v-timeline__image {
		left: calc(-2*(var(--v-timeline-triangle-size) + var(--space-xxs)) - var(--v-timeline-marker-size));
		transform: translateX(-100%) translateY(-50%);
	}
}



/* LINK FX1 */

.link-fx-1--schedule {
	position: absolute;
}

.link-fx-1--schedule::before {
	display: none;
}

.link-fx-1-wrapper--link {
	transition: all 0.3s ease-in-out;
}

.link-fx-1-wrapper--link:hover {
	transform: translateY(-5px);
}

.link-fx-1-wrapper--link .link-fx-1::before {
	display: none;
}

.link-fx-1--link:hover .icon circle {
	stroke-dashoffset: 200;
	transition: stroke-dashoffset 0.2s 0.1s;
}

.link-fx-1--link:hover .icon line {
	transform: rotate(-180deg);
}

.link-fx-1--link:hover .icon line:last-child {
	transform: rotate(180deg);
}

.link-fx-1--link .link-fx-1 .icon {
	position: static;
	transform: translateX(0%) rotate(90deg);
}

.link-fx-1--link .link-fx-1 .icon {
	font-size: 50px;
}

@media (max-width: 768px) {
	.schedule-item {
		border: none;
	}

	.link-fx-1--schedule {
		display: none;
	}
}

/* GRID (PAGE) */

.card-v11__box {
	background-color: hsla(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l), 0.95);
}

.card-v11:hover .card-v11__btn {
	background-color: var(--color-accent);
	color: white;
}

/* CALENDAR */

.calendar {
  background-color: #FFF;
  border-radius: 0.8rem;
  box-shadow: 0 0.8rem 1.6rem rgba(4, 15, 42, 0.2);
  padding: 3.2rem;
}

.calendar__header {
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.2rem;
  padding: 0 0.4rem 1.2rem;
  text-transform: uppercase;
}

.calendar__day-names {
  border-bottom: 0.1rem solid #828889;
  display: flex;
  gap: 1.2rem;
  margin-bottom: 0.8rem;
  padding: 0.8rem 0;
}

.calendar__day-name {
  aspect-ratio: 1;
  color: #828889;
  font-weight: normal;
  text-align: center;
  width: 2.4rem;
}

.calendar__day_numbers {
  display: flex;
  flex-direction: column;
}

.calendar__day-numbers-row {
  display: flex;
  padding: 0.6rem 0;
}

.calendar__day-number {
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  color: #000;
  display: flex;
  line-height: 1.4;
  text-align: center;
  width: 3.4rem;
}

.calendar__day-number--current {
  cursor: pointer;

  background-color: var(--color-primary);
  color: #FFF;
}

.calendar__day-number--first {
	border-radius: 50% 0 0 50%;

	background-color: var(--color-accent);
}

.calendar__day-number--last {
	border-radius: 0 50% 50% 0;

	background-color: var(--color-accent);
}

.calendar__day-number--first.calendar__day-number--last {
	border-radius: 50%;
}

/* SLIDESHOW */

:root {
	--slideshow-height: calc(100vh - var(--morph-nav-height));
}