@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  60% {
    opacity: 1;
    transform: translateX(15px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(calc(100% + 1rem));
  }
  50% {
    opacity: 1;
    transform: translateY(-15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
:root {
  --color-y: #ffba30;
  --color-y05: #ffba3080;
  --color-red: rgba(255, 54, 56, 1);
  --color-light: rgba(242, 246, 250, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Raleway', sans-serif;
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  position: relative;
}
h1,
h2 {
  padding-bottom: 50px;
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
h1.in-view {
  animation: slideIn 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

h2.in-view {
  animation: slideIn 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

h2 span {
  background-color: var(--color-y);
}
p {
  margin: 0;
  padding: 0;
  font-size: inherit;
}
main {
  flex: 1 0 auto;
  padding-top: 100px;
}
section {
  padding: 50px 0;
  background-color: #fff;
}
img {
  width: 100%;
  height: auto;
}
red {
  color: red;
}
a {
  text-decoration: none;
  color: inherit;
  font-size: inherit;
}
li {
  list-style: none;
}
input:focus-visible {
  outline: none;
}
input[type='checkbox'] {
  height: 1rem;
  width: 1rem;
  margin-right: 5px;
}
.mobile_view {
  display: none;
}
header {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  z-index: 1000;
  flex-shrink: 0;
  color: #000;
  height: 100px;
  align-items: center;
  display: flex;
  width: 100%;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.4);
}
.header {
  position: relative;
}
.burger {
  display: none;
  width: 50px;
  height: 50px;
  position: relative;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1100;
}

.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
  position: absolute;
  transition: all 0.3s ease;
}

.burger span:nth-child(1) {
  top: 15px;
}

.burger span:nth-child(2) {
  top: 23px;
}

.burger span:nth-child(3) {
  top: 31px;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 23px;
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 23px;
}

.logo_wrapper {
  height: fit-content;
  position: relative;
  display: flex;
  justify-content: left;
  align-items: center;
  font-weight: 700;
  font-size: 30px;
  width: fit-content;
}
.logo_wrapper img {
  object-fit: contain;
  height: 100%;
  width: fit-content;
  max-height: 50px;
  aspect-ratio: 1;
}
.logo_wrapper span {
  margin-left: 1rem;
  line-height: 1;
  display: block;
  width: 100%;
  white-space: nowrap;
}
header .menu {
  display: flex;
  justify-content: center;
}
.logo_wrapper2 {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.header_phone {
  color: var(--color-red);
  font-size: 1.2em;
  margin-left: calc(50px + 0.5rem);
  font-family: 'Raleway', sans-serif;
  font-weight: bold;
}
.header_phone:hover {
  text-decoration: underline;
}
header .menu .nav {
  gap: 1rem;
  width: 100%;
  justify-content: center;
  flex-wrap: nowrap;
}
.nav-item {
  display: flex;
  position: relative;
  align-items: center;
}
.nav-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--color-y);
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.3s ease-in-out all;
}
.nav-item:hover::after {
  width: 100%;
}
.nav-link {
  color: #000;
  font-size: 20px;
  transition: 0.3s ease-in-out all;
}
.nav-item:hover .nav-link {
  color: var(--color-y);
  transform: translateY(2px);
}
.btn_popup {
  display: flex;
  align-items: center;
}
.btn-blue {
  background-color: var(--color-y);
  color: #fff;
  padding: 10px;
  font-size: 1em;
  border: 1px solid var(--color-y);
  transition: 0.3s ease-in-out all;
}
.btn-blue:hover {
  background-color: var(--color-y05);
  border: 1px solid var(--color-y);
  color: #000;
}
.btn-blue:active {
  border: 1px solid var(--color-y) !important;
  transform: translateY(2px);
}
.header-text {
  display: flex;
  flex-direction: column;
  max-width: 350px;
}
.header-text h1 {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 150%;
}
.header-text h2 {
  font-size: 1.5rem;
  text-transform: lowercase;
}
.header-phone {
  display: flex;
  align-items: start;
  flex-direction: column;
  width: fit-content;
}
.header-phone .phone-1 {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 0px;
  line-height: 100%;
  font-weight: 600;
}
.header-phone .phone-2 {
  font-size: 2rem;
  line-height: 100%;
}
#main_section {
  padding: 50px 0;
  height: 100%;
}

.modal-custom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-custom-overlay.active {
  display: flex;
}

.modal-custom {
  background: #fff;
  max-width: 500px;
  padding: 2rem;
  border-radius: 8px;
  position: relative;
  color: #000;
}

.modal-custom .close-btn {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: none;
  border: none;
  font-size: 3rem;
  line-height: 1;
}
.modal-custom h3 {
  font-size: 2rem;
  margin-right: 2rem;
}
.modal-custom p {
  font-size: 1.2rem;
}
#popup_form {
  display: flex;
  flex-direction: column;
}
#popup_form .form_input {
  width: 100%;
  padding: 10px;
  margin-bottom: 1rem;
  border-radius: 5px;
  border: 1px solid var(--color-y);
}
#popup_form .form_input:active,
#popup_form .form_input:focus {
  box-shadow: 0 0 1rem 0.25rem var(--color-y);
}
#popup_form .btn {
  width: 80%;
  margin: 25px auto;
}
.personal span {
  font-size: 1.5rem;
  color: var(--color-y);
  font-weight: 600;
  text-align: center;
  display: block;
  width: 100%;
}
.alert {
  font-size: 1.5rem;
  color: var(--color-red);
  font-weight: 600;
  text-align: center;
  display: block;
  padding: 0;
  margin: 0;
}
.policy a:hover {
  text-decoration: underline;
}
#banner {
  background: url('/include/images/banner.webp');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 130px 0;
  position: relative;
  color: #fff;
  font-size: 1.5rem;
}
#banner::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  top: 0;
  left: 0;
  position: absolute;
}
.banner_wrapper {
  position: relative;
  z-index: 10;
}
#banner h1 {
  font-size: 3rem;
  font-weight: 700;
  padding: 0;
}
.banner-tel {
  padding: 25px 0;
}
.red_fon {
  background-color: var(--color-red);
}
#advantages {
  background-color: var(--color-light);
}
#advantages h2.in-view {
  animation-delay: 0.5s;
}
#advantages .item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#advantages .item img {
  width: 40%;
}
#advantages .item p {
  width: 80%;
  margin-top: 50px;
  color: rgb(51, 51, 51, 0.6);
  font-size: 1.2rem;
}
#remont {
  font-size: 1.2rem;
}
#remont .price {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 15px;
  font-size: 1.2rem;
  margin: 25px 0;
}
#remont .price ul {
  padding: 0;
}
#remont .price li {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 15px;
  padding: 0;
}
#remont .price s {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 15px;
  color: rgb(0, 0, 0, 0.6);
}
#remont .price .red_fon {
  font-size: 1rem;
  height: auto;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 20px;
  padding: 0 1rem;
  line-height: 1.5;
}
#remont .akcia {
  margin-bottom: 50px;
  text-transform: uppercase;
  color: rgb(51, 51, 51, 0.6);
  display: block;
  font-size: 1.2rem;
}
.accordion-button {
  font-size: 1.5rem;
}
.accordion-body {
  font-size: 1.2rem;
}
.left-item {
  display: flex;
  justify-content: center;
}
.img_wrapper {
  position: relative;
  width: 70%;
  height: auto;
  aspect-ratio: 1;
  background-color: var(--color-y);
  border-radius: 50%;
}
.img_wrapper img {
  position: absolute;
  bottom: 5%;
  transform: translateX(-50%);
  left: 50%;
  width: 90%;
  height: auto;
  aspect-ratio: 1;
}
#remont2 h2.title {
  padding-bottom: 25px;
}
#remont2 .subtitle {
  padding-bottom: 25px;
  font-size: 1.5rem;
}
.accordion-button:focus {
  box-shadow: none;
}
.accordion-button:not(.collapsed) {
  color: #fff;
  background-color: var(--color-y);
  font-weight: 700;
}
#vopros {
  background-color: var(--color-light);
}
#vopros h2.title {
  padding-bottom: 15px;
}
#vopros li {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
#vopros ul {
  padding: 0;
  margin: 0;
}
#vopros li.in-view {
  opacity: 1;
  transform: translateY(0);
}
#vopros li.in-view:nth-child(2) {
  animation-delay: 0.3s;
}
#vopros li.in-view:nth-child(3) {
  animation-delay: 0.4s;
}
#vopros li.in-view:nth-child(4) {
  animation-delay: 0.5s;
}
#vopros li.in-view:nth-child(5) {
  animation-delay: 0.6s;
}
#vopros .vopros_title {
  font-weight: 700;
  font-size: 1.5rem;
  padding-top: 35px;
}
#vopros .otvet {
  padding-top: 15px;
  font-size: 1.2rem;
}
form .personal {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
#page_form .personal {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 15px;
  flex-wrap: wrap;
}
#page_form .input-group {
  width: calc((100% - 30px) / 3);
}
#page_form label {
  width: 100%;
  font-size: 1.2rem;
}
#page_form .form_input {
  padding: 10px;
  font-size: 1.2rem;
  border-radius: var(--bs-border-radius);
}
#page_form .form-control:focus {
  border-color: var(--color-y);
  outline: 0;
  box-shadow: none;
}
#page_form .form_btn {
  display: flex;
  flex-direction: row;
  align-items: end;
  justify-content: center;
  font-size: 1.2rem;
}
#page_form .form_btn .btn {
  width: 100%;
}
#page_form .policy {
  text-align: center;
  margin-top: 25px;
}
#clearPhone {
  border: var(--bs-border-width) solid var(--color-y);
  box-shadow: none;
  border-left: none;
  background-color: #fff;
  margin-left: -2px;
  overflow: hidden;
  z-index: 10;
}
#clearPhone:hover {
  border: var(--bs-border-width) solid var(--color-y);
  box-shadow: none;
  border-left: none;
  background-color: #fff;
  margin-left: -2px;
  overflow: hidden;
}
#clearPhone svg {
  stroke: #333;
  width: 1.5em;
  height: 1.5em;
  transition: 0.3s all ease-in-out;
}
#clearPhone:hover svg {
  stroke: var(--color-y);
}
#contact {
  background-color: var(--color-light);
  padding-bottom: 0;
}
#contact .social_wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 4px;
}
#contact .social_wrapper svg {
  width: 50px;
  height: 50px;
}
#contact .contact_name {
  font-size: 1.5rem;
  margin-bottom: 5px;
}
#contact .contact_item {
  font-size: 1.2rem;
}
.map {
  margin-top: 50px;
}
footer {
  background-color: var(--color-y);
  color: #fff;
  padding-top: 50px;
  padding-bottom: 25px;
}
footer .logo_wrapper {
  height: fit-content;
  width: 100%;
}
footer .logo_wrapper img {
  width: auto;
}
.footer_wrapper {
  display: flex;
  gap: 25px;
  flex-direction: column;
}
.footer_wrapper .menu {
  height: 50px;
  align-items: center;
  display: flex;
}
.copyright {
  margin-top: 25px;
  font-size: 1.2rem;
  margin-left: calc(1rem + 50px);
}
.bottom_block {
  text-align: center;
  margin-top: 25px;
}
footer .nav-link {
  color: #fff;
  padding: 0 1rem;
}
footer .nav-link:first-child {
  padding-left: 0;
}
footer .nav-item::after {
  background-color: #fff;
}
footer .nav-item:hover .nav-link {
  color: #fff;
}

#otzyv {
  font-size: 1.2rem;
  background-color: var(--color-light);
}
#otzyv .title_wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 50px;
}
#otzyv .otzyv_wrapper .title_wrapper {
  padding-left: 25px;
}
#otzyv h2.title {
  padding: 0;
}
#otzyv .title_wrapper a,
#otzyv .title_wrapper svg {
  transition: 0.3s all;
}
#otzyv .title_wrapper a span {
  margin-left: 5px;
}
#otzyv .title_wrapper svg {
  fill: #000;
  width: 40px;
}
#otzyv .title_wrapper a:hover {
  color: var(--color-y);
}
#otzyv .title_wrapper a:hover svg {
  fill: var(--color-y);
}
#otzyv .video_wrapper h2.in-view {
  animation-delay: 0.4s;
}

#otzyv .otzyv_title,
#otzyv .carousel_wrapper {
  position: relative;
}
#otzyv .carousel_wrapper {
  margin-top: -25px;
}
#otzyv .all {
  width: 100%;
  text-align: end;
  margin-bottom: 35px;
}
#otzyv .all a {
  color: #000;
  text-decoration: underline;
  font-size: 1.3rem;
  font-family: var(--var-font-roboto);
  transition: all 0.3s ease-in-out;
}
#otzyv .all a span {
  margin-left: 30px;
}
#otzyv .all a svg {
  width: 40px;
  height: auto;
  fill: #000;
  transition: all 0.3s ease-in-out;
}
#otzyv .all a:hover {
  color: #fff;
}
#otzyv .all a:hover svg {
  fill: #fff;
}
#otzyv .carousel_wrapper .item {
  padding: 25px;
}
#otzyv .carousel_wrapper .otzyv_item {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 2px solid var(--color-y);
  padding: 25px;
  gap: 25px;
  box-shadow: 0 0 1rem 0.25rem var(--color-y05);
  background-color: #fff;
}

#otzyv .otzyv_date {
  color: var(--color-y);
  text-align: end;
}
#otzyv .otzyv_title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}
#otzyv .otzyv_title .name {
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  display: flex;
}
#otzyv .otzyv_title .stars {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fc0;
}
.container_nav_container {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  position: relative;
  padding: 25px 0;
}
.container_nav {
  position: relative;
  height: 100%;
}
.owl-nav-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: 100%;
  height: 100%;
}
.counter {
  font-size: 1.2rem;
}
.counter span {
  color: var(--color-y);
  font-size: 2rem;
}
.container_nav_container .owl-nav-container span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
.container_nav_container .owl-nav-container span svg {
  fill: #000;
  transition: all 0.3s;
}
.container_nav_container .owl-nav-container span:hover svg {
  fill: var(--color-y);
}
.container_nav_container .owl-nav-container span.disabled svg {
  fill: #999;
  cursor: default;
}
.container_nav_container .owl-nav-container span.prev {
  left: -75%;
}
.container_nav_container .owl-nav-container span.next {
  right: -75%;
}
#otzyv .review-item__img {
  border: 1px solid rgba(255, 255, 255, 0.5);
}
#otzyv .review-item__a span {
  color: #fff;
}
#otzyv video {
  border-radius: 20px;
}
.widget_wrapper {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}
.yandex-health-widget {
  display: inline-block;
  font-family: 'YS Text', 'Helvetica Neue', Arial, sans-serif;
  max-width: 220px;
}

.yandex-health-widget a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.yandex-health-widget span {
  font-size: 12px;
}

.yandex-health-widget .rating-container {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 6px;
  background: #fafafa;
}

.yandex-health-widget .location-icon {
  margin-right: 2px;
}

.yandex-health-widget .rating-value {
  font-weight: 700;
  font-size: 22px;
  color: #000;
  line-height: 1;
  margin-right: 8px;
}

.yandex-health-widget .stars {
  color: #fc0;
  font-size: 28px;
  letter-spacing: -2px;
  line-height: 1;
}
#slider_galery a,
#slider_sert a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  border: 2px solid var(--color-y05);
  border-radius: 20px;
  overflow: hidden;
}
#slider_galery .container_nav_container {
  padding-bottom: 0;
}
#social_bage {
  position: fixed;
  bottom: 4rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 99;
}
#social_bage a {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 1rem 0.25rem var(--color-y05);
}
#social_bage a svg {
  width: 50px;
  height: 50px;
}
.grecaptcha-badge {
  display: none;
}

a.fancybox {
  position: relative;
  display: inline-block;
  overflow: hidden;
  cursor: pointer;
}

.zoom-icon {
  position: absolute;
  top: calc(50% + 12px);
  left: calc(50% - 12px);
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg width='64px' height='64px' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' transform='matrix(-1,0,0,1,0,0)'%3E%3Cpath d='M10 2C5.59 2 2 5.59 2 10s3.59 8 8 8c1.84 0 3.54-0.63 4.9-1.69l5.39 5.39a1 1 0 0 0 1.41-1.41l-5.39-5.39A7.93 7.93 0 0 0 18 10c0-4.41-3.59-8-8-8zm0 2c3.32 0 6 2.68 6 6s-2.68 6-6 6-6-2.68-6-6 2.68-6 6-6zm0 2a1 1 0 0 0-1 1v2H7a1 1 0 0 0 0 2h2v2a1 1 0 0 0 2 0v-2h2a1 1 0 0 0 0-2h-2V7a1 1 0 0 0-1-1z'/%3E%3C/svg%3E")
    no-repeat center center;
  background-size: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.6));
}

a.fancybox:hover .zoom-icon {
  opacity: 0.8;
}

.zoom-icon::after {
  content: '';
  position: absolute;
  left: calc(50% + 6px);
  top: calc(50% - 6px);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  animation: pulse 1.5s infinite;
  z-index: 1;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}
main#policy {
  padding-bottom: 50px;
}
#policy h1,
#policy h2 {
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  transform: none;
  opacity: 1;
}

.policy ul {
  padding: 0;
  margin: 0;
}

.cc_banner-wrapper {
  z-index: 1000;
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  width: 40%;
  transform: translateY(calc(100% + 1rem));
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 1rem 0.25rem rgba(0, 0, 0, 0.16);
}

.cc_banner-wrapper.active {
  /* animation: slideUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;*/
  transform: translateY(0);
  opacity: 1;
}

.cc_container {
  background: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  margin: 0 auto;
}

.cc_btn_accept_all {
  background: var(--color-y);
  color: #fff;
  padding: 10px 60px;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  border: 1px solid var(--color-y);
}

.cc_btn_accept_all:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: var(--color-y05);
  color: #000;
  border: 1px solid var(--color-y);
}

.cc_message {
  color: #000;
  margin: 0;
  margin-right: 30px;
}

.cc_message a {
  color: #000;
  text-decoration: underline;
}
.cc_message a:hover {
  text-decoration: none;
}
@media (max-width: 991px) {
  .cc_banner-wrapper {
    width: 100%;
  }
  .cc_container {
    flex-direction: column;
  }
  .cc_message {
    font-size: 16px;
    margin: 0;
    margin-bottom: 15px;
  }
}
