*{
  text-decoration: none;
}

.main {
  display: flex;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: var(--section-max-width);
  margin: var(--section-gap) auto auto auto;
  padding: 0px var(--section-padding);
}

/* Side profile */

.main__side-profile {
  display: block;
  width: 30vw;
  max-width: 440px;
  min-width: 350px;
}

.side-profile__wrapper-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 64px;
  background-color: var(--gray300);
}

.side-profile__wrapper-photo__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.4rem, 5vw, 1.6rem);
  font-weight: 400;
  color: #fff;
  box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.25);
  background-color: #000;
  border-radius: 50%;
  overflow: hidden;
}

.side-profile__wrapper-photo__photo img {
  width: 100%;
  object-fit: cover;
}

/* Side profile - Características */

.side-profile__characteristcs {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 24px;
  background: var(--gray100);
}

.side-profile__characteristcs h2 {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.6rem, 5vw, 1.8rem);
  font-weight: 700;
  color: #000;
}

.characteristcs__wrapper-table {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 6px 0 0 0;
  overflow: hidden;
  align-items: flex-start;
}

.characteristcs__wrapper-table table td {
  padding: 6px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.2rem, 5vw, 1.4rem);
  font-weight: 400;
  color: #000;
}

.characteristcs__wrapper-table table .table__header th {
  display: none;
  max-width: 60px;
}

.table__cell {
  position: relative;
  background-color: var(--gray100);
}

.table__cell::after {
  content: '';
  position: absolute;
  left: 0;
  display: block;
  width: 100vw;
  height: 2px;
  background-color: #fff;
}

.table__cell.table--single-table::after {
  content: '';
  position: absolute;
  left: 0;
  display: block;
  width: 100vw;
  height: 2px;
  background-color: #fff;
}

.characteristcs__wrapper-table table .table__title {
  text-align: left;
  font-weight: 700;
}

.characteristcs__wrapper-table table .table__value {
  display: block;
  margin-left: 10px;
}

/* Side profile - Serviços */

.side-profile__services {
  display: flex;
  flex-direction: column;
  padding: 24px 24px;
  background: #fff;
}

.side-profile__services h2 {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.6rem, 5vw, 1.8rem);
  font-weight: 700;
  color: #000;
}

.services__list-services li {
  padding: 10px 12px 10px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.2rem, 5vw, 1.4rem);
  font-weight: 400;
  color: #000;
}

.services__list-services li+li {
  border-top: 1px solid var(--gray300)
}

/* Main Profile */

.main-profile__main-info {
  position: relative;
  display: flex;
  margin: 24px 0;
  gap: 24px;
  flex-wrap: wrap;
}

.main-profile__main-info::before {
  content: '';
  display: block;
  position: absolute;
  top: -48px;
  width: 60vw;
  max-width: 670px;
  height: 2px;
  background-color: var(--red500);
}

.main-info__wrapper-titles h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #000;
}

.main-info-title{
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-info-title .verified{
  height: 30px;
}

.main-info__wrapper-titles h2 {
  display: flex;
  align-items: center;
  margin: 6px 0 0 0;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.4rem, 5vw, 1.6rem);
  font-weight: 400;
  color: #000;
}

.main-info__wrapper-titles h2 span {
  display: block;
  width: 18px;
}

.main-info__list-stats {
  display: flex;
  gap: 24px;
  /* margin: 0 auto; */
}

.main-info__list-stats p {
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.2rem, 5vw, 1.3rem);
  font-weight: 400;
  color: #000;
}

.list-stats__paragraph-icon {
  display: flex;
  align-items: center;
  gap: 6px;
}

.list-stats__paragraph-icon span{
  display: inline-block;
  width: 20px;
}

.navigation__list-items {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  /* justify-content: center; */
}

.navigation__list-items li {
  position: relative;
}

.navigation__list-items li p {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.2rem, 5vw, 1.8rem);
  font-weight: 700;
  color: #000;
}

.list-items__paragraph-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.list-items__paragraph-icon span{
  display: inline-block;
  width: 24px;
}

.link-navigation {
  padding: 8px 0;
  text-align: center;
  font-weight: 400;
  font-size: clamp(1.4rem, 5vw, 1.6rem);
  text-decoration: underline;
  cursor: pointer;
  background-color: #fff;
}

.list-items__list-price {
  position: absolute;
  display: none;
  background-color: var(--gray300);
}

.list--active-list-price {
  display: block;
}

.list-items__list-price li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 12px;
  border-bottom: 1px solid #fff;
}

.list-items__list-price li p {
  text-wrap: nowrap;
  font-size: clamp(1.2rem, 5vw, 1.4rem);
  font-weight: 400;
  color: #000;
}

.main-profile__description {
  margin: 24px auto;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.4rem, 5vw, 1.6rem);
  font-weight: 400;
  color: #000;
}

.main-profile__wrapper-contacts {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}

.link-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 6px;
  width: 100%;
}

.link-contact.btn--btn-green {
  color: #000;
}

.link-contact.btn--btn-green span {
  display: block;
  width: 20px;
  height: 20px;
}

.link-contact.btn--btn-green span svg {
  width: 100%;
  height: 100%;
}

/* Gallery */

.main-profile__gallery {
  margin: 36px auto;
}

.gallery__list {
  display: grid;
  grid-template-columns: 33.33% 33.33% 33.33%;
  gap: 6px;
}

.list__gallery-item {
  flex: 1 1 240px;
  height: 345px;
  cursor: pointer;
  overflow: hidden;
}

.list__gallery-item:nth-child(odd) {
  background-color: var(--gray300);
}

.list__gallery-item:nth-child(even) {
  background-color: var(--gray500);
}

.list__gallery-item.item--hidden {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 1;
}

.list__gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
  opacity: 1;
}

.list__gallery-item.blurred img, .list__gallery-item.blurred video{
  filter: blur(10px);
}

.list__gallery-item.item--video {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.list__gallery-item.item--video video {
  min-height: 100%;
  opacity: 1;
  width: 100%;
  object-fit: cover;
}

.wrapper-video-icon {
  position: absolute;
  display: block;
  width: 50px;
}

.wrapper-video-icon img {
  opacity: 1;
}

/* Reviews */

.main-profile__separator {
  display: block;
  width: 100%;
  height: 1px;
  margin: var(--section-gap) 0;
  background: var(--gray300);
}

.reviews__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.4rem, 5vw, 1.6rem);
  font-weight: 700;
  color: #000;
}

.reviews__title span {
  display: block;
  width: 36px;
}

.list__review-item {
  margin: 36px 0 0 0;
  padding: 24px 24px;
  border: 1px solid var(--gray300)
}

.review-item__wrapper-content {
  display: flex;
  gap: 16px;
}

.wrapper-content__profile-photo {
  display: flex;
  justify-content: center;
  width: 60px;
  min-width: 60px;
  height: 60px;
  background-color: var(--gray300);
  border-radius: 50%;
  overflow: hidden;
}

.wrapper-content__profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.wrapper-content__text-content__review-owner,
.wrapper-content__text-content__review-date,
.wrapper-content__text-content__review-comment p {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.4rem, 5vw, 1.6rem);
  font-weight: 700;
  color: #000;
}

.wrapper-content__text-content__review-date,
.wrapper-content__text-content__review-comment p {
  font-size: clamp(1.4rem, 5vw, 1.4em);
  font-weight: 400;
}

.wrapper-content__text-content__review-comment {
  display: grid; 
  grid-template-rows: 30px;
  transition: grid-template-rows .3s;
}

.comment--active-collapsable-comment {
  grid-template-rows: 1fr !important;
}

.wrapper-content__text-content__review-comment > p {
  margin: 12px 0 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.button-review {
  margin: 16px auto auto auto;
  color: #000;
  font-size: clamp(1.4rem, 5vw, 1.6rem);
}

@media(max-width: 1100px) {
  .main {
    flex-direction: column;
  }

  .main__side-profile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 100%;
    min-width: inherit;
  }

  .side-profile__wrapper-photo__photo {
    width: 25vw;
    height: 25vw;
  }
}

@media(max-width: 768px) {
  :root {
    --section-padding: 16px;
  }

  .side-profile__wrapper-photo {
    padding: 10px 0px;
  }
}

@media(max-width: 600px) {
  :root {
    --section-padding: 16px;
    --section-gap: 42px;
  }

  /* Side profile */

  .side-profile__wrapper-photo {
    padding: 10px 0px;
  }

  .side-profile__wrapper-photo__photo {
    min-width: 120px;
    min-height: 120px;
  }

  .main__side-profile {
    grid-template-columns: 1fr;
  }

  .side-profile__characteristcs,
  .side-profile__services {
    padding: 24px 16px;
  }

  .characteristcs__wrapper-table {
    flex-wrap: wrap;
  }

  /* Main Profile */

  .list-items__paragraph-icon span {
  	display: inline-block;
	  width: 18px;
  }

  .main-profile__wrapper-contacts {
    flex-direction: column;
    gap: 16px;
  }

  .gallery__list {
    gap: 3px;
  }

  .list__gallery-item {
    flex: 1 1 150px;
    height: 230px;
    max-width: 310px;
    cursor: pointer;
  }
}

@media(max-width: 360px) {
  .review-item__wrapper-content {
    flex-direction: column;
  }
  
  .wrapper-content__profile-photo {
    width: 40px;
    min-width: 40px;
    height: 40px;
  }
}

@media screen and (max-width: 450px) {
  
  .gallery__list{
    grid-template-columns: 50% 50%;
  }
}

@media screen and (max-width: 300px) {
  
  .gallery__list{
    grid-template-columns: 100%;
  }
}

.gallery-list-slide{
  width: 100vw;
  height: 100vh;
  background-color: #0000008c;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0 30vw;
  opacity: 0;
  pointer-events: none;
  display: none;
  transition: opacity 1s ease-in-out;
}

.gallery-list-slide.active{
  display: block;
  opacity: 1;
  pointer-events: all;
}

.gallery-list-modal{
  height: 100%;
  width: 100%;
  background-color: #000;
  display: flex;
  justify-content: center;
  padding: 0 5vw;
  position: relative;
}

.gallery-list-modal .splide__slide{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-list-modal .gallery-list-close-button{
  position: absolute;
  top: 2vw;
  right: 2vw;
}

.gallery-list-modal .gallery-list-close-button img{
  width: 1vw;
  cursor: pointer;
}

.splide__track{
  height: 100%;
}

.splide__arrow--prev{
  left: -3vw;
}

.splide__arrow--next{
  right: -3vw;
}

.splide__arrow{
  background: none;
  opacity: 1;
}

.splide__arrow svg{
  fill: #fff;
}

.splide__pagination{
  display: none;
}

.splide{
  width: 100%;
}

.splide__slide video, .splide__slide image{
  max-width: 100%;
  max-height: 100%;
}

.splide__slide{
  overflow: hidden;
}

.splide__slide.blurred img, .splide__slide.blurred video{
  filter: blur(10px);
  pointer-events: none;
}

@media screen and (max-width: 1000px) {
  
  .gallery-list-slide{
    padding: 0 20vw;
  }
}

@media screen and (max-width: 768px) {
  
  .gallery-list-slide{
    padding: 0 10vw;
  }

  .gallery-list-modal .gallery-list-close-button img{
    width: 15px;
    cursor: pointer;
  }

  .splide__slide img, .splide__slide video{
    max-width: 90%;
  }
}

@media screen and (max-width: 570px) {
  
  .gallery-list-slide{
    padding: 0;
  }

  .gallery-list-modal{
    padding: 0 10vw;
  }

  .gallery-list-modal .gallery-list-close-button{
    top: 4vw;
    left: 7vw;
  }
}

@media screen and (max-width: 350px) {
  
  .gallery-list-modal{
    padding: 0 15vw;
  }

  .splide__arrow--next{
    right: -7vw;
  }

  .splide__arrow--prev{
    left: -7vw;
  }
}

.btn--btn-black{
  background-color: #000;
}

.reviews-options{
  display: flex;
  padding: 30px;
  gap: 10%;
  justify-content: center;
}

.reviews-options .btn{
  width: 50%;
}

.review-modal{
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: #000000cc;
  padding: 5vh 20vw;
  display: flex;
  justify-content: center;
}

.review-modal-content{
  background-color: #fff;
  height: 100%;
  width: 100%;
  border-radius: 1vw;
  padding: 3vw 5vw;
  font-family: 'DM Sans', sans-serif;
  position: relative;
}

.review-modal-content h2{
  font-size: clamp(2rem, 5vw, 2.4rem);
  font-weight: 700;
  text-align: center;
}

.review-modal-content h3{
  font-size: clamp(1.4rem, 5vw, 1.6rem);
  font-weight: 600;
  text-align: center;
  margin-top: 15px;
}

.review-modal-content form{
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
  align-items: center;
}

.review-modal-content label{
  font-size: clamp(1.4rem, 5vw, 1.6rem);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: 'DM Sans', sans-serif;
  width: 100%;
}

.review-modal-content input, .review-modal-content textarea{
  border: 1px solid var(--red500);
  border-radius: 5px;
  padding: 10px;
  width: 100%;
  font-size: clamp(1.4rem, 5vw, 1.6rem);
  font-weight: 400;
  font-family: 'DM Sans', sans-serif;
}

.review-modal-content textarea{
  resize: none;
}

.review-modal .close-button{
  position: absolute;
  top: 2vw;
  right: 2vw;
  width: 15px;
  cursor: pointer;
}

.review-modal-content .error-message{
  color: red;
  font-size: 12px;
  font-weight: 600;
}

.review-send-message{
  margin: auto;
  background-color: #fff;
  padding: 5vw;
  position: relative;
}

.review-send-message h2{
  font-size: clamp(2rem, 5vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
}

.no-review-message{
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  margin: 30px 0;
}

.list__review-item.hidden{
  display: none !important;
}

@media screen and (max-width:768px){
  
  .review-modal{
    padding: 0;
  }

  .review-modal-content{
    padding: 10vw;
    margin: auto 0;
    height: fit-content;
  }

  .review-modal .close-button{
    top: 4vw;
    right: 4vw;
  }
}