:root{
    --accent-color: #F85C09;
    --accent-color-hover: #e35205;
}

html {
  scrollbar-gutter: stable;
}



/* TECHNOLOGY */
.a_technologyCardList{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gapGrid);
  list-style-type: none;
  margin: 0;
  padding: 0; 
}
.a_technologyCard{
  display: flex;
  flex-direction: column;
  background: var(--bg-color-2);
  border-radius: 5px;
  overflow: hidden;
}
.a_technologyCard__info{
  margin-bottom: 10px;
  padding: 30px 30px 0 30px;
}
.a_technologyCard__title{
  font-weight: 400;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 110%;
  font-family: 'Play';
}
.a_technologyCard__desc{
  margin-top: 10px;
  font-size: clamp(12px, 2.5vw, 16px);
  line-height: 130%;
}
.a_technologyCard__img{
  margin-top: auto;
}
.a_technologyCard__img img{
  display: block;
  width: 100%;
}

@media (max-width: 1024px) and (orientation: portrait){
  .a_technologyMap{
    height: auto;
  }
}
@media ( max-width: 1200px ){
  .a_technologyCard__info{
    padding: 15px 15px 0 15px;
  }
}
@media ( max-width: 1024px ){
  .a_technologyCardList{
    display: flex;
    column-gap: 5px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .a_technologyCardList .a_technologyCard{
    width: calc(40vw - 10px);
    flex: none;
  }
}
@media ( max-width: 991.95px ){
  .a_technologyCardList{
    gap: 10px;
  }
}
@media ( max-width: 768px ){
  .a_technologyCardList .a_technologyCard{
    width: calc(45vw - 10px);
  }
}
@media ( max-width: 600px ){
  .a_technologyCardList .a_technologyCard{
    width: calc(60vw - 10px);
  }
}
@media ( max-width: 500px ){
  .a_technologyCardList .a_technologyCard{
    width: calc(80vw - 10px);
  }
}



/* HOTSPOT */
.techHotspot{
    position: relative;
    width: 100vw;
    height: auto;
    overflow: hidden;
}

.techHotspot__title{
    position: absolute;
    top: 15%;
    width: 100%;
    text-align: center;
    font-family: 'Play';
    font-weight: 400;
    line-height: 100%;
    font-size: clamp(30px, 5vw, 60px);
    color: var(--text-color);
    z-index: 1;
}

@media ( max-width: 500px ){
    .techHotspot__title{
        top: 70px;
        font-size: 24px;
    }
}

.techHotspot__map{
    width: 100%;
    height: 100%;
    transform: scale(1);
}
.techHotspot__mapImg{
    width: 100%;
    height: 100%;
}
.techHotspot__mapImg img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.techHotspot__nav{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.techHotspot__modal{
    display: none;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F7F7FB;
    transform: scaleY(0);
    transform-origin: bottom;
    z-index: 99999;
}
.techHotspot__modalClose{
    --el-size: 40px;
    opacity: 0;
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--el-size);
    height: var(--el-size);
    background: var(--accent-color);
    border-radius: 100%;
    cursor: pointer;
    transition: background .3s;
    z-index: 10;
}

.techHotspot__back{
    --el-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 30px;
    top: 30px;
    width: var(--el-size);
    height: var(--el-size);
    background: var(--accent-color);
    border-radius: 100%;
    cursor: pointer;
    transition: background .3s;
    z-index: 10;
}

@media ( hover: hover ) {
    .techHotspot__modalClose:hover,
    .techHotspot__back:hover{
        background: var(--accent-color-hover);
    }
}

@media ( min-width: 2400px ){
    .techHotspot__mapImg,
    .techHotspot__nav{
        height: 100vh;
    }
}

@media ( max-width: 1200px ){
    .techHotspot__modalClose{
        --el-size: 35px;
        top: 20px;
        right: 20px;
    }
    .techHotspot__back{
        --el-size: 35px;
        top: 20px;
        left: 20px;
    }
}


/* HOTSPOT BTN */
.hotspot{
    --el-size: 35px;
    position: absolute;
    display: flex;
    align-items: center;
    height: var(--el-size);
    width: var(--el-size);
    background: white;
    border: none;
    border-radius: 40px;
    padding: 0;
    box-shadow: none;
    filter: opacity(1);
    cursor: pointer;
    overflow: hidden;
}

.hotspot__dot{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: var(--el-size);
    height: var(--el-size);
    position: relative;
    z-index: 1;
}
.hotspot__dot:before{
    --el-size: 9px;
    content: '';
    width: var(--el-size);
    height: var(--el-size);
    display: block;
    background: var(--accent-color);
    border-radius: 100%;
}
.hotspot__tooltip{
    display: flex;
    align-items: center;
    column-gap: 5px;
    padding-right: 10px;
    transform: translateX(-3px);
    opacity: 0;
}
.hotspot__text{
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.hotspot__icon{
    --el-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: var(--el-size);
    height: var(--el-size);
    background: var(--accent-color);
    border-radius: 100%;
}
.hotspot__icon img{
    display: block;
    width: 60%;
}

@media ( max-width: 991px ){
    .hotspot{
        --el-size: 25px;
    }
    .hotspot__dot:before{
        --el-size: 6px;
    }
    .hotspot__dot{
        position: relative;
    }
    .hotspot__dot:after{
        --el-size: 35px;
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: var(--el-size);
        height: var(--el-size);
    }

    /* modal */
    .hotspotModal{
        position: fixed;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 20%;
        opacity: 0;
        width: 100vw;
        height: 100vh;
        background: #00000078;
        z-index: 99999;
    }
    .hotspotModal .hotspot__tooltip{
        opacity: 0;
        background: white;
        width: 0;
        max-width: 90%;
        padding: 8px 12px;
        border-radius: 40px;
        overflow: hidden;
    }
    .hotspotModal__close{
        --el-size: 35px;
        opacity: 0;
        width: var(--el-size);
        height: var(--el-size);
        display: flex;
        align-items: center;
        justify-content: center;
        background: white;
        border-radius: 100%;
        padding: 5px;
        margin-bottom: 8px;
    }
    .hotspotModal__close img{
        width: 10px;
        filter: invert(1);
    }
    .hotspot__text{
        font-size: 12px;
    }

}


/* HOTSPOT BTN ZOOM */
.hotspotZoom{   
    --el-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--el-size);
    height: var(--el-size);
    background: #fa987442;
    border: 1px solid var(--accent-color);
    border-radius: 100%;
    box-shadow: none;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    cursor: pointer;
    transition: backdrop-filter .3s, background .3s;
}
.hotspotZoom:before{
    --el-size: 10px;
    content: '';
    display: block;
    width: var(--el-size);
    height: var(--el-size);
    border: 1px solid var(--accent-color);
    background: #fafafa94;
    border-radius: 100%;
    transition: .2s;
}
.hotspotZoom:hover{
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    background: #fa987436;
}
.hotspotZoom:hover:before{
    --el-size: 5px;
    background: var(--accent-color);
    border-color: transparent;
}


/* TOOLTIP */
.tooltip{
    --el-size: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--el-size);
    height: var(--el-size);
    background:#ffffff7d;
    border: none;
    border-radius: 100%;
    position: absolute;
    cursor: pointer;
}
.tooltip:before{
    --el-size: 9px;
    content: '';
    flex-shrink: 0;
    width: var(--el-size);
    height: var(--el-size);
    display: block;
    background: var(--accent-color);
    border-radius: 100%;
    transition: .2s;
}
.tooltip_active:before{
    --el-size: 35px;
}
.tooltip_active:after{
    --el-size: 9px;
    display: block;
    content: '';
    width: var(--el-size);
    height: var(--el-size);
    display: block;
    background: white;
    border-radius: 100%;
    flex-shrink: 0;
    position: absolute;
}

.tooltip__text{
    display: none;
    height: 30px;
    opacity: 0;
    position: absolute;
    top: calc( 100% + 5px );
    left: 50%;
    transform: translate(-50%, 0);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
    background: white;
    border-radius: 15px;
    padding: 15px;
    font-size: 14px;
    width: max-content;
    max-width: 280px;
    overflow: hidden;
}
.tooltip__bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
}


/* DETAIL */
.techHotspot__detail{
    display: none;
    opacity: 0;
    width: 100%;
    height: 100%;
}
.techHotspot__detailMain{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}
.techHotspot__detailImgWrapper{
    grid-column: span 8;
    position: relative;
}
.techHotspot__detailImg{
    opacity: 0;
    position: relative;
    width: 100%;
    height: auto;
}
@media ( min-width: 1025px ){
    .techHotspot__detailImg{
        transform: translateX(-30px);
    }
}
.techHotspot__detailAutoUnstacking img{
    width: 100%;
    height: auto;
    opacity: 1;
}
.techHotspot__detailAutoUnstacking picture:not(:first-child) img{
    position: absolute;
    top: 0;
    left: 0;
    mask-image: linear-gradient(135deg, #000000 100%, transparent 100%);
}


.techHotspot__back[data-detail-unstacking-back-id]{
    display: none;
    opacity: 0;
}
.techHotspot__detailManualUnstacking img{
    width: 100%;
    height: auto;
    opacity: 1;
}
.techHotspot__detailManualUnstacking picture:not(:first-child) img{
    position: absolute;
    top: 0;
    left: 0;
    mask-image: linear-gradient(135deg, #000000 100%, transparent 100%);
}

.techHotspot__detailInfo{
    grid-column: span 3;
    padding-top: 60px;
}

.techHotspotInfo_light{
    color: #ffffff;
}
.techHotspotInfo__title{
    font-family: 'Play';
    font-weight: 400;
    font-size: 32px;
}
.techHotspotInfo__desc{
    margin-top: 20px;
}
.techHotspotInfo__img{
    margin-top: 20px;
}
.techHotspotInfo__img img{
    display: block;
    width: auto;
    max-width: 14vw;
    margin-left: auto;
}
.techHotspotInfo__video{
    margin-top: 20px;
}
.techHotspotInfo__video video{
    display: block;
    width: 100%;
    max-width: 14vw;
    margin-left: auto;
}

.techHotspot__detailNav{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media ( max-width: 1200px ){
    .techHotspot__detailInfo{
        padding-top: 50px;
        grid-column: span 4;
        max-width: 330px;
    }
    .techHotspotInfo__title{
        font-size: 24px;
    }
    .techHotspotInfo__desc{
        margin-top: 10px;
        font-size: 14px;
    }
}
@media ( min-width: 2500px){
    .techHotspotInfo__title{
        font-size: 52px;
    }
    .techHotspotInfo__desc{
        font-size: 24px;
    }
}

@media ( max-width: 1024px ) and (orientation: portrait ){
    .techHotspot__detailImgWrapper{
        grid-column: span 12;
        order: 2;
    }
    .techHotspot__detailInfo{
        grid-column: span 12;
        order: 1;
        padding: 60px 20px 0;
        max-width: 600px;
    }
    .techHotspotInfo__img,
    .techHotspotInfo__video{
        display: none;
    }
    .techHotspot__detail:has(.techHotspotInfo__slider) .techHotspot__detailImgWrapper{
        display: none;
    }
}

/* tooltip */
.techHotspot__detailNav .tooltip{
    opacity: 0;
    transform: translateY(10px);
}

/* ZOOM */
.techHotspot__detailZoom{
    display: none;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.techHotspot__back[data-detail-zoom-back-id]{
    display: none;
    opacity: 0;
}
.techHotspot__zoomImg{
    transform: scale(.96);
    width: 100%;
    height: 100%;
}
.techHotspot__zoomImg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.techHotspot__zoomInfo{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    opacity: 0;
}
.techHotspot__zoomInfo .techHotspotInfo{
    grid-column: 9 / 12;
}
@media ( max-width: 1200px ){
    .techHotspot__zoomInfo{
        top: 50px;
    }
    .techHotspot__zoomInfo .techHotspotInfo{
        grid-column: 9 / 13;
        max-width: 330px;
    }
}
@media ( max-width: 1024px ) and (orientation: portrait ){
    .techHotspot__zoomInfo{
        top: 80px;
    }
    .techHotspot__zoomInfo .techHotspotInfo{
        grid-column: span 12;
        max-width: 600px;
        padding: 0 20px;
    }
   
}


/* DISTANCE */
.techHotspot__distanceNav{
    position: absolute;
    bottom: 20px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    width: 100%;
    z-index: 10;
}
.techHotspot__distanceImg{
    display: none;
    max-width: 50px;
}
.techHotspot__distanceControl{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.techHotspot__distanceValue{
    font-family: 'Play';
    font-size: 20px;
    line-height: 110%;
    margin-bottom: 8px;
}
.techHotspot__distanceLine{
    width: 260px;
    height: 5px;
    background: #F8A269;
    border-radius: 30px;
}
.techHotspot__distanceToggle{
    margin-top: 8px;
}

.techHotspot__detailDistanceImg{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
}
.techHotspot__detailDistanceImg img{
    width: 100%;
}

@media ( max-width: 1024px ) and (orientation: portrait ){
    .techHotspot__distanceImg{
        display: block;
    }
    .techHotspot__distanceLine{
        width: 30px;
    }
}



/* POSITION BTN HOTSPOT */
[data-detail-btn-id]{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(10px);
    opacity: 0;
    z-index: 10;
}
[data-detail-btn-id]:hover{
    z-index: 10;
}


/* POSITION BTN HOTSPOT ZOOM */
[data-btn-zoom-id]{
    position: absolute;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    will-change: transform, opacity;
    z-index: 10;
}

/* POSITION BTN UNSTACKING */
[data-btn-unstacking-id]{
    position: absolute;
    opacity: 0;
    transform: translateY(10px);
    will-change: transform, opacity;
    z-index: 10;
}


/* TOGGLE */
.toggle{
    display: inline-block;
    position: relative;
}
.toggle input{
    position: absolute;
    width: 0;
    height: 0;
    transform: scale(0);
    opacity: 0;
    visibility: hidden;
}
.toggle__ui{
    position: relative;
    background: #dfdfdf;
    width: 50px;
    height: 30px;
    border-radius: 30px;
    overflow: hidden;
    transition: background .2s;
    cursor: pointer;
}
.toggle__ui:before{
    --el-size: 24px;
    content: '';
    position: absolute;
    display: block;
    width: var(--el-size);
    height: var(--el-size);
    background: var(--accent-color);
    border-radius: 100%;
    top: 50%;
    left: 10%;
    transform: translate(0, -50%);
    transition: transform .2s, left .2s, background .2s;
}
.toggle input:checked + .toggle__ui{
    background: #c7c7c7;
}
.toggle input:checked + .toggle__ui:before{
    left: 90%;
    transform: translate(-100%, -50%);
}

@media ( hover : hover ){
   .toggle__ui:hover:before{
        background: var(--accent-color-hover);
   }
}



/* SLIDER */
.techHotspotInfo__slider{
    position: relative;
    height: 420px;
    margin-top: 20px;
    padding: 20px 10px;
    border-radius: 15px;
    background: white;
    overflow: hidden;
}
.techHotspotInfo__slider ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.techHotspotInfo__slider .swiper-slide{
  height: auto;
}
.techHotspotInfo__slideContent{
    position: relative;
    height: 100%;
}
.techHotspotInfo__slideInfo{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
}
.techHotspotInfo__slideTitle{
    margin-bottom: 10px;
    font-family: 'Play';
    font-size: 20px;
    font-weight: 400;
}
.techHotspotInfo__slideDesc{
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 110%;
    text-wrap-style: balance;
}
.techHotspotInfo__slideImg{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 50px 0;
}

.techHotspotInfo__slideImg img{
  max-width: 100%;
  max-height: 100%;
}
.techHotspotInfo__slidePagination{
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    z-index: 1;
}
.techHotspotInfo__slidePagination .swiper-pagination-bullet{
    background: var(--accent-color);
    transform: scale(.9);
    opacity: .3;
    transition: .2s;
}
.techHotspotInfo__slidePagination .swiper-pagination-bullet-active{
    background: var(--accent-color);
    transform: scale(1.2);
    opacity: 1;
}
.techHotspotInfo__slidePrev,
.techHotspotInfo__slideNext{
    --el-size: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: var(--el-size);
    height: var(--el-size);
    background: #f85d0952;
    border: 1px solid var(--accent-color);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .3s;
    z-index: 1;
}
.techHotspotInfo__slidePrev{
    left: 10px;
}
.techHotspotInfo__slideNext{
    right: 10px;
}

@media ( hover: hover ) {
   .techHotspotInfo__slidePrev:hover,
   .techHotspotInfo__slideNext:hover{
        background: #f85d096b;
   }
}