


header.bg-transparent * {
	color: white;
}


.menu-button.closed .x-icon {
	display: none;
}

.menu-button.closed .burger-icon {
	display: block;
}

.menu-button.opened .x-icon {
	display: block;
}

.menu-button.opened .burger-icon {
	display: none;
}




.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out; 
  /* transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.3, 1), 
            transform 0.6s cubic-bezier(0.2, 0.8, 0.3, 1); */
}

.fade-up.fade-visible {
  opacity: 1;
  transform: translateY(0);
}


@keyframes floatElement {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
  }
}

.mouse-wheel {
  animation: floatElement 1s ease-in-out infinite;
}

.autoimport {
	font-family: Montserrat, Arial, Verdana, Helvetica, sans-serif;
}

.autoimport .agreement-checkbox input {
    margin-right: 5px;
    display: inline-block;
    vertical-align: top;
}

.autoimport .hidden, 
.total-hidden {
	display: none !important;
}


.brand-btn {
    -webkit-tap-highlight-color: rgba(0,0,0,0.2); /* визуальная обратная связь при тапе */
    user-select: none; /* чтобы текст не выделялся при быстрых тапах */
    cursor: pointer;
}



.service-item {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	
}

.service-item > p {
	flex-grow: 1;
}

.autoimport .btn {
	display: block;
	background: #c61633;
	border: 2px solid #c61633;
	color: white;
	/* text-transform: uppercase; */
	text-align: center;
	transition: all 200ms linear;
	border-radius: 6px;
	min-width: 200px;
	max-width: 240px;
	height: 50px;
	line-height: 50px;
	padding: 0 5px;
	box-sizing: border-box;
	font-weight: 600;
}


.autoimport .btn:hover {
	background-color: white;
	color: #c61633;
}


.autoimport .btn.reverse {
	background-color: white;
	border-color: white;
	color: #c61633;
}

.autoimport .btn.reverse:hover {
	background: #c61633;
	color: white;
}


.autoimport .field {
	border: 1px solid rgb(230, 230, 230);
	height: 50px;
	line-height: 50px;
	padding: 0 7px;
	border-radius: 6px;
}

.autoimport textarea.field {
	height: 100px;
	line-height: normal;
	padding-top: 7px;
}

.sum {
	margin: 20px auto;
}

.sum strong {
	display: block;
	font-size: 2.5rem;
	font-weight: 700;
}

.calc-fields {
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin: 20px 0;
}

.calc-fields > * {
	width: 100%;
}

.autoimport.calc-target-form .btn {
	max-width: 100%;
	width: 100%;
}


.map {
	z-index: 50;
}

.map iframe {
	position: absolute;
	z-index: 20;
}

.popup-cover {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 20;
	background: rgba(255, 255, 255, .8);
	display: grid;
}


.preview {
	/* img */
	cursor: pointer;
}

.imgview {
	/* img */
	margin: auto;
	max-width: 95%;
	max-height: 95vh;
}


.popup,
.message {
	margin: auto;
	display: block;
	width: 320px;
	padding: 20px;
	background: white;
	position: relative;
	border: 2px solid #888;
	box-sizing: border-box;
	border-radius: 12px;
	z-index: 50;
}

.title {
	color: black;
	text-align: center;
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 10px;
}

.sub-title {
	font-size: 0.8em;
	text-align: center;
	margin-bottom: 20px;
}

.agreement-checkbox {
	font-size: 0.7em;
	margin-bottom: 20px;
}

.popup .field {
	width: 100%;
	margin-bottom: 20px;
}

.popup .btn,
.message .btn {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.close {
	position: absolute;
	top: 4px;
	right: 4px;
	padding: 0;
	margin: 0;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	color: #888;
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-weight: 300;
	border-radius: 50%;
	border-width: 0;
	cursor: pointer;
	background: #fff;
	transition: background .2s;
	box-sizing: border-box;
	z-index: 2;
}

.message-cover {
	background: white;
	display: grid;
}


.popup.promocode .sub-title,
.popup.promocode .field[name=name]
{
	display: none;
}

.popup.promocode .custom-text-1,
.popup.promocode .custom-text-2 {
	display: block;
}

.popup.promocode .title {
	margin: 0;	
}

.popup.promocode .title,
.popup.promocode .custom-text-1 {
	color: #c61633;
	text-align: left;
	font-weight: bold;
}

.popup.promocode .custom-text-4 {
	font-weight: bold;
}

.popup.promocode .field[name=tel] {
	margin-top: 20px;
}


@media (min-width: 1024px) and (max-width: 1279px) {
	.header-menu {
		gap: 1rem;
	}
}

@media (max-width: 1023px) {
	.header-menu {
	    position: absolute;
	    top: 62px;
	    right: 0;
	    z-index: 25;
	    width: 190px;
	    background: rgb(237, 7, 27);
	    display: none;
	}
	
	.header-menu a {
		border-top: 1px solid white;
		display: block;
		text-align: center;
		width: 100%;
		padding: 8px 2px;
		font-weight: bold;
		color: white;
	}
	
	.header-menu a:hover {
		background: white;
		color: rgb(237, 7, 27);
	}
		
	.header-menu.opened {
		display: block;
	}	
	
}

@media (max-width: 768px) {
	.mouse {
		display: none;
	}
	
	.calc-fields {
		flex-direction: column;
	}
	
	.promo-item {
		margin-bottom: 20px;
	}
	

}

@media (max-width: 439px) {
	.header-name {
		font-size: 16px;
	}
	
	.header-bio {
		display: none;
	}
}

