/* ========================================
   HERO TEXT ANIMATION
======================================== */

.hk-hero__content > * {
    opacity: 0;
    transform: translateY(35px);
}

/* 애니메이션 실행 */
.hk-hero__slide.is-text-animate .hk-hero__eyebrow {
    animation: hkHeroTextUp 0.8s 0.15s forwards;
}

.hk-hero__slide.is-text-animate .hk-hero__content h1,
.hk-hero__slide.is-text-animate .hk-hero__content h2 {
    animation: hkHeroTextUp 0.85s 0.28s forwards;
}

.hk-hero__slide.is-text-animate .hk-hero__description {
    animation: hkHeroTextUp 0.85s 0.42s forwards;
}

.hk-hero__slide.is-text-animate .hk-outline-button {
    animation: hkHeroTextUp 0.85s 0.56s forwards;
}

@keyframes hkHeroTextUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}






.hk-hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: #101820;
    color: #fff;
}

.hk-hero__slider,
.hk-hero__slider .slick-list,
.hk-hero__slider .slick-track {
    min-height: 100svh;
}

.hk-hero__slider:not(.slick-initialized) .hk-hero__slide:not(:first-child) {
    display: none !important;
}

.hk-hero__slide {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
    background-position: center center;
    background-size: cover;
}

.hk-hero__slide--company {
    background-image: url("/image/main/main-visual01.jpg");
}

.hk-hero__slide--computer {
    background-image: url("/image/main/main-visual03.jpg");
}

.hk-hero__slide--security {
    background-image: url("/image/main/main-visual05.jpg");
}

.hk-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 12, 22, 0.38), rgba(4, 10, 17, 0.16) 46%, rgba(4, 8, 14, 0.64)),
        linear-gradient(90deg, rgba(2, 8, 18, 0.3), transparent 40%, rgba(2, 8, 18, 0.12));
}

.hk-hero__content {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 48px), 1200px);
    padding-top: 70px;
    text-align: center;
}

.hk-hero__eyebrow {
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.24em;
    opacity: 0.82;
}

.hk-hero h1,
.hk-hero h2 {
    font-family: Arial, sans-serif;
    font-size: clamp(72px, 7.3vw, 126px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.055em;
}

.hk-hero__description {
    margin-top: 30px;
    font-size: clamp(22px, 2vw, 36px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.05em;
}

.hk-hero .hk-outline-button {
    margin-top: 72px;
}

.hk-hero__pagination {
    position: absolute;
    z-index: 2;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);
}

.hk-hero__pagination .slick-dots {
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hk-hero__pagination button {
    display: block;
    width: 14px;
    height: 14px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: transparent;
    cursor: pointer;
    font-size: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.hk-hero__pagination .slick-active button {
    background: var(--hk-red);
    transform: scale(1.08);
}

.hk-hero__progress {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.hk-hero__progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--hk-red);
}

.hk-hero__progress span.is-running {
    animation: hk-hero-progress var(--hk-hero-duration, 6000ms) linear forwards;
}

@keyframes hk-hero-progress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.hk-products {
    position: relative;
    padding: 150px 0 170px;
    overflow: hidden;
    background: url("/image/main/products-bg.jpg") top center;
    background-size: cover;
    /*background:
        radial-gradient(circle at 70% 18%, rgba(223, 31, 45, 0.055) 0 4px, transparent 5px),
        linear-gradient(125deg, transparent 0 45%, rgba(31, 42, 61, 0.035) 45.1% 45.25%, transparent 45.35%),
        #fff;
    background-size: 150px 150px, 240px 240px, auto;*/
}

.hk-section-heading {
    margin-bottom: 80px;
}

.hk-section-heading h2 {
    max-width: 1100px;
    font-size: clamp(34px, 3.2vw, 48px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.06em;
}

.hk-business-list {
    display: grid;
    gap: 48px;
}


/* 김화진 수정 */

.hk-business-card__content {
    position: relative;
    z-index: 2;
    width: 46%;
    padding: 50px 62px;
}

.hk-business-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 470px;
    overflow: hidden;
    border-radius: 32px;
    color: #fff;
    background: #111;
}

.hk-business-card::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    /*background: linear-gradient(
        90deg,
        rgba(1, 7, 17, 0.96) 0%,
        rgba(1, 7, 17, 0.7) 33%,
        rgba(1, 7, 17, 0.08) 72%
    );*/
}

/* 배경 이미지 */
.hk-business-card::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1);
    transition:
        opacity 1s ease,
        transform 1.2s cubic-bezier(.22, 1, .36, 1);
}

/* AOS가 실행된 뒤 */
.hk-business-card.aos-animate::after {
    opacity: 1;
    transform: scale(1);
}

.hk-business-card--computer::after {
    background-image: url("/image/main/business-computer.jpg");
}

.hk-business-card--security::after {
    background-image: url("/image/main/business-security.jpg");
}

/* //김화진 수정 */




.hk-business-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 470px;
    overflow: hidden;
    border-radius: 32px;
    background-position: center;
    background-size: cover;
    color: #fff;
}

/*.hk-business-card::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(1, 7, 17, 0.96) 0%, rgba(1, 7, 17, 0.7) 33%, rgba(1, 7, 17, 0.08) 72%);
}*/

/*.hk-business-card--computer {
    background-image: url("/image/main/business-computer.jpg");
}

.hk-business-card--security {
    background-image: url("/image/main/business-security.jpg");
}*/

/*.hk-business-card__content {
    position: relative;
    z-index: 1;
    width: 46%;
    padding: 50px 62px;
}*/

.hk-business-card h3 {
    font-size: clamp(32px, 3vw, 48px);
    line-height: 1.2;
}

.hk-business-card p {
    margin-top: 24px;
    font-size: 19px;
    line-height: 1.65;
}

.hk-business-card .hk-light-button {
    margin-top: 38px;
}

.hk-values {
    padding: 145px 0 160px;
    background: var(--hk-surface);
}


.hk-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px;
}

.hk-value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 290px;
    padding: 36px;
    border: 1px solid rgba(24, 27, 32, 0.04);
    border-radius: 24px;
    background: #fff;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}


.hk-value-grid .hk-value-card{
    transition: transform .4s ease, box-shadow .4s ease;
}

.hk-value-grid .hk-value-card:hover{
    transform: translateY(-15px) !important;
    box-shadow: 0 24px 50px rgba(31, 36, 45, 0.08);
}

.hk-value-card img {
    width: 160px;
    height: 142px;
    margin-bottom: 4px;
    object-fit: contain;
}

.hk-value-card h3 {
    color: var(--hk-red);
    font-family: Arial, sans-serif;
    font-size: 24px;
}

.hk-value-card p {
    margin-top: 8px;
    color: #2f3237;
    font-size: 16px;
}

.hk-quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.hk-quick-link {
    position: relative;
    display: flex;
    min-height: 380px;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    color: #fff !important;
}

.hk-quick-link::before {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(5, 8, 12, 0.48);
    transition: background-color 0.25s ease;
}

.hk-quick-link:hover::before {
    background: rgba(5, 8, 12, 0.32);
}

.hk-quick-link--contact {
    background-image: url("/image/main/cta-contact.webp");
}

.hk-quick-link--blog {
    background-image: url("/image/main/cta-blog.webp");
}

.hk-quick-link__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 700px;
    min-height: 380px;
    padding: 60px clamp(48px, 4vw, 70px);
}

.hk-quick-link--contact .hk-quick-link__content {
    margin-left: auto;
}

.hk-quick-link--blog .hk-quick-link__content {
    margin-right: auto;
}

.hk-quick-link__content > span {
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.hk-quick-link__content > strong {
    margin-top: 22px;
    font-size: clamp(28px, 2.4vw, 36px);
    line-height: 1.35;
    letter-spacing: -0.05em;
    font-weight: 400;
}

.hk-quick-link__content > em {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    min-width: 164px;
    margin-top: 48px;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    font-style: normal;
}

.hk-quick-link b {
    font-size: 20px;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .hk-products,
    .hk-values {
        padding: 110px 0;
    }

    .hk-business-card {
        min-height: 410px;
    }

    .hk-business-card__content {
        width: 58%;
        padding: 42px;
    }

    .hk-value-grid {
        gap: 22px;
    }

    .hk-value-card {
        min-height: 260px;
        padding: 25px;
    }
}

@media (max-width: 760px) {
    .hk-hero {
        min-height: 760px;
    }

    .hk-hero__slider,
    .hk-hero__slider .slick-list,
    .hk-hero__slider .slick-track,
    .hk-hero__slide {
        min-height: 760px;
    }

    .hk-hero__slide--company {
        background-position: 58% center;
    }

    .hk-hero__slide--computer {
        background-position: 62% center;
    }

    .hk-hero__slide--security {
        background-position: 66% center;
    }

    .hk-hero__content {
        padding-top: 10px;
    }

    .hk-hero__eyebrow {
        font-size: 11px;
    }

    .hk-hero h1,
    .hk-hero h2 {
        font-size: clamp(44px, 13.2vw, 56px);
        white-space: nowrap;
    }

    .hk-hero__description {
        margin-top: 24px;
        font-size: 19px;
    }

    .hk-hero__description br {
        display: none;
    }

    .hk-hero .hk-outline-button {
        margin-top: 48px;
    }

    .hk-hero__pagination {
        bottom: 54px;
    }

    .hk-hero__pagination .slick-dots {
        gap: 14px;
    }

    .hk-hero__pagination button {
        width: 10px;
        height: 10px;
    }

    .hk-products,
    .hk-values {
        padding: 82px 0;
    }

    .hk-section-heading {
        margin-bottom: 44px;
    }

    .hk-section-heading > p {
        font-size: 16px;
    }

    .hk-section-heading h2 {
        font-size: 30px;
    }

    .hk-section-heading h2 br {
        display: none;
    }

    .hk-business-list {
        gap: 24px;
    }

    .hk-business-card {
        /*align-items: flex-end;*/
        align-items: flex-start;
        min-height: 460px;
        border-radius: 22px;
        background-position: 64% center;
    }

    .hk-business-card::before {
        /*background: linear-gradient(180deg, rgba(2, 8, 17, 0.08), rgba(2, 8, 17, 0.92) 70%);*/
    }

    .hk-business-card__content {
        width: 100%;
        padding: 34px 28px;
    }

    .hk-business-card h3 {
        font-size: 31px;
    }

    .hk-business-card p {
        margin-top: 14px;
        font-size: 18px;
    }

    .hk-business-card .hk-light-button {
        margin-top: 26px;
    }

    .hk-value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .hk-value-card {
        min-height: 220px;
        padding: 20px 12px;
        border-radius: 18px;
    }

    .hk-value-card img {
        width: 100px;
        height: 89px;
        margin-bottom: 4px;
    }

    .hk-value-card h3 {
        font-size: 19px;
    }

    .hk-value-card p {
        font-size: 18px;
    }

    .hk-quick-links {
        grid-template-columns: 1fr;
    }

    .hk-quick-link {
        min-height: 320px;
    }

    .hk-quick-link__content {
        max-width: none;
        min-height: 320px;
        padding: 44px 24px;
    }

    .hk-quick-link__content > span {
        font-size: 15px;
    }

    .hk-quick-link__content > strong {
        font-size: 30px;
    }

    .hk-quick-link__content > em {
        margin-top: 32px;
    }
}
