@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/roboto/v48/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbWmT.ttf) format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/roboto/v48/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWuYjammT.ttf) format('truetype');
}
html {
  scroll-behavior: smooth;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}
body {
  margin: 0;
  background-color: #f4f4f4;
}
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: #ffffff;
  color: #E40045;
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.header__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.header__logo {
  font-size: 28px;
  font-weight: 700;
  color: #A600A6;
  text-decoration: none;
  flex-shrink: 0;
}
.header__menu {
  display: flex;
  align-items: center;
  gap: 25px;
}
.header__nav {
  flex-shrink: 0;
}
.header__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 25px;
}
.header__nav a {
  color: #E40045;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}
.header__nav a:hover {
  color: #530FAD;
}
.header__nav a.is-active-link {
  color: #530FAD;
}
.header__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.header__contacts-link {
  color: #E40045;
  text-decoration: none;
  transition: color 0.3s ease;
}
.header__contacts-link:hover {
  color: #530FAD;
}
.header__contacts-hours {
  font-size: 0.9em;
  opacity: 0.8;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header__socials {
  display: flex;
  gap: 15px;
}
.header__socials a {
  color: #E40045;
  font-size: 20px;
  transition: color 0.3s ease;
  display: block;
  border-radius: 50%;
  border: 1px solid #A600A6;
  padding: 5px;
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 30px;
}
.header__socials a:hover {
  color: #530FAD;
  background-color: rgba(166, 0, 166, 0.1);
}
.header__burger {
  display: none;
}
.section-title {
  font-size: 48px;
  font-weight: 700;
  color: #A600A6;
  margin-bottom: 40px;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80vh;
  min-height: 400px;
  color: #ffffff;
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
}
.hero__title {
  font-size: 80px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 2px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
.hero__subtitle {
  font-size: 24px;
  font-weight: 400;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  margin-top: 80px;
}
.services {
  padding: 60px 0;
  background-color: #fff;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.services__card {
  background-color: transparent;
  width: 100%;
  height: 500px;
  perspective: 1000px;
  cursor: pointer;
}
.services__card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.services__card:hover .services__card-inner {
  transform: rotateY(180deg);
}
.services__card-front,
.services__card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}
.services__card-front {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px;
  color: white;
  background-size: cover;
  background-position: center;
}
.services__card-front::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
  z-index: 1;
}
.services__card-front--1 {
  background-image: url('../img/generalCleaner.jpg');
}
.services__card-front--2 {
  background-image: url('../img/remont.jpg');
}
.services__card-front--3 {
  background-image: url('../img/window.jpg');
}
.services__card-front--4 {
  background-image: url('../img/village.jpg');
}
.services__card-front--5 {
  background-image: url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?q=80&w=2070&auto=format&fit=crop');
}
.services__card-front--6 {
  background-image: url('https://images.unsplash.com/photo-1603796328192-f94345375033?q=80&w=2031&auto=format&fit=crop');
}
.services__card-title {
  font-size: 24px;
  margin: 0;
  position: relative;
  z-index: 2;
}
.services__card-back {
  background-color: #530FAD;
  color: white;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: right;
  justify-content: space-between;
  padding: 20px;
  gap: 20px;
  z-index: 3;
}
.services__card-back ul {
  text-align: left;
}
.services__card-back p {
  text-align: left;
}
.price-promo {
  padding: 60px 0;
  background-color: #530FAD;
  text-align: center;
}
.price-promo .section-title {
  color: #ffffff;
}
.price-promo__subtitle {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  font-size: 30px;
  margin: 20px auto 30px;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal.is-open {
  opacity: 1;
  visibility: visible;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}
.modal__content {
  position: relative;
  z-index: 1;
  background-color: #ffffff;
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}
.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}
.modal__title {
  margin: 0;
  font-size: 24px;
  color: #A600A6;
}
.modal__close {
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: #aaa;
  padding: 0;
  transition: color 0.3s ease;
}
.modal__close:hover {
  color: #E40045;
}
.modal__body {
  padding: 20px;
  overflow-y: auto;
}
.modal__table {
  width: 100%;
  border-collapse: collapse;
}
.modal__table th,
.modal__table td {
  padding: 6px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}
.modal__table th {
  background-color: #f8f8f8;
  font-weight: 700;
  color: #530FAD;
  text-align: center;
}
.modal__table td:first-child {
  width: 30%;
}
.modal__table tr:last-child td {
  border-bottom: none;
}
.reviews {
  padding: 60px 0;
  background-color: #f4f4f4;
}
.reviews__slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.reviews__track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.reviews__slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 40px 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.reviews__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #CCF600;
}
.reviews__text {
  font-size: 16px;
  font-style: italic;
  color: #555;
  line-height: 1.6;
  margin: 0 0 15px 0;
  max-width: 600px;
}
.reviews__text p {
  margin: 0;
}
.reviews__author {
  font-weight: 700;
  color: #530FAD;
  font-style: normal;
}
.reviews__nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 20px;
  color: #A600A6;
  transition: all 0.3s ease;
  z-index: 10;
}
.reviews__nav-btn:hover {
  background-color: #fff;
  color: #530FAD;
}
.reviews__nav-btn--prev {
  left: 15px;
}
.reviews__nav-btn--next {
  right: 15px;
}
.reviews__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.reviews__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.reviews__dot:hover {
  background-color: #aaa;
}
.reviews__dot.is-active {
  background-color: #A600A6;
}
.faq {
  padding: 60px 0;
  background-color: #f4f4f4;
}
.faq__accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq__item {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.faq__item.is-active {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.faq__question {
  width: 100%;
  padding: 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  color: #530FAD;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.faq__question::after {
  content: '+';
  font-size: 24px;
  font-weight: 700;
  color: #A600A6;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq__item.is-active .faq__question::after {
  transform: rotate(45deg);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  color: #555;
  line-height: 1.6;
}
.faq__answer p {
  margin: 0;
  padding: 0 20px 20px 20px;
}
.footer {
  background-color: #530FAD;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0;
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.footer__logo {
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 15px;
}
.footer__copyright {
  margin: 0;
  font-size: 13px;
}
.footer__title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
}
.footer__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer__nav a:hover {
  color: #CCF600;
}
.footer__contacts-link {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  margin-bottom: 10px;
}
.footer__contacts-link:hover {
  color: #CCF600;
}
.footer__socials {
  display: flex;
  gap: 15px;
}
.footer__socials a {
  color: #ffffff;
  font-size: 20px;
  transition: color 0.3s ease;
}
.footer__socials a:hover {
  color: #CCF600;
}
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1500;
  width: 50px;
  height: 50px;
  background-color: #A600A6;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}
.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  z-index: 3000;
  padding: 15px 25px;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
  transform: translate(-50%, 20px);
}
.toast.is-visible {
  opacity: 1!important;
  visibility: visible;
  transform: translate(-50%, 0);
}
.toast--success {
  background-color: #28a745;
}
.toast--error {
  background-color: #dc3545;
}
.toast__message {
  margin: 0;
}
@media (max-width: 992px) {
  .header {
    padding: 15px 0;
  }
  .header__container {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .header__menu {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0;
    margin-top: 15px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
  }
  .header.is-open .header__menu {
    max-height: 100vh;
    padding: 30px 0;
  }
  .header__nav ul {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .header__contacts {
    align-items: center;
  }
  .header__actions {
    flex-direction: column;
  }
  .header__burger {
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  .header__burger span {
    width: 30px;
    height: 3px;
    background-color: #A600A6;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
  }
  .header.is-open .header__burger span:nth-of-type(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .header.is-open .header__burger span:nth-of-type(2) {
    opacity: 0;
  }
  .header.is-open .header__burger span:nth-of-type(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .hero {
    height: 50vh;
    min-height: 350px;
  }
  .hero__title {
    font-size: 48px;
  }
  .section-title {
    font-size: 28px;
  }
  .services__grid {
    grid-template-columns: 1fr;
  }
  .modal__content {
    max-width: 100%;
    max-height: 95vh;
  }
  .modal__title {
    font-size: 20px;
  }
  .faq__question {
    font-size: 16px;
    padding: 15px;
  }
  .faq__answer p {
    padding: 0 15px 15px 15px;
  }
  .reviews__slide {
    padding: 30px 20px;
  }
  .reviews__nav-btn {
    width: 35px;
    height: 35px;
  }
  .reviews__nav-btn--prev {
    left: 10px;
  }
  .reviews__nav-btn--next {
    right: 10px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__column {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer__socials {
    justify-content: center;
  }
  .footer__contacts-link {
    margin-bottom: 5px;
  }
  .cookie-consent {
    flex-direction: column;
    text-align: center;
  }
  .cookie-consent__text {
    margin-bottom: 1rem;
  }
  .cookie-consent__button {
    margin-left: 0;
  }
}
body.modal-open {
  overflow: hidden;
}
.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}
.btn--call {
  background-color: #E40045;
  color: #ffffff;
}
.btn--call:hover {
  background-color: #b10036;
}
.btn--service {
  background-color: #CCF600;
  color: #A600A6;
  font-weight: 700;
  text-decoration: none;
}
.btn--service:hover {
  background-color: #a2c300;
}
.main-content {
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 15px;
  line-height: 1.6;
}
.main-content h1 {
  color: #A600A6;
}
.form {
  width: 100%;
}
.form-group {
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
  font-size: 16px;
  width: 100%;
}
.form-group--hidden {
  display: none;
}
.form-group label {
  width: 30%;
}
.form-group input {
  width: 70%;
}
.form span {
  font-size: 10px;
}
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #343a40;
  color: #f8f9fa;
  padding: 1rem;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 1055;
  /* Above modals and other elements */
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}
.cookie-consent.show {
  display: flex;
}
.cookie-consent__text {
  margin: 0;
  font-size: 0.9rem;
}
.cookie-consent__text a {
  color: #0d6efd;
  text-decoration: underline;
}
.cookie-consent__button {
  margin-left: 1.5rem;
  flex-shrink: 0;
}
.modal__body{
    display:flex;
    flex-direction:column;
    width: 100%;
}
.modal__body form{
    display: none !important
}