/* 메인(index) 시안 레이아웃*/

.dh-main {
    width: 100%;
}

.dh-inner {
    box-sizing: border-box;
}
.dh-inner::before{
    content: '';
    display: block;
    background: var(--color-primary);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8vw;
    z-index: 0;
}

.dh-sec {
    padding: 8vw 0;
    position: relative;
    z-index: 3;
}

.dh-sec-head {
    text-align: center;
    margin-bottom: 100px;
}

.dh-sec-label {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: clamp(1.1rem, 2vw, 30px);
    font-weight: 700;
    text-transform: capitalize;
    color: var(--color-primary);
    font-family: var(--point-font);
}

.dh-sec-dot {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
}

.dh-sec-title {
    margin: 0;
    font-size: clamp(1.25rem, 3vw, 50px);
    font-weight: 800;
    letter-spacing: -1%;
    line-height: 1.45;
}

.dh-sec-head--light .dh-sec-label,
.dh-sec-head--light .dh-sec-title {
    color: #fff;
}

.dh-sec-head--light .dh-sec-dot {
    background: var(--color-yellow);
}

/* banner */

.dh-banner {
    position: relative;
    height: 100vh;
    min-height: 100svh; /* 모바일 주소창 등에 맞춘 보이는 높이 */
    padding-bottom: 8vw;
    box-sizing: content-box;
}
.dh-banner__video{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}
.dh-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 20, 34, 0.25);
    z-index: 1;
}

.dh-banner__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    box-sizing: border-box;
    text-align: center;
}

.dh-banner__title {
    color: #fff;
}
.dh-banner__title p {
    font-size: clamp(1.3rem, 2.8vw, 3rem);
    line-height: 1.45;
    color: #fff;
    margin-bottom: 20px;
}

.dh-banner__title h1 {
    font-size: clamp(1.5rem, 3.5vw, 4rem);
    font-weight: 600;
    line-height: 1.5;
    color: #fff;
}
.dh-banner__title h1 > span {
    font-weight: 800;
}

/* About */
.dh-about {
    transform: translateY(-8vw);
    background: #fff;
    border-radius: 8vw 0 0;
    padding-bottom: 0;
}

.dh-about-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 150px;
    position: relative;
}
.dh-about-item{
    height: 70vh;
    max-height: 700px;
    padding: 50px;
    border-radius: 50px;
    position: sticky;
    top: calc(10vw + 80px);
    left: 0;
}
.dh-about-item:nth-child(1){
    background: url(/theme/basic/img/index/au_01.jpg) no-repeat center center;
    background-size: cover;
}
.dh-about-item:nth-child(2){
    background: url(/theme/basic/img/index/au_02.jpg) no-repeat center center;
    background-size: cover;
}
.dh-about-item:nth-child(3){
    background: url(/theme/basic/img/index/au_03.jpg) no-repeat center center;
    background-size: cover;
}

.dh-about-card {
    position: relative;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(5, 20, 34, .2);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.dh-about-card__cap {
    color: #fff;
    font-size: clamp(1.3rem, 2.5vw, 50px);
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

/* Values */
.dh-values {
    background: #F6F7F8;
    border-radius: 0 8vw 0 0;
    padding-bottom: 16vw;
}

.dh-values-grid {
    display: flex;
    flex-direction: column;
    gap: 15vw;
}

.dh-values-block {
    position: relative;
}

.dh-values-block__bg-label {
    position: absolute;
    top: -8px;
    left: 0;
    margin: 0;
    font-size: clamp(2rem, 6vw, 5.5rem);
    font-weight: 400;
    color: rgba(24, 94, 160, 0.2);
    line-height: 1;
    pointer-events: none;
    z-index: 2;
    font-family: var(--point-font);
}
.dh-values-block--certs .dh-values-block__bg-label{
    left: auto;
    right: 0;
}

.dh-values-block__body {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 5rem;
    align-items: center;
    padding: 0 50px;
}

.dh-values-block__circle {
    flex: 1;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: #e8eaed;
    box-shadow: 5px 10px 0 var(--color-white);
}
.dh-values-block__body--reverse .dh-values-block__circle{
    box-shadow: -5px 10px 0 var(--color-white);
}

.dh-values-block__circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dh-values-block__circle.is-empty {
    background: linear-gradient(135deg, #dde1e8, #c5cad3);
}

.dh-values-block__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.dh-values-block--facilities .dh-values-block__text{
    align-items: flex-end;
}

.dh-values-block__heading {
    width: 100%;
    margin: 0 0 12px;
    font-size: clamp(1.2rem, 2.5vw, 50px);
    font-weight: 700;
    line-height: 1.4em;
}

.dh-values-block__desc {
    margin: 0 0 16px;
    font-size: clamp(1.1rem, 1.8vw, 30px);
    color: #555;
    line-height: 1.5;
    word-break: keep-all;
}

.dh-values-block .dh-link-more{
    margin-top: 20px;
}

.dh-link-more {
    display: inline-block;
    font-size: clamp(1rem, 1vw, 24px);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 15px;
    position: relative;
}
.dh-link-more::before{
    content: '';
    display: block;
    width: auto;
    height: 20px;
    aspect-ratio: 1 / 1;
    background: var(--color-yellow);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    transition: all 0.3s ease;
}
.dh-link-more p{
    position: relative;
    z-index: 1;
}



/* Products */
.dh-products {
    background: url(/theme/basic/img/index/bg_01.jpg) no-repeat;
    background-size: cover;
    border-radius: 8vw 0 0 0;
    transform: translateY(-8vw);
    padding-bottom: 16vw;
    margin-bottom: -8vw;
}

.dh-products-slider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 auto;
}

.dh-products-nav {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #333;
}



.dh-products-viewport {
    flex: 1;
    overflow: hidden;
    min-height: 280px;
}

.dh-products-track {
    list-style: none;
    margin: 0;
    padding: 0 50px;
}

.dh-products-slide {
    display: none;
    animation: dhFade 0.35s ease;
}

.dh-products-slide.is-active {
    display: block;
}

@keyframes dhFade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.dh-products-slide__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.dh-products-slide__img {
    width: calc((100% - 50px) / 2);
    aspect-ratio: 1 / 1;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 3vh;
}
.dh-products-slide__img::before{
    content: '';
    display: block;
    width: 100%;
    height: 6vh;
    opacity: 0.2;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 50%;
}
.dh-products-01 .dh-products-slide__img::before{
    background: var(--color-orange);
}
.dh-products-02 .dh-products-slide__img::before{
    background: var(--color-primary);
}
.dh-products-03 .dh-products-slide__img::before{
    background: var(--color-green);
}

/* PNG: drop-shadow는 투명 영역을 제외하고 형태를 따라 그림자 (box-shadow는 사각형) */
.dh-products-slide__img img {
    max-width: 85%;
    height: auto;
    display: block;
    filter: drop-shadow(0 14px 18px rgba(30, 24, 18, 0.22))
        drop-shadow(0 6px 10px rgba(0, 0, 0, 0.12));
}

.dh-products-highlight {
    width: calc((100% - 50px) / 2);
    aspect-ratio: 1 / 1;
    padding: 50px;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(232, 93, 42, 0.25);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 50px;
    word-break: keep-all;
}
.dh-products-01 .dh-products-highlight{
    background: var(--color-orange);
}
.dh-products-02 .dh-products-highlight{
    background: var(--color-primary);
}
.dh-products-03 .dh-products-highlight{
    background: var(--color-green);
}

.dh-products-highlight__title{
    font-size: clamp(1.1rem, 2.5vw, 35px);
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 10px;
}

.dh-products-highlight__title-sub {
    margin: 0 0 16px;
    font-size: clamp(1rem, 1.5vw, 24px);
    font-weight: 400;
    line-height: 1.4;
}

.dh-link-more--on-dark {
    color: #fff;
}

/* Contact */
.dh-contact {
    background: #185EA0 url(/theme/basic/img/index/bg_02.png) no-repeat center center;
    background-size: cover;
    border-radius: 0 8vw 0 0;
    transform: translateY(-8vw);
    padding-bottom: 16vw;
    margin-bottom: -8vw;
}
.dh-contact .dh-inner::before{
    background-color: var(--color-yellow);
}

.dh-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    width: 100%;
    min-width: 0;
}

.dh-contact-grid > * {
    min-width: 0;
    /* flex items inside each grid cell can now shrink properly */
}

.dh-contact-map {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.dh-contact-map__frame {
    border-radius: 12px;
    overflow: hidden;
    background: #243a5c;
    min-height: 280px;
    height: 500px;
}

.root_daum_roughmap_landing{
    width: 100% !important;
}
.root_daum_roughmap,
.root_daum_roughmap .root_daum_roughmap_landing,
.root_daum_roughmap .wrap_map {
    height: 100% !important;
    min-height: 100%;
    box-sizing: border-box;
}
.root_daum_roughmap .wrap_controllers,
.root_daum_roughmap .cont{
    display: none;
}

.dh-contact-map-inner{
    background-color: var(--color-orange);
    border-radius: 30px;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.dh-contact-map__card {
    background-color: var(--color-orange);
    color: #fff;
    font-size: clamp(1rem, 2vw, 20px);
    text-align: center;
}

.dh-contact-map__card strong {
    display: block;
    margin-bottom: 8px;
}

.dh-contact-map__card p {
    margin: 0;
    line-height: 1.5;
    opacity: 0.95;
}

.dh-contact-info {
    background-color: var(--color-orange);
    font-style: normal;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: center;
}
.dh-contact-info-item{
    flex: 1;
}
.dh-contact-info-item:first-child{
    border-right: 1px solid var(--color-white);
}

.dh-contact-info__company {
    margin-bottom: 6px;
    font-size: 1.15rem;
}
.dh-contact-info-item strong{
    font-size: 24px;
}
.dh-contact-info__company p{
    font-size: 1rem;
    font-weight: 300;
}

.dh-notice-box{
    background-color: rgba(5, 20, 34, .2);
    padding: 50px;
    border-radius: 30px;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.dh-notice-box__inner{
    width: 100%;
}
.dh-notice-box__title{
    font-size: clamp(1.1rem, 2.5vw, 30px);
    font-weight: 700;
    line-height: 1.4;
    padding-bottom: 10px;
}
.dh-notice-box__list{
    border-top: 2px solid var(--color-white);
}
.dh-notice-box__list .dh-notice-box__item{
    padding: 20px;
    border-bottom: 1px solid var(--color-white);
}
.dh-notice-box__link{
    color: var(--color-white);
}
.dh-notice-date{
    font-size: clamp(12px, 2vw, 14px);
    margin-bottom: 5px;
}
.dh-notice-title{
    font-size: clamp(1rem, 2vw, 20px);
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dh-notice-content{
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 200;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 5px;
}

@media (hover: hover) and (pointer: fine) {
    .dh-link-more:hover::before{
        height: 100%;
    }
    .dh-products-nav:hover {
        background: #2d6cdf;
        color: #fff;
    }
}

@media screen and (max-width: 1024px) {
    /* product */
    .dh-products-track{
        padding: 0 20px;
    }
    /* contact */
    .dh-contact-grid {
        grid-template-columns: 1fr;
    }
    .dh-contact-map{
        height: 500px;
    }
    .dh-contact-map__frame{
        height: 400px;
    }
}
@media screen and (max-width: 800px) {
    .dh-sec{
        padding: 100px 0;
    }
    .dh-sec-dot{
        width: 12px;
        height: 12px;
    }
    .dh-sec-head{
        margin-bottom: 80px;
    }
    .dh-inner::before{
        width: 2px;
        height: 110px;
    }
    .dh-values,
    .dh-products,
    .dh-contact{
        padding-bottom: calc(100px + 8vw);
    }
    /* banner */
    .dh-banner{
        padding-bottom: 0;
    }
    .dh-banner__inner{
        height: calc(100svh - 8vw);
    }
    /* about us */
    .dh-about{
        padding-bottom: calc(100px - 8vw);
    }
    .dh-about-item{
        height: 50vh;
    }
    .dh-values-block__body{
        gap: 3rem;
    }
    /* products */
    .dh-products-slide__inner{
        flex-direction: column;
    }
    .dh-products-track{
        padding: 0 50px;
    }
    .dh-products-slide__img,
    .dh-products-highlight{
        width: 100%;
    }
    .dh-products-slide__img{
        aspect-ratio: auto;
    }
    .dh-products-slide__img img{
        width: 80%;
    }
    .dh-products-highlight{
        aspect-ratio: auto;
        gap: 20px;
    }

}
@media screen and (max-width: 500px) {
    .dh-sec-title{
        word-break: keep-all;
        font-size: 1.5rem;
        padding: 0 10px;
    }
    .dh-link-more{
        padding: 8px 10px;
    }
    .dh-link-more::before{
        height: 15px;
    }
    /* banner */
    .dh-banner{
        height: 100svh;
    }
    /* about us */
    .dh-about-list{
        gap: 60px;
    }
    .dh-about-item{
        border-radius: 2rem;
        padding: 20px;
        height: 250px;
        position: static;
    }
    .dh-about-card{
        border-radius: 2rem;
    }
    /* value */
    .dh-values-block__bg-label{
        font-size: 3.5rem;
    }
    .dh-values-block__body{
        flex-direction: column;
        padding: 0 40px;
    }
    .dh-values-block__body--reverse{
        flex-direction: column-reverse;
    }
    .dh-values-block__body--reverse .dh-values-block__circle{
        box-shadow: 5px 10px 0 var(--color-white);
    }
    .dh-values-block__circle{
        flex: auto;
        width: 90%;
    }
    .dh-values-block__heading{
        font-size: 20px;
    }
    .dh-values-block__desc{
        font-size: 16px;
    }
    /* product */
    .dh-products-slider{
        gap: 0;
    }
    .dh-products-track{
        padding: 0 10px;
    }
    .dh-products-highlight{
        padding: 20px;
    }
    /* contact */
    .dh-contact-map-inner{
        padding: 20px;
        gap: 20px;
    }
    .dh-contact-info{
        flex-direction: column;
        gap: 10px;
    }
    .dh-contact-info-item:first-child{
        border: 0;
    }
    .dh-notice-box{
        padding: 30px;
    }
    .dh-notice-box__list .dh-notice-box__item{
        padding: 10px;
    }
}