
/* =========================================================
   INDEX PAGE ONLY
========================================================= */

/* ================= HERO ================= */

.hero.hancot-bg {
    min-height: 700px;
    background-image:
        linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
        url('/images/hancot/hancot-main.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    color: #ffffff;
     text-align:center;
}

.hero.hancot-bg h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero.hancot-bg p {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #f8f9fa;
}


/* ================= SECTION TITLE ================= */

.section-title-box {
    text-align: center;
    margin-bottom: 36px;
}

.section-title-box h2 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 900;
    margin-bottom: 10px;
}

.section-title-box p {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 0;
}


/* ================= SERVICE CARD ================= */

.service-link-card {
    display: block;
    height: 100%;
    color: inherit;
}

.service-link-card:hover {
    opacity: 1;
}

.service-card-lg {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.service-card-lg:hover {
    transform: translateY(-4px);
    border-color: rgba(37,99,235,.35);
    box-shadow: 0 14px 32px rgba(37,99,235,.12);
}

.service-card-lg h4 {
    font-size: 1.15rem;
}

.service-card-lg p {
    flex: 1;
    line-height: 1.7;
}

.service-card-lg span {
    margin-top: auto;
    font-weight: 800;
    color: #2563eb;
}

.service-badge {
    display: inline-flex;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 900;
    background: #f1f5f9;
}

.hancot-text {
    color: #2563eb;
}

.sectorhub-text {
    color: #16a34a;
}

.sectorai-text {
    color: #7c3aed;
}

.deviceact-text {
    color: #0f766e;
}


/* ================= STORAGE SECTION ================= */

.soft-section {
    background: #ffffff;
}

.soft-section .domain-card {
       min-height: auto;
}


/* ================= STRUCTURE ================= */

.structure-box {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.structure-main {
    background: #2563eb;
    color: #ffffff;
    border-radius: 20px;
    padding: 24px;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 24px;
}

.structure-main p {
    color: #ffffff;
    font-size: .75rem;
    margin: 5px 0 0;
    font-weight: 600;
}

.structure-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.structure-items div {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 22px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(0,0,0,.04);
}

.structure-items p {
    color: #6c757d;
    font-size: .75rem;
    margin: 5px 0 0;
    font-weight: 600;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 992px) {

    .hero.hancot-bg {
        min-height: 600px;
    }

    .service-card-lg {
        min-height: 230px;
    }

    /* 모바일 헤더 메뉴 버튼 100% */
    #domainHeaderNav .header-actions {
        width: 100%;
    }

    #domainHeaderNav .header-actions .btn {
        width: 100%;
        display: block;
        text-align: center;
        padding: 10px 12px;
    }
}


@media (max-width: 768px) {

    .hero.hancot-bg {
        min-height: 500px;
        text-align: center;
    }

    .hero.hancot-bg h1 {
        font-size: 1.65rem;
        line-height: 1.5;
    }

    .hero.hancot-bg p {
        font-size: .95rem;
        line-height: 1.6;
    }

    .section-title-box {
        margin-bottom: 24px;
    }

    .service-card-lg {
        min-height: auto;
    }

    .structure-main {
        font-size: 22px;
        padding: 20px;
    }

    .structure-items {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}


@media (max-width: 576px) {
	
	 .domain-search .search-btn {
        padding: 4px 10px;
        font-size: 13px;
        height: 34px;
        line-height: 1.2;
    }

    .domain-search .search-btn i {
        font-size: 13px;
    }

    .hero.hancot-bg {
        min-height: 430px;
    }

    .hero.hancot-bg h1 {
        font-size: 1.45rem;
    }

    .hero.hancot-bg p {
        font-size: .9rem;
    }

    .structure-items div {
        padding: 18px;
    }
}