:root {
  --radius: 0.4rem;
  --radiusBig: 24px;
  --colorBorder: #e6e7eb;
  --colorGray: #949494;
  --colorMain: #0EA867;
  --colorMainDark: #03725a;
  --colorMainBright: #f0f5f4;
  --paddingDialog: 2.5rem;
  --fontSize: 12px;
  --fontFamilyHeader: "Montserrat", sans-serif;
  --transitionTime: 0.3s;
}

main#main-agency-list {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: #f0f5f4;
}

.agency-list {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
}
#mobile .agency-list {
  grid-template-columns: repeat(1, 1fr);
}
.agency-list .agency-list-item {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  grid-template-columns: repeat(1, 1fr);
}
.agency-list .agency-list-item .data {
  column: 1/2;
  padding: 2rem;
}
.agency-list .agency-list-item .data .is-open {
  display: inline-flex;
  background: #fff;
  border-radius: 3rem;
  line-height: 1em;
  padding: 0.75rem;
  gap: 4px;
  align-items: center;
  position: absolute;
  top: 1rem;
  left: 1rem;
}
.agency-list .agency-list-item .data .is-open:before {
  content: "";
  display: block;
  border-radius: 1rem;
  width: 1rem;
  height: 1rem;
  background: #aaa;
  font-weight: 600;
}
.agency-list .agency-list-item .data .is-open.is-open-false {
  color: red;
}
.agency-list .agency-list-item .data .is-open.is-open-false:before {
  background: red;
}
.agency-list .agency-list-item .data .is-open.is-open-true {
  color: #afb42b;
}
.agency-list .agency-list-item .data .is-open.is-open-true:before {
  background: #afb42b;
}
.agency-list .agency-list-item .data .name {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
}
.agency-list .agency-list-item .data .name a:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.agency-list .agency-list-item .data .address {
  color: #9a9a9a;
  line-height: 1.3em;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  padding-top: 0.2rem;
  gap: 0.2em;
}
.agency-list .agency-list-item .data .address:before {
  content: "location_on";
  font-family: "Material Symbols Rounded";
  line-height: 1em;
}
.agency-list .agency-list-item .data .languages {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  align-items: center;
  line-height: 1em;
}
.agency-list .agency-list-item .data .languages img {
  position: relative;
  z-index: 5;
  width: 1.2rem;
  height: 1.2rem;
  object-fit: cover;
  border-radius: 1rem;
}
.agency-list .agency-list-item .data .stats {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-top: 1rem;
}
.agency-list .agency-list-item .data .stats span {
  text-transform: uppercase;
  font-size: 0.8rem;
  width: 100%;
  font-weight: 600;
  color: #9a9a9a;
}
.agency-list .agency-list-item .data .stats div:not(.languages) {
  font-size: 1.2rem;
  font-weight: 700;
}
.agency-list .agency-list-item .data .rating {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  align-items: center;
  line-height: 1rem;
  color: #9a9a9a;
  margin: 0.5rem 0;
}
.agency-list .agency-list-item .data .links {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  justify-content: flex-start;
}
.agency-list .agency-list-item .wallpaper {
  width: 100%;
  object-fit: cover;
}
.agency-list .agency-list-item .logo {
  height: 6rem;
  margin: -5rem 2rem -1.5rem 2rem;
  border-radius: 10rem;
  box-shadow: 0 0 0 3px #fff;
  background: #fff;
  aspect-ratio: 1/1;
}

#main-agency-profile h3 {
  font-size: 2.4rem;
  text-align: center;
  color: #222;
  margin-bottom: 2rem;
}
#main-agency-profile h3 strong {
  color: #03725a;
  font-weight: 400;
  font-size: 1.6rem;
  display: block;
}

#agency-header {
  background: #fff;
  position: relative;
  z-index: 5;
}

#agency-profile-top {
  display: grid;
  grid-template-columns: 14rem 1fr auto;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 5;
}
#mobile #agency-profile-top {
  display: flex;
  flex-direction: column;
}
#agency-profile-top #agency-wallpaper {
  max-width: 100%;
  border-radius: 24px;
  object-fit: cover;
  grid-column: 1/3;
}
#mobile #agency-profile-top #agency-wallpaper {
  border-radius: 0;
  margin: 0 -1.5rem;
  max-width: calc(100% + 4rem) !important;
}
#agency-profile-top #agency-logo {
  margin: -8rem 0 0 2rem;
  z-index: 2;
  position: relative;
  width: 12rem;
  aspect-ratio: 1/1;
  border: 0.25rem solid #fff;
  border-radius: 100rem;
  box-shadow: 0 0 1rem -0.5rem rgba(0, 0, 0, 0.5);
  grid-column: 1/2;
}
#mobile #agency-profile-top #agency-logo {
  margin: -4rem auto 0 auto;
}
#agency-profile-top #agency-header {
  grid-column: 2/3;
  display: grid;
  grid-template-columns: 1fr auto;
}
#agency-profile-top #agency-header .name {
  grid-row: 1/2;
}
#agency-profile-top #agency-header .address {
  grid-row: 2/3;
  color: #9a9a9a;
  font-size: 1.2rem;
}
#agency-profile-top #agency-header .rating {
  grid-row: 3/4;
  display: flex;
  gap: 0.5rem;
  color: #9a9a9a;
  align-items: center;
  padding-top: 0.75rem;
}
#agency-profile-top #agency-header #agency-profile-contact {
  grid-column: 2/3;
  grid-row: 1/4;
  overflow: hidden;
  display: flex;
  gap: 0.5rem;
}
#mobile #agency-profile-top #agency-header #agency-profile-contact {
  justify-content: center;
  margin: 1rem 0 -1rem 0;
}
#mobile #agency-profile-top #agency-header {
  padding: 0 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}
#mobile #agency-profile-top #agency-header .rating {
  justify-content: center;
}
#agency-profile-top #agency-links {
  grid-column: 3/4;
  grid-row: 1/2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#agency-profile-top #agency-links > * {
  border-radius: 10rem;
  width: 4rem;
  height: 4rem;
  padding: 0 !important;
  display: flex;
}
#agency-profile-top #agency-links > * > img {
  max-width: 1.2rem;
  max-height: 1.3rem;
}
#agency-profile-top #agency-links .btn-fb:before {
  background: rgb(9, 102, 255);
  color: #fff;
}
#agency-profile-top #agency-links .btn-ig:before {
  background: url(images/bg-ig.png);
  background-size: cover;
}
#agency-profile-top #agency-links .btn-yt:before {
  background: rgb(255, 0, 52);
}
#agency-profile-top #agency-links .btn-tt:before {
  background: rgb(254, 44, 85);
}
#agency-profile-top #agency-links .btn-li:before {
  background: rgb(9, 102, 194);
}
#mobile #agency-profile-top #agency-links {
  border-radius: 0;
  flex-direction: row;
  width: 100%;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0.5rem 0 -0.5rem 0;
}
#mobile #agency-profile-top #agency-links > * {
  border-radius: 2rem;
  width: 3rem;
  height: 3rem;
}

#agency-profile-content {
  background: #f0f5f4;
}

#agency-profile-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: auto;
  justify-content: center;
  align-items: center;
  margin: 0 0 1rem 0;
}
#agency-profile-languages div:first-child {
  font-weight: 600;
  font-size: 1.1rem;
}
#agency-profile-languages > div:has(img) {
  line-height: 1em;
  padding: 0.75rem;
  border-radius: 2rem;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
#agency-profile-languages img {
  all: unset;
  overflow: hidden;
  width: 1.4rem;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 1rem;
}
#mobile #agency-profile-languages > div:first-child {
  flex: 1;
  min-width: 100%;
  text-align: center;
}

#agency-profile-offers-new {
  padding: 4rem 0;
  overflow: hidden;
}
#agency-profile-offers-new > * {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#agency-profile-offers-new a.btn {
  margin-top: 2rem;
}
#agency-profile-offers-new .offer-item {
  top: 0;
  transition: 0.3s ease;
}
#agency-profile-offers-new .offer-item:hover {
  top: -0.5rem;
}

#agency-profile-team {
  padding: 4rem 0;
  overflow: hidden;
}
#agency-profile-team .agency-agent-list {
  margin: -0.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#mobile #agency-profile-team .agency-agent-list {
  flex-direction: column;
  margin: 0;
  gap: 1rem;
}
#agency-profile-team .agency-agent-item {
  padding: 2rem 2.5rem 2rem 2rem;
  border-radius: 24px;
  background: #fff;
  position: relative;
  align-items: center;
  justify-content: center;
  flex: initial;
  width: calc(33.3333333333% - 1rem);
  margin: 0.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 1rem;
  transition: 0.3s ease;
}
#mobile #agency-profile-team .agency-agent-item {
  margin: 0;
  width: 100%;
}
#agency-profile-team .agency-agent-item img {
  width: 6rem;
  aspect-ratio: 1/1;
  border-radius: 100%;
  grid-column: 1/2;
}
#agency-profile-team .agency-agent-item img + div {
  grid-column: 2/3;
}
#agency-profile-team .agency-agent-item .name {
  font-size: 1.2rem;
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
}
#agency-profile-team .agency-agent-item .offers {
  padding: 0.5rem;
  line-height: 1em;
  color: #0EA867;
  background: #f0f5f4;
  display: inline-block;
  border-radius: 0.4rem;
  font-size: 0.9em;
  margin-top: 0.4rem;
}
#agency-profile-team .agency-agent-item a:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
#agency-profile-team .agency-agent-item .verified {
  line-height: 1em;
  padding: 0.5rem;
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  white-space: nowrap;
  color: #0966ff;
  display: flex;
  align-items: center;
  gap: 2px;
  border-radius: 3rem;
}
#agency-profile-team .agency-agent-item .verified:before {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: inherit;
  background: #0966ff;
  width: 100%;
  height: 100%;
  content: "";
  display: block;
  opacity: 0.075;
}
#agency-profile-team .agency-agent-item .verified .icon {
  color: inherit !important;
  font-variation-settings: "FILL" 1 !important;
  cursor: default;
}
#agency-profile-team .agency-agent-item .title {
  color: #9a9a9a;
  grid-column: right;
}
#agency-profile-team .agency-agent-item:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 6px #f0f5f4);
  z-index: 5;
}

#agency-profile-reviews {
  padding: 4rem 0;
  overflow: hidden;
}
#agency-profile-reviews .agency-review-list {
  display: block;
  column-count: 3;
  column-gap: 2rem;
}
@media screen and (max-width: 800px) {
  #agency-profile-reviews .agency-review-list {
    column-count: 2;
  }
}
@media screen and (max-width: 640px) {
  #agency-profile-reviews .agency-review-list {
    column-count: 1;
  }
}
#agency-profile-reviews .agency-review-item {
  break-inside: avoid;
  padding: 2.5rem;
  border-radius: 24px;
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#agency-profile-reviews .agency-review-item + .agency-review-item {
  margin-top: 2rem;
}
#agency-profile-reviews .avatar img {
  width: 3rem;
  aspect-ratio: 1/1;
  border-radius: 100%;
}
#agency-profile-reviews .name {
  font-weight: 600;
  font-size: 1.2rem;
  padding-bottom: 0.2rem;
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
}
#agency-profile-reviews .time {
  color: #9a9a9a;
}
#agency-profile-reviews .agency-review-item .rating {
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
  align-items: center;
  line-height: 1rem;
  color: #9a9a9a;
  margin-left: -0.15rem;
}
#agency-profile-reviews .info {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding-bottom: 1rem;
}
#agency-profile-reviews .info > div:last-child {
  flex: 1;
}
#agency-profile-reviews img.source {
  position: absolute;
  top: 0rem;
  width: 1.5rem;
  aspect-ratio: 1/1;
  top: 2rem;
  right: 2rem;
}
#agency-profile-reviews a.btn {
  margin-top: 2rem;
  height: 4rem;
  width: 100%;
}
#agency-profile-reviews .overall {
  display: grid;
  grid-column-gap: 1rem;
  grid-template-columns: auto 1fr;
  align-items: center;
  justify-content: center;
}
#agency-profile-reviews .score {
  font-size: 3rem;
  font-weight: 700;
  grid-column: 1/2;
  grid-row: 1/3;
}
#agency-profile-reviews .overall .rating-stars {
  margin: 0;
  padding: 0;
  grid-column: 2/3;
  align-self: end;
}
#agency-profile-reviews .overall .rating-stars .icon {
  font-size: 2rem;
  grid-column: 2/3;
}
#agency-profile-reviews .overall .info {
  grid-column: 2/3;
  padding: 0;
  margin-top: -0.5rem;
  color: #9a9a9a;
  align-self: start;
}

#agency-profile-map {
  height: 480px;
}

#agency-profile-map > #map {
  height: 100%;
}

#agency-profile-menu {
  background: #fff;
  position: relative;
  z-index: 5;
}
#agency-profile-menu .pg-size {
  padding: 0;
}
#agency-profile-menu nav {
  display: flex;
  border-top: 1px solid #f0f5f4;
}
#mobile #agency-profile-menu nav {
  padding: 0;
  align-content: stretch;
  flex-wrap: wrap;
  justify-content: center;
}
#agency-profile-menu nav * {
  display: inline-flex;
  height: 4.4rem;
  align-items: center;
  padding: 0 1rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s;
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
}
#agency-profile-menu nav *:not(.active):hover {
  background: #f0f5f4;
}
#agency-profile-menu nav *.active {
  margin-bottom: -0.75rem;
  border-bottom: 3px solid #0EA867;
  border-radius: 0;
  color: #03725a;
  font-weight: 500;
}

.agency-agent-list-card {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem !important;
}
@media screen and (max-width: 1000px) {
  .agency-agent-list-card {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 800px) {
  .agency-agent-list-card {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 480px) {
  .agency-agent-list-card {
    grid-template-columns: 1fr;
  }
}
.agency-agent-list-card .agency-agent-item-card {
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  background: #fff;
  top: 0;
  transition: 0.3s ease;
}
.agency-agent-list-card .agency-agent-item-card:hover {
  top: -0.5rem;
}
.agency-agent-list-card .agency-agent-item-card > div:first-child {
  position: relative;
  max-width: 100%;
}
.agency-agent-list-card .agency-agent-item-card > div:first-child > img {
  max-width: 100%;
}
.agency-agent-list-card .agency-agent-item-card > div:first-child .offers {
  position: absolute;
  bottom: -1rem;
  right: 1rem;
  width: 4rem;
  height: 4rem;
  border-radius: 5rem;
  background: #03725a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.25rem;
  border: 0.25rem solid #fff;
  z-index: 5;
  cursor: default;
}
.agency-agent-list-card .agency-agent-item-card > div:first-child .offers:empty {
  display: none;
}
.agency-agent-list-card .agency-agent-item-card > div:first-child:before {
  content: "";
  display: block;
  width: calc(100% + 2px);
  position: absolute;
  bottom: 0;
  left: 0;
  clip-path: polygon(100% 100%, 0% 100%, 0% 0%);
  background: #fff;
  height: 1.5rem;
}
.agency-agent-list-card .agency-agent-item-card > div.agent-data {
  padding: 1rem 2rem 2rem 2rem;
}
.agency-agent-list-card .agency-agent-item-card > div.agent-data .name {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
}
.agency-agent-list-card .agency-agent-item-card > div.agent-data .title {
  color: #9a9a9a;
  grid-column: right;
  margin-bottom: 0.2rem;
}
.agency-agent-list-card .agency-agent-item-card > div.agent-data .email {
  margin-top: 0.5rem;
  font-size: 1.1rem;
}
.agency-agent-list-card .agency-agent-item-card > div.agent-data .phone {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.agency-agent-list-card .agency-agent-item-card > div.agent-data .languages {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.agency-agent-list-card .agency-agent-item-card > div.agent-data .languages span {
  text-transform: uppercase;
  font-size: 0.8rem;
  width: 100%;
  font-weight: 600;
  color: #9a9a9a;
}
.agency-agent-list-card .agency-agent-item-card > div.agent-data .languages img {
  position: relative;
  z-index: 5;
  width: 1.6rem;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 1rem;
}
.agency-agent-list-card .agency-agent-item-card a:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.agency-agent-list-card .agency-agent-item-card .verified {
  line-height: 1em;
  padding: 0.5rem;
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  white-space: nowrap;
  color: #0966ff;
  display: flex;
  align-items: center;
  gap: 2px;
  border-radius: 3rem;
}
.agency-agent-list-card .agency-agent-item-card .verified:before {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: inherit;
  background: #0966ff;
  width: 100%;
  height: 100%;
  content: "";
  display: block;
  opacity: 0.075;
}
.agency-agent-list-card .agency-agent-item-card .verified .icon {
  color: inherit !important;
  font-variation-settings: "FILL" 1 !important;
  cursor: default;
}

/*# sourceMappingURL=agency.css.map */
