/* === Header === */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 25px;
  overflow-x: hidden;
  transition: all 0.6s ease;
}

.header-active {
  padding: 8px 25px;
  background-color: #1f1f1f4e;
  backdrop-filter: blur(60px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-active .secondary-btn {
  padding: 10px 48px;
}

.header-nav {
  display: flex;
  gap: 430px;
  align-items: center;
}

.header-nav-list {
  display: flex;
  gap: 30px;
}

.header-nav-list a {
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.header-nav-list a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.burger-btn {
  display: none;
}

.mobile-menu {
  display: none;
}

a.header-link-active {
  color: var(--primary-color);
}

@media screen and (max-width: 1240px) {
  .header {
    padding: 10px 25px;
  }

  .header .secondary-btn,
  .header-nav {
    display: none;
  }

  .burger-btn {
    display: block;
    border: none;
    background-color: transparent;
    cursor: pointer;
    padding: 3px;
  }

  .burger-btn svg {
    width: 45px;
    height: 45px;
    color: var(--text-secondary);
  }

  .burger-btn:active svg {
    color: var(--primary-hover);
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--secondary-background);
    backdrop-filter: blur(10px);
    padding: 15px 30px 60px;
    z-index: 1000;
    transition: all 0.3s ease;
  }

  .mobile-menu-active {
    right: 0;
  }

  .mobile-menu .primary-btn {
    display: block;
  }

  .close-btn {
    display: block;
    border: none;
    background-color: transparent;
    cursor: pointer;
    padding: 3px;
    margin-left: auto;
  }

  .close-btn svg {
    width: 35px;
    height: 35px;
    stroke: var(--text-secondary);
  }

  .close-btn:active svg {
    stroke: var(--primary-hover);
  }

  .mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mobile-nav-list a {
    color: var(--text-secondary);
  }
}

/* === Hero === */

.hero {
  padding-top: 150px;
  background-color: var(--secondary-color);
}

.hero .container-flex {
  align-items: start;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  width: calc((100% - 45px) / 2);
  padding-top: 80px;
}

.hero-title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 83px;
  line-height: 110%;
  letter-spacing: 0em;
  color: var(--text-secondary);
  margin-bottom: 26px;
}

.hero .descr {
  color: var(--text-secondary);
  margin-bottom: 35px;
}

.wrapper {
  width: calc((100% - 45px) / 2);
  position: relative;
  padding: 30px 30px 0;
}

.wrapper-wrap {
  position: absolute;
  top: -30px;
  left: 0px;
  right: 0px;
  height: 30px;
  background-color: var(--secondary-hover);
}

.wrapper::after {
  content: "";
  position: absolute;
  left: -30px;
  top: 0;
  bottom: 0;
  background-color: var(--secondary-hover);
  width: 30px;
}

.wrapper::before {
  content: "";
  position: absolute;
  right: -30px;
  top: 0;
  bottom: 0;
  background-color: var(--secondary-hover);
  width: 30px;
}

.wrapper-img {
  height: 700px;
  object-fit: cover;
  width: 100%;
}

@media screen and (max-width: 1024px) {
  .hero-title {
    font-size: 80px;
  }
}

@media screen and (max-width: 768px) {
  .wrapper,
  .hero-content {
    width: 100%;
  }

  .hero-content {
    padding: 0;
  }

  .wrapper {
    padding: 15px 15px 0;
  }

  .wrapper-img {
    height: 500px;
  }

  .hero-title {
    font-size: 60px;
  }
}

/* === About Us | Why Choose === */

.about-us {
  padding: 150px 0 100px;
}

.why-choose {
  padding: 100px 0;
}

.why-choose-img,
.about-us-img {
  width: calc((100% - 45px) / 2);
  height: 500px;
  object-fit: cover;
}

.why-choose-content,
.about-us-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  width: calc((100% - 45px) / 2);
}

.why-choose-content .section-name,
.about-us-content .section-name {
  margin-bottom: 12px;
}

.why-choose-content .title,
.about-us-content .title {
  margin-bottom: 15px;
}

.why-choose-content .descr:not(:last-child),
.about-us-content .descr:not(:last-child) {
  margin-bottom: 25px;
}

.about-us-list {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.about-us-item {
  width: calc((100% - 50px) / 2);
}

.about-us-item .subtitle {
  margin-bottom: 15px;
}

@media screen and (max-width: 768px) {
  .why-choose .container-flex,
  .about-us .container-flex {
    flex-direction: column-reverse;
  }

  .why-choose-content,
  .why-choose-img,
  .about-us-content,
  .about-us-img {
    width: 100%;
  }
}

/* === Plans === */

.plans {
  padding: 150px 0 100px;
}

.plans-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 60px;
}

.plans-content .section-name {
  margin-bottom: 12px;
}

.plans-content .title {
  margin-bottom: 15px;
}

.plans-content .descr {
  max-width: 800px;
}

.plans-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.plans-item {
  display: flex;
  flex-direction: column;
  width: calc((100% - 60px) / 3);
  height: auto;
}

.plans-item-img {
  height: 385px;
  width: 100%;
  object-fit: cover;
}

.plans-item-content {
  flex: 1;
  border: 1px solid var(--text-primary);
  border-top: 0;
  padding: 50px 45px 30px;
}

.plans-item-content-price {
  font-weight: 400;
  font-size: 15px;
  line-height: 100%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-inverted);
  border-top: var(--primary-color) 1px solid;
  border-bottom: var(--primary-color) 1px solid;
  padding: 7px 0 3px;
  text-align: center;
  margin-bottom: 25px;
}

.plans-item-content .subtitle {
  margin-bottom: 24px;
}

@media screen and (max-width: 768px) {
  .plans-item {
    width: calc((100% - 30px) / 2);
  }
}

@media screen and (max-width: 500px) {
  .plans-item {
    width: 100%;
  }
}

/* === Our Services === */

.our-services {
  padding: 100px 0;
}

.our-services-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 60px;
}

.our-services-content .section-name {
  margin-bottom: 12px;
}

.our-services-content .title {
  margin-bottom: 13px;
}

.our-services-content .descr {
  max-width: 800px;
}

.our-services-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.our-services-item {
  display: flex;
  align-items: center;
  gap: 20px;
  width: calc((100% - 60px) / 3);
}

.our-services-item-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  width: 83px;
  height: 83px;
  background-color: var(--secondary-color);
}

.our-services-item-wrap img {
  width: 50px;
  object-fit: contain;
}

.our-services-item-content {
  width: calc(100% - 103px);
}

@media screen and (max-width: 768px) {
  .our-services-item {
    width: calc((100% - 30px) / 2);
  }
}

@media screen and (max-width: 500px) {
  .our-services-item {
    width: 100%;
  }
}

/* === Testimonial === */

.testimonial {
  padding: 100px 0;
  background-color: var(--secondary-color);
}

.testimonial .container {
  padding-right: 0;
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-bottom: 60px;
}

.testimonial-content .section-name {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.testimonial-content .title {
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.testimonial-content .descr {
  color: var(--text-secondary);
  max-width: 800px;
}

.swiperTestimonial {
  padding-bottom: 70px;
}

.testimonial-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  height: auto;
  background-color: var(--secondary-hover);
  padding: 30px 40px;
}

.testimonial-item-wrap {
  position: relative;
  width: 113px;
  height: 113px;
}

.testimonial-item-wrap::after {
  content: "❞";
  font-size: 20px;
  position: absolute;
  top: 9px;
  left: 8px;
  color: var(--secondary-hover);
}

.testimonial-item-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border: 2px solid var(--secondary-hover);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.testimonial-item-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.testimonial-item-content {
  width: calc(100% - 143px);
}

.testimonial-item-content .descr,
.testimonial-item-content .subtitle {
  color: var(--text-secondary);
}

.testimonial-item-line {
  width: 100%;
  height: 1px;
  background-color: var(--text-primary);
}

.testimonial-item .descr:nth-child(4) {
  color: var(--text-secondary);
  opacity: 0.7;
}

.swiperTestimonial div.swiper-pagination {
  bottom: 0;
}

.swiper-pagination-bullet {
  background-color: var(--secondary-hover);
  opacity: 1;
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: var(--text-secondary);
}

@media screen and (max-width: 768px) {
  .testimonial .container {
    padding-right: 15px;
  }
}

@media screen and (max-width: 500px) {
  .testimonial-item {
    flex-direction: column;
  }

  .testimonial-item-content {
    width: 100%;
  }
}

/* === Our Blog === */

.our-blog {
  padding: 100px 0;
}

.our-blog-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  margin-bottom: 60px;
}

.our-blog-content .section-name {
  margin-bottom: 12px;
}

.our-blog-content .title {
  margin-bottom: 8px;
  max-width: 1000px;
}

.our-blog-content .descr {
  max-width: 800px;
}

.our-blog-item {
  display: flex;
  flex-direction: column;
  height: auto;
}

.our-blog-item-wrap {
  position: relative;
}

.our-blog-item-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.509);
  z-index: 1;
}

.our-blog-item-wrap .primary-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.our-blog-item-wrap img {
  height: 385px;
  width: 100%;
  object-fit: cover;
}

.our-blog-item-content {
  border: 1px solid var(--text-primary);
  border-top: 0;
  padding: 50px 45px 30px;
  flex: 1;
}

.our-blog-item-info {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 25px;
}

.our-blog-info-author,
.our-blog-info-date {
  font-weight: 400;
  font-size: 15px;
  line-height: 100%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-inverted);
  border-top: var(--primary-color) 1px solid;
  border-bottom: var(--primary-color) 1px solid;
  padding: 7px 0 3px;
  text-align: center;
}

.our-blog-item .subtitle {
  margin-bottom: 24px;
}

.swiperBlog {
  padding-bottom: 60px;
}

.swiperBlog div.swiper-pagination {
  bottom: 0;
}

.swiperBlog .swiper-pagination-bullet {
  background-color: var(--secondary-hover);
  opacity: 0.6;
}

.swiperBlog .swiper-pagination-bullet-active {
  background-color: var(--secondary-hover);
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .our-blog-info-author,
  .our-blog-info-date {
    font-size: 12px;
  }
}

/* === Contact === */

.contact {
  padding: 100px 0 180px;
  position: relative;
}

.contact .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 70px;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  width: calc((100% - 70px) / 2);
}

.contact-content .section-name {
  margin-bottom: 14px;
}

.contact-content .title {
  margin-bottom: 30px;
  text-align: start;
  max-width: 700px;
}

.contact-content .descr {
  margin-bottom: 24px;
  max-width: 670px;
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border: 0.5px solid #e1e1e1;
  background-color: transparent;
  box-shadow: 0 10px 52px 0 rgba(0, 0, 0, 0.08);
  border-radius: var(--border-radius-secondary);
  gap: 40px;
  width: 100%;
}

.contact-list-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  gap: 13px;
  width: calc((100% - 80px) / 3);
  font-family: var(--font-family);
  font-size: 18px;
  position: relative;
}

.contact-list-item:not(:last-child):after {
  content: "";
  position: absolute;
  top: 15px;
  right: -20px;
  bottom: 15px;
  width: 1px;
  background-color: #e1e1e1;
}

.contact-list-item svg {
  width: 70px;
  height: 70px;
  fill: var(--primary-color);
}

.contact-list-item:nth-child(2) svg {
  fill: transparent;
  stroke: var(--primary-color);
}

.contact-list-item .subtitle {
  text-align: center;
  font-weight: 500;
}

.contact-form {
  background-color: var(--background-color);
  box-shadow: 0 10px 52px 0 rgba(0, 0, 0, 0.08);
  padding: 60px 40px;
  width: calc((100% - 70px) / 2);
  border-radius: var(--border-radius-primary);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 24px;
}

.form-group:nth-child(4) {
  margin-bottom: 60px;
}

.form-group label {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 171%;
  color: #9b9b9b;
  margin-bottom: 10px;
}

.form-group textarea,
.form-group input {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  padding-bottom: 5px;
  color: var(--text-primary);
  border: none;
  background-color: transparent;
  outline: none;
  border: 1px solid var(--text-primary);
  border-radius: var(--border-radius-primary);
  padding: 15px;
  transition: 0.3s all ease;
}

.form-group textarea:hover,
.form-group input:hover {
  border: 1px solid var(--primary-hover);
}

.form-group textarea:focus,
.form-group input:focus {
  border: 1px solid var(--primary-color);
}

.contact-map {
  height: auto;
  border-radius: var(--border-radius-primary);
  border: none;
  width: calc((100% - 70px) / 2);
  min-height: 600px;
}

@media screen and (max-width: 768px) {
  .contact-form {
    padding: 25px;
  }

  .contact-content,
  .contact-form,
  .contact-map {
    width: 100%;
  }

  .contact-list-item {
    width: calc((100% - 40px) / 2);
  }

  .contact-list-item:nth-child(3) {
    width: 100%;
  }
}

/* === Footer === */

.footer {
  padding: 70px 0 20px;
  background: var(--secondary-background);
  color: var(--text-secondary);
  overflow: hidden;
}

.footer a {
  color: var(--text-secondary);
  opacity: 0.8;
}

.footer a:hover {
  text-decoration: underline;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0 100px;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact,
.footer-menu ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-rights {
  width: 100%;
  margin-top: 30px;
  text-align: center;
}

@media screen and (max-width: 1240px) {
  .footer {
    padding: 60px 0 20px;
  }

  .footer .container {
    padding: 0 15px;
    justify-content: space-between;
    gap: 40px;
  }
}

/* === Cookie Popup === */

.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--background-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 1000;
  display: none;
}

.cookie-popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-popup a {
  text-decoration: underline;
  transition: all 0.3s ease;
}

.cookie-popup a:hover {
  color: var(--primary-hover);
}

.cookie-popup h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.cookie-popup p {
  margin: 0 0 20px;
  font-size: 1rem;
}
