* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.mainpage {
  background-color: rgba(255, 255, 255, 1);
  display: flex;
  padding-top: 20px;
  padding-bottom: 20px;
  flex-direction: column;
  overflow: hidden;
  align-items: stretch;
  font-family:
    Unbounded,
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
}

.container {
  align-self: center;
  display: flex;
  width: 100%;
  max-width: 1200px;
  align-items: center;
  gap: 40px 100px;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Header styles */
.header {
  align-self: center;
  display: flex;
  width: 100%;
  max-width: 1200px;
  align-items: center;
  gap: 40px 100px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  color: rgba(255, 57, 101, 1);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  align-self: stretch;
  margin-top: auto;
  margin-bottom: auto;
}

.nav {
  align-self: stretch;
  display: flex;
  min-width: 240px;
  margin-top: auto;
  margin-bottom: auto;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: rgba(11, 11, 11, 1);
  font-weight: 400;
  justify-content: start;
  flex-wrap: wrap;
}

.nav-link {
  align-self: stretch;
  margin-top: auto;
  margin-bottom: auto;
  text-decoration: none;
  color: rgba(11, 11, 11, 1);
}

/* Banner image */
.banner-image {
  height: 360px;
  object-fit: cover;
  object-position: center;
  width: 100%;
  margin-top: 20px;
  overflow: hidden;
}

/* Main content */
.main-content {
  margin-top: 30px;
  width: 100%;
  padding-left: 80px;
  padding-right: 80px;
}

/* Hero section */
.hero-section {
  width: 100%;
  max-width: 1098px;
}

.hero-content {
  width: 100%;
  color: rgba(11, 11, 11, 1);
  font-weight: 400;
}

.hero-title {
  font-size: 50px;
  text-transform: uppercase;
  font-weight: 400;
}

.hero-description {
  font-size: 14px;
  margin-top: 30px;
}

.cta-button {
  display: flex;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  margin-top: 30px;
  width: 311px;
  max-width: 100%;
  font-size: 14px;
  color: rgba(255, 255, 255, 1);
  font-weight: 500;
  text-transform: uppercase;
  background-color: rgba(255, 57, 101, 1);
  padding: 26px 31px;
  font-family:
    Unbounded,
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
}

/* Advantages section */
.advantages-section {
  display: flex;
  margin-top: 80px;
  align-items: center;
  gap: 30px;
  justify-content: center;
  
}

.advantages-image {
  
  object-fit: cover;
  object-position: center;
  max-width: 377px;
  width: 100%;
  border-radius: 24px;
  min-width: 240px;
  margin-top: auto;
  margin-bottom: auto;
  overflow: hidden;
}

.advantages-content {

  min-width: 240px;
  margin-top: auto;
  margin-bottom: auto;
  max-width: 793px;
  width: 100%;
}

.section-title {
  color: rgba(11, 11, 11, 1);
  font-size: 40px;
  font-weight: 400;
  text-transform: uppercase;
}

.advantages-grid {
  margin-top: 30px;
  width: 100%;
  font-size: 14px;
}

.advantages-row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 20px;
  justify-content: start;
  flex-wrap: wrap;
}

.advantages-row + .advantages-row {
  margin-top: 20px;
}

.advantage-card {
  border-radius: 24px;
  background-color: rgba(11, 11, 11, 0.05);
  align-self: stretch;
  display: flex;
  min-width: 240px;
  margin-top: auto;
  margin-bottom: auto;
  padding: 20px;
  flex-direction: column;
  overflow: hidden;
  align-items: stretch;
  justify-content: center;
  flex-grow: 1;
  flex-shrink: 1;
  width: 309px;
  color: rgba(11, 11, 11, 1);
  font-weight: 400;
}

.accent-bar {
  border-radius: 10px;
  background-color: rgba(255, 57, 101, 1);
  display: flex;
  min-height: 8px;
  width: 60px;
}

.advantage-content {
  margin-top: 20px;
}

.advantage-title {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 16px;
}

.advantage-description {
  font-size: 14px;
}

/* History section */
.history-section {
  margin-top: 80px;
  width: 100%;
  max-width: 1098px;
}

.history-content {
  width: 100%;
  color: rgba(11, 11, 11, 1);
  font-weight: 400;
}

.history-description {
  font-size: 14px;
  margin-top: 30px;
}

/* Testimonials section */
.testimonials-section {
  display: flex;
  margin-top: 80px;
  flex-direction: column;
  align-items: stretch;
  justify-content: start;
}

.testimonials-content {
  min-height: 288px;
  width: 100%;
  color: rgba(11, 11, 11, 1);
  font-weight: 400;
}

.testimonials-title {
  text-align: center;
}

.testimonials-grid {
  display: flex;
  margin-top: 30px;
  width: 100%;
  align-items: start;
  gap: 20px;
  font-size: 14px;
  justify-content: space-between;
 
}

.testimonial-card {
  display: flex;
 width: 100%;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  flex: 0 1 47%;
  max-width: 228px;
}

.testimonial-image {
  
  object-fit: contain;
  object-position: center;
  width: 102px;
  margin-top: 20px;
  max-width: 100%;
  overflow: hidden;
}

.testimonial-text {
  align-self: stretch;
  margin-top: 20px;
}

.testimonial-name {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 14px;
}

.testimonials-banner {
 height: 360px;
  object-fit: cover;
  object-position: center;
  width: 100%;
  border-radius: 24px;
  margin-top: 30px;
  overflow: hidden;
}

/* FAQ section */
/* FAQ Section */
.faq-section {
  margin-top: 80px;
  color: #0b0b0b;
  font-weight: 400;
}

.faq-container {
  margin-top: 30px;
  width: 100%;
  font-size: 14px;
}

.faq-item {
  border-radius: 24px;
  background-color: rgba(11, 11, 11, 0.05);
  width: 100%;
  padding: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.faq-item:hover {
  background-color: rgba(11, 11, 11, 0.08);
}

.faq-item.active {
  background-color: rgba(11, 11, 11, 0.08);
  padding-bottom: 30px;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.faq-question-content {
  min-width: 240px;
  width: calc(100% - 50px);
}

.faq-title {
  font-size: 24px;
  margin-top: 20px;
  font-weight: 400;
}

.faq-answer {
  margin-top: 20px;
  transition: all 0.3s ease;
}

.faq-toggle {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: rgba(11, 11, 11, 0.7);
}

.faq-toggle-img {
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  width: 20px;
  flex-shrink: 0;
  overflow: hidden;
}

/* Contact section */
.contact-section {
  display: flex;
  margin-top: 80px;
  align-items: center;
  gap: 30px;
  justify-content: center;
 
}

.contact-image {

  object-fit: contain;
  object-position: center;
  max-width: 377px;
  border-radius: 24px;
 width: 100%;
  min-width: 240px;
  margin-top: auto;
  margin-bottom: auto;
  overflow: hidden;
}

.contact-content {

  min-width: 240px;
  margin-top: auto;
  margin-bottom: auto;
  max-width: 793px;
  width: 100%;
}

.contact-info {
  width: 100%;
  color: rgba(11, 11, 11, 1);
  font-weight: 400;
}

.contact-description {
  font-size: 14px;
  margin-top: 30px;
}

.contact-form {
  margin-top: 30px;
  width: 100%;
  font-size: 14px;
}

.form-fields {
  width: 100%;
  color: #0d0d0d;
  font-weight: 400;
}

.form-field {
  border-radius: 50px;
  width: 100%;
}

.form-field + .form-field {
  margin-top: 12px;
}

.form-input {
  width: 100%;
  border: none;
  border-radius: 50px;
  background-color: rgba(11, 11, 11, 0.07);
  padding: 21px 20px;
  font-family:
    Unbounded,
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 14px;
}

textarea.form-input {
  min-height: 100px;
  resize: vertical;
}

.submit-button {
  border: none;
  cursor: pointer;
  border-radius: 50px;
  margin-top: 20px;
  width: 204px;
  max-width: 100%;
  color: rgba(255, 255, 255, 1);
  font-weight: 500;
  text-transform: uppercase;
  background-color: rgba(255, 57, 101, 1);
  padding: 26px 20px;
  font-family:
    Unbounded,
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 14px;
}

/* Footer */
.footer {
  display: flex;
  margin: 80px auto 0;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  font-size: 14px;
  color: rgba(11, 11, 11, 1);
  font-weight: 400;
  justify-content: start;
  max-width: 1230px;
  padding: 0 15px;
}

.footer-nav {
  align-self: start;
  display: flex;
  margin-top: 20px;
  align-items: center;
  gap: 20px;
  justify-content: start;
}

.copyright {
  margin-top: 20px;
}

/* Media queries */
@media (max-width: 991px) {
  .header {
    max-width: 100%;
  }

  .banner-image {
    max-width: 100%;
  }

  .main-content {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-section {
    max-width: 100%;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    max-width: 100%;
    font-size: 36px;
  }

  .hero-description {
    max-width: 100%;
  }

  .cta-button {
    padding-left: 20px;
    padding-right: 20px;
  }

  .advantages-section {
    max-width: 100%;
    margin-top: 40px;
    flex-direction: column;
    align-items: center;
  }

  .advantages-image {
    aspect-ratio: 1;
  }

  .advantages-content {
    max-width: 100%;
  }

  .section-title {
    max-width: 100%;
    font-size: 30px;
  }

  .advantages-grid {
    max-width: 100%;
  }

  .advantages-row {
    max-width: 100%;
  }

  .history-section {
    max-width: 100%;
    margin-top: 40px;
  }

  .history-content {
    max-width: 100%;
  }

  .history-description {
    max-width: 100%;
  }

  .testimonials-section {
    max-width: 100%;
    margin-top: 40px;
  }

  .testimonials-content {
    max-width: 100%;
  }

  .testimonials-title {
    max-width: 100%;
  }

  .testimonials-grid {
    max-width: 100%;
    flex-wrap: wrap;
  }

  .testimonial-card {
    max-width: 100%;
  }

  .testimonials-banner {
    max-width: 100%;
  }

  .faq-section {
    max-width: 100%;
    margin-top: 40px;
  }

  .faq-container {
    max-width: 100%;
  }

  .faq-item {
    max-width: 100%;
  }

  .faq-question-content {
    max-width: 100%;
  }

  .faq-title {
    max-width: 100%;
  }

  .contact-section {
    max-width: 100%;
    margin-top: 40px;
    flex-direction: column;
    align-items: center;
  }
  .contact-image {
    aspect-ratio: 1;
    object-fit: cover;
  }

  .contact-content {
    
  }

  .contact-info {
    max-width: 100%;
  }

  .contact-description {
    max-width: 100%;
  }

  .form-fields {
    max-width: 100%;
  }

  .form-field {
    max-width: 100%;
    white-space: initial;
  }

  .form-input {
    max-width: 100%;
    white-space: initial;
  }

  .submit-button {
    white-space: initial;
  }

  .footer {
    max-width: 100%;
    margin-top: 40px;
  }
}

@media (max-width: 601px)  {
 .testimonial-card {
  flex: 0 1 100%;
 }
}


/* BURGER */
    
.burger {
    display: none;
}

    @media (max-width: 900px) {
            .burger {
                width: 30px;
                height: 17px;
                position: relative;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                background: none;
                border: none;
                cursor: pointer;
                z-index: 10;
              }
              
              .burger span {
                display: block;
                height: 3px;
                width: 100%;
                background-color: #fff;
                border-radius: 2px;
                transition: 0.3s;
              }
              
              /* Анімація в активному стані */
              .burger.active span:nth-child(1) {
                transform: rotate(45deg) translate(5px, 5px);
              }
              
              .burger.active span:nth-child(2) {
                opacity: 0;
              }
              
              .burger.active span:nth-child(3) {
                transform: rotate(-45deg) translate(5px, -5px);
              }
            }

            .nav-list {
              display: flex;
              gap: 24px;
            }

            @media (max-width: 900px) {
                .main-header {
                    padding: 12px 20px;
                }
                .main-nav {
                  display: none;
                }
                .main-nav.active {
                    display: block;
                    width: 80%;
                    position: absolute;
                    height: 500px;
                    background-color: rgba(0, 0, 0, 1);
                    top: 46px;
                    right: 0;
                    padding: 20px;
                    z-index: 10;
                  }
                  .nav-list {

                    flex-direction: column;
                    align-items: flex-end;
                    width: 100%;
                   
                  }
              }         

              .container {
                width: 100%;
                max-width: 1230px;
                padding: 0 15px;
                margin: 0 auto;
              }  
              
              .page {
                padding: 80px 0;
                
              }
              
              .page__inner {
                padding-top: 40px;
                width: 100%;
                margin: 0 auto;
                display: flex;
                  flex-direction: column;
                  row-gap: 18px;
                  line-height: 1.4;
                  
              }

              .page__inner p {
                padding-bottom: 10px;
                padding-top: 8px;
              }

              .page__inner strong {
                font-weight: 600;
              }

              .page__inner ul {
                padding-left: 20px;
                list-style-type: disc;
              }

              .thank {
                padding-top: 140px;
                padding-bottom: 140px;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 40px;
                text-align: center;
              }

              .thank-list {
                width: 100%;
                max-width: 1200px;
                margin: 0 auto 40px;
                display: flex;
                flex-direction: column;
                padding: 40px 24px;
                color: #121212;
                background: #E1E0DA;
              }

              .consent {
                border-radius: 10px;
                  background: #F5F5F5;
                    padding: 30px;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    gap: 15px;
                    max-width: 830px;
                    width: 95%;
                    position: fixed;
                    left: 10%;
                    bottom: 50px;
                    transform: translateX(-10%);
                    z-index: 21;
                   
                }

               
                
                .consent__text {
                  font-size: 14px;
                  color: #131313;
                  span {
                    display: block;
                    font-size: 24px;
                    text-transform: uppercase;
                   
                   
                  }
                 
                }
                
                .consent__buttons {
                  display: flex;
                 
                  gap: 30px;
                  align-items: center;
                  width: 100%;
                 
                }       
                
                @media (max-width: 900px) {
                  .consent {
                    left: 50%;
                    transform: translateX(-50%);
                  }
                  .consent__buttons {
                    justify-content: center;
                    flex-direction: column;
                  }
                }

                .button {
                  position: relative;
                  align-self: center;
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  text-decoration: none;
                  border: none;
                  border-radius: 30px;
                  background: #FF3965;
                
                  min-height: 48px;
                  padding: 0 24px;
                  font-family:
                    Roboto,
                    -apple-system,
                    Roboto,
                    Helvetica,
                    sans-serif;
                  font-size: 16px;
                  font-weight: 500;
                  color: rgba(255, 255, 255, 1);
               
                  text-transform: uppercase;
                  cursor: pointer;
                  width: fit-content;
                }