/* === base === */
*{box-sizing:border-box;line-height:1.2}
@font-face{
  font-family:"Inter Bold";
  src:url("../fonts/6808f299811c1703a1cacc77ced26c5d.eot");
  src:url("../fonts/6808f299811c1703a1cacc77ced26c5d.eot?#iefix") format("embedded-opentype"),
      url("../fonts/6808f299811c1703a1cacc77ced26c5d.woff2") format("woff2"),
      url("../fonts/6808f299811c1703a1cacc77ced26c5d.woff") format("woff"),
      url("../fonts/6808f299811c1703a1cacc77ced26c5d.ttf") format("truetype"),
      url("../fonts/6808f299811c1703a1cacc77ced26c5d.svg#Inter Bold") format("svg");
}

@font-face {
    font-family: 'Inter';
    src: local('Inter Medium'), local('Inter-Medium'),
        url('../fonts/Inter-Medium.woff2') format('woff2'),
        url('../fonts/Inter-Medium.woff') format('woff'),
        url('../fonts/Inter-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
  }

html,body{width:100vw;height: 100%; margin: 0; overflow: hidden;font-family:"Inter Bold",Arial}
body {background:url("../img/bg.jpg") center / cover no-repeat;position: relative;}

.buttonBack {
	padding: 26px;
	background: #310000;
	position: fixed;
	text-decoration: none;
	height: 72px;
	top: 54px;
	left: 51px;
}

.buttonBack span {
	color: #FFF;
	font-size: 32px;
	font-style: normal;
	font-weight: 700;
	line-height: 83.33%;
	letter-spacing: -0.72px;
	background: url("data:image/svg+xml,%0A%3Csvg width='54' height='54' viewBox='0 0 54 54' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cmask id='mask0_150_1346' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='0' y='0' width='54' height='54'%3E%3Crect x='0.666992' y='0.666687' width='53' height='53' fill='%23D9D9D9'/%3E%3C/mask%3E%3Cg mask='url(%23mask0_150_1346)'%3E%3Cpath d='M22.4448 41.3334L9.3335 27.8522L22.4814 14.3334L25.067 16.9925L16.3262 25.98H44.3335V29.7244H16.3262L25.0304 38.6748L22.4448 41.3334Z' fill='white'/%3E%3C/g%3E%3C/svg%3E%0A") left center no-repeat;
	padding-left: 76px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;
	-ms-align-items: center;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.interactive__title {
	color: #310000;
	font-size: 32px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: -0.72px;
	max-width: 420px;
	top: 211px;
	left: 51px;
	position: fixed;
}

.interactive__otnosa {
	max-width: 50vw;
	margin-left: 502px;
	padding: 107px 0;
	height: 100%;
}

.interactive__otnosa-sections {
	height: 100%;
}

.interactive__otnosa-section {
	height: 100%;
}

.interactive__otnosa-box {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	gap: 50px;
}

.interactive__otnosa-question__image {
	width: 50vw;
	height: 45vh;
	margin: 0 auto;
/*	background-color: #fff;*/
}

.interactive__otnosa-question__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.interactive__otnosa-question__title {
	width: 50vw;
	margin: 66px auto 0;
	color: #310000;
	text-align: center;
	font-size: 55px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: -0.96px;
}

.interactive__otnosa-answer {
	width: 35vw;
	margin: 0 auto;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;
	gap: 12px;
}

.interactive__otnosa-answer__item {
	padding: 52px 90px;
	color: #310000;
	font-size: 40px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: -0.42px;
	background: #DCCBB3;
	border: none;
	cursor: pointer;
}

.interactive__otnosa-finish,
.interactive__otnosa-finish__six,
.interactive__otnosa-finish__five {
	height: 100%;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;
	justify-content: center;
	-ms-align-items: center;
	align-items: center;
}

.interactive__otnosa-finish__box {
	max-width: 1150px;
}

.interactive__otnosa-finish__title {
	color: #310000;
	text-align: center;
	font-size: 55px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	letter-spacing: -0.9px;
	font-family: "Inter";
}

.interactive__otnosa-finish__value {
	color: #B8AA96;
	text-align: center;
	font-size: 85px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: -1.92px;
	margin: 26px 0;
}

.interactive__otnosa-finish__subtitle {
	color: #B8AA96;
	text-align: center;
	font-size: 35px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	letter-spacing: -0.63px;
	margin-bottom: 26px;
}

.interactive__otnosa-finish__qr {
	width: 233px;
	height: 233px;
	margin: 0 auto;
}

.interactive__otnosa-finish__qr img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.interactive__otnosa-finish__restart {
	margin-top: 82px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
	-ms-flex-direction: row;
	-o-flex-direction: row;
	flex-direction: row;
	justify-content: center;
}

.interactive__otnosa-finish__restart button {
	display: flex;
	width: 496px;
	height: 127px;
	padding: 61px 100px;
	justify-content: center;
	align-items: center;
	color: #310000;
	font-size: 40px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: -0.42px;
	background: #DCCBB3;
	border: none;
	cursor: pointer;
}

.interactive__otnosa-logo {
	position: fixed;
	left: 50px;
	bottom: 53px;
	width: 95px;
}

.interactive__otnosa-logo img {
	max-width: 100%;
	min-width: 100%;
}

/* 4K адаптация для тач-панелей 55" */
@media (min-width: 3840px) {
	.buttonBack {
		padding: 39px;
		height: 108px;
		top: 81px;
		left: 76px;
	}

	.buttonBack span {
		font-size: 48px;
		letter-spacing: -1.08px;
		padding-left: 114px;
	}

	.interactive__title {
		font-size: 55px;
		letter-spacing: -1.08px;
		max-width: 630px;
		top: 316px;
		left: 76px;
	}

	.interactive__otnosa {
		max-width: 2325px;
		margin-left: 753px;
		padding: 160px 0;
	}

	.interactive__otnosa-box {
		width: 50vw;
		height: 814px;
		margin: 0 auto;
	}

	.interactive__otnosa-box__image {
		width: 100%;
		height: 100%;
	}

	.interactive__otnosa-box__content {
		padding: 40px 60px;
	}

	.interactive__otnosa-box__title {
		font-size: 48px;
		letter-spacing: -0.96px;
		margin-bottom: 30px;
	}

	.interactive__otnosa-box__text {
		font-size: 36px;
		line-height: 150%;
		letter-spacing: -0.72px;
	}

	.interactive__otnosa-box__button {
		padding: 30px 60px;
		font-size: 36px;
		letter-spacing: -0.72px;
		margin-top: 30px;
	}

	.interactive__otnosa-logo {
		left: 75px;
		bottom: 79px;
		width: 155px;
	}
}

/* ===== Idle-modal (модалка "Вы все еще здесь") ===== */
:root{
  --idle-bg:#ffffff;--idle-text:#000;--idle-track:#e8efe9;--idle-accent:#DCB95A;--idle-btn:#B8AA96;--idle-btn-text:#8a7a68;
}
.idle-modal{
  position:fixed; inset:0; z-index:9999;

  /* вместо display:none — анимируем прозрачность и клики */
  display:block;
  opacity:0;
  pointer-events:none;
  transition: opacity 240ms ease;
}
.idle-modal.is-open{
  opacity:1;
  pointer-events:auto;
}
.idle-modal__backdrop{
  position:absolute; inset:0; background:rgba(0,0,0,.35);
  opacity:0; transition:opacity 240ms ease;
}
.idle-modal.is-open .idle-modal__backdrop{ opacity:1; }
.idle-modal__card{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%) translateY(8px) scale(.97);
  width:670px; background:var(--idle-bg); padding:89px 0 69px;
  box-shadow:0 10px 36px rgba(0,0,0,.25); text-align:center;
  opacity:0;
  transition:
    opacity 260ms ease,
    transform 320ms cubic-bezier(.2,.7,0,1);
}
.idle-modal.is-open .idle-modal__card{
  opacity:1; transform:translate(-50%,-50%) translateY(0) scale(1);
}
.idle-modal__title{color: #030404;
font-size: 43px;
font-style: normal;
font-weight: 700;
line-height: normal;
letter-spacing: -0.64px;margin-bottom:47px;}
.idle-modal__ring{
  position:relative;
  width:171px; height:171px;
  margin:0 auto 64px;
}
/* Слои кольца */
.idle-ring__track,
.idle-ring__progress{
  position:absolute; inset:0; border-radius:50%;
  /* Маска-«пончик»: показываем только 60..64px радиусы */
  -webkit-mask: radial-gradient(circle 85px at 50% 50%,
                                transparent 60px,
                                #fff 80px 85px,
                                transparent 64px);
          mask: radial-gradient(circle 64px at 50% 50%,
                                transparent 80px,
                                #fff 80px 85px,
                                transparent 85px);
}

.idle-ring__track{
  background: conic-gradient(from 90deg, var(--idle-track) 0 360deg);
}

.idle-ring__progress{
  background: conic-gradient(from 90deg,
                             var(--idle-accent) 0 var(--p,0deg),
                             transparent        var(--p,0deg) 360deg);
}

.idle-modal__ring-number{
  position:absolute; left:50%; top:50%;
  transform:translate(-50%,-50%);
color: #000;
text-align: center;
font-size: 43px;
font-style: normal;
font-weight: 700;
line-height: normal;
letter-spacing: -0.64px;
}
.idle-modal__btn{
  display:inline-block;margin-top:6px;padding:21px 0;border:2px solid var(--idle-btn);
  background:transparent;color: #B8AA96;
font-size: 24px;
font-style: normal;
font-weight: 700;
line-height: normal;
letter-spacing: -0.36px;transition:.2s ease;
	min-width: 293px;text-align: center;cursor: pointer;
}
.idle-modal__btn:hover{background:var(--idle-btn);color:#fff}