:root {
  --clip-position: center;
}

/* Mobile Styles */
.interactive-plan .interactive-plan__wrapper .desktop-plan .swiper-pagination {
  position: unset;
  bottom: initial;
  left: initial;
  transform: none;
}

.interactive-plan .interactive-plan__wrapper .desktop-plan .swiper-pagination .swiper-pagination-bullet {
  position: unset;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  margin: 0;
  -webkit-transition: all ease.35s ease-in-out;
  transition: all ease.35s ease-in-out;
}

.interactive-plan .interactive-plan__wrapper .desktop-plan .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  opacity: 1;
  visibility: visible;
}

.interactive-plan .interactive-plan__wrapper .desktop-plan .swiper-pagination .swiper-pagination-bullet > span {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  cursor: pointer;
}

.interactive-plan .interactive-plan__wrapper .desktop-plan .swiper-pagination .swiper-pagination-bullet > span:before {
  animation: flashing 1.5s 1s ease-out;
  border: 2px solid var(--secondary);
}

.interactive-plan .interactive-plan__wrapper .desktop-plan .swiper-pagination .swiper-pagination-bullet > span:after {
  animation: flashing 2s .5s ease-in;
  border: 2px solid var(--secondary);
}

.interactive-plan .interactive-plan__wrapper .desktop-plan .swiper-pagination .swiper-pagination-bullet > span:before,
.interactive-plan .interactive-plan__wrapper .desktop-plan .swiper-pagination .swiper-pagination-bullet > span:after {
  content: "";
  width: 70%;
  height:70%;
  display: block;
  border-radius: 50%;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  background: hsla(148, 56%, 39%, .65);
  opacity: 0;
  animation-iteration-count: infinite;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.interactive-plan .interactive-plan__wrapper .mobile-plan {
  position: relative;
}

.interactive-plan .interactive-plan__wrapper .mobile-plan .swiper-wrapper {
  align-items: stretch;
}

.interactive-plan .interactive-plan__wrapper .mobile-plan .mobile-plan__item {
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  background-color: #f7f8f9;
  height: auto;
}

.interactive-plan .interactive-plan__wrapper .mobile-plan .mobile-plan__item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 36px 36px 0 0;
  border-color: var(--secondary) transparent transparent transparent;
}

.interactive-plan .interactive-plan__wrapper .mobile-plan .mobile-plan__item .mobile-plan__item-image {
  position: relative;
  min-width: 150px;
  max-width: 150px;
  min-height: 150px;
  max-height: 150px;
  border: 2px solid var(--secondary);
  border-radius: 50%;
  overflow: hidden;
  left: 17%;
  margin-top: -15%;
}

.interactive-plan .interactive-plan__wrapper .mobile-plan .mobile-plan__item .mobile-plan__item-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interactive-plan .interactive-plan__wrapper .mobile-plan .mobile-plan__item .mobile-plan__item-content {
  padding: 0 50px 20px 30px;
}

.interactive-plan .interactive-plan__wrapper .mobile-plan .mobile-plan__item .mobile-plan__item-content .item-content__description > div *:last-child {
  margin: 0;
}

.interactive-plan .interactive-plan__wrapper .mobile-plan .swiper-button-next {
  position: absolute;
  top: 50%;
  right: -10px;
  width: 50px;
  height: 50px;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  background: hsla(0,0%,100%,.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.05); 
  box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.05);
  -webkit-transition: all .35s ease-in-out;
  transition: all .35s ease-in-out;
} 

.interactive-plan .interactive-plan__wrapper .mobile-plan .swiper-button-next .fa-solid {
  font-size: 1.125rem;
  color: var(--secondary);
}

.interactive-plan .interactive-plan__wrapper .mobile-plan .swiper-button-next:after {
  display: none;
}

/* Desktop Styles */
.interactive-plan .interactive-plan__wrapper .desktop-plan {
  position: relative;
  width: 100%;
  transition: transform 0.5s;
  -webkit-transition: transform 0.5s;
  -moz-transition: transform 0.5s;
  -o-transition: transform 0.5
}

.interactive-plan .interactive-plan__wrapper .desktop-plan__bg-image {
  width: 100%;
}

:root{
  --x:0;
  --y:0;
}



@supports (-webkit-clip-path: circle(200px at center)) or (clip-path: circle(200px at center)) {
  .interactive-plan .interactive-plan__wrapper .desktop-plan__top-image {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-clip-path: circle(200px at var(--x) var(--y) );
    clip-path: circle(200px at var(--x) var(--y) );
  }
}

.interactive-plan .desktop-plan .listing-item {
  position: absolute;
  display: none;
}

.interactive-plan .desktop-plan .listing-item .listing-item__pin {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
}

.interactive-plan .desktop-plan .listing-item .listing-item__pin:before {
  animation: flashing 1.5s 1s ease-out;
  border: 3px solid var(--secondary);
}

.interactive-plan .desktop-plan .listing-item .listing-item__pin:after {
  animation: flashing 2s .5s ease-in;
  border: 3px solid var(--secondary);
}

.interactive-plan .desktop-plan .listing-item .listing-item__pin:before,
.interactive-plan .desktop-plan .listing-item .listing-item__pin:after {
  content: "";
  width: 70%;
  height:70%;
  display: block;
  border-radius: 50%;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  background: hsla(148, 56%, 39%, .65);
  opacity: 0;
  animation-iteration-count: infinite;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.interactive-plan .desktop-plan .listing-item .listing-item__pin[aria-selected="true"]:before,
.interactive-plan .desktop-plan .listing-item .listing-item__pin[aria-selected="true"]:after {
  animation: none;
}

.interactive-plan .desktop-plan .listing-item .listing-item__pin[aria-selected="true"]:before {
  background: rgba(44,155,96,.25);
  opacity: 1;
}

.interactive-plan .desktop-plan .listing-item .listing-item__box {
  display: none;
  position: absolute;
  right: 0;
  transform: translateX(100%);
  -webkit-backdrop-filter: saturate(100%) blur(2px);
  backdrop-filter: saturate(100%) blur(2px);
  background: hsla(0,0%,100%,.9);
  padding: 28px;
  width: 300px;
  max-width: 300px;
  margin-top: 10px;
  -webkit-box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.25); 
  box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.25);
  z-index: 1;
}

.interactive-plan .desktop-plan .listing-item .listing-item__box:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 36px 36px 0 0;
  border-color: var(--secondary) transparent transparent transparent;
}

.interactive-plan .desktop-plan .listing-item .listing-item__box h3 {
  font-family: var(--body-font);
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.interactive-plan .desktop-plan .listing-item .listing-item__box .box-description > div *:last-child {
  margin: 0;
  z-index: 1;
}

.interactive-plan .desktop-plan .listing-item .listing-item__box .box-image {
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translate(20%, 50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  background-color: #fff;
  overflow: hidden;
}

.interactive-plan .desktop-plan .listing-item .listing-item__box .box-image > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .interactive-plan .interactive-plan__wrapper.interactive-plan__wrapper--mobile {
    display: none;
  }
  .interactive-plan .interactive-plan__wrapper .desktop-plan__bg-image {
    -webkit-filter: blur(2px);
    filter: blur(2px);
    opacity: .5;
  }
  .interactive-plan .interactive-plan__wrapper .desktop-plan__top-image {
    display: block;
  }
  .interactive-plan .desktop-plan .listing-item {
    display: flex;
  }
  .interactive-plan .desktop-plan .swiper-pagination {
    display: none;
  }
}

@media (max-width: 767px) {
  .interactive-plan .desktop-plan .listing-item .listing-item__box {
    display: none!important;
  }
}

@keyframes flashing{
  0% { 
    -webkit-transform: scale(.1,.1);
    opacity:0
  }
  50% { 
    opacity:1 
  }
  100% {
    -webkit-transform:scale(1.2,1.2);
    opacity:0;
  }
}
