/* ==========================================================================
   메인 페이지 전용 (공통 요소는 common.css)
   ========================================================================== */

/* ---------- 상단 영역 ---------- */

.home-hero {
    position: relative;
    padding: 128px 0 112px;
    background:
        radial-gradient(circle at 18% 50%, rgba(0, 184, 160, 0.22) 0%, transparent 58%),
        radial-gradient(circle at 82% 25%, rgba(30, 143, 255, 0.18) 0%, transparent 55%),
        linear-gradient(135deg, rgba(13, 27, 46, 0.94) 0%, rgba(26, 53, 84, 0.84) 55%, rgba(13, 58, 74, 0.72) 100%),
        url('/images/home-hero-323a426fcf9112ca18faddc3ff60927a.jpg') center / cover no-repeat;
    color: #fff;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    align-items: center;
    gap: 48px;
}

.hero-copy h1 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 4.2vw, 3.1rem);
    font-weight: 900;
    line-height: 1.28;
    letter-spacing: -0.01em;
}

.hero-copy h1 span {
    color: var(--teal);
}

.hero-copy .hero-desc {
    max-width: 640px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.85;
}

/* 상단 아래쪽 실적 한 줄 — 두 열 아래에 가로로 길게 */
.hero-facts {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 8px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    list-style: none;
}

.hero-facts li + li {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-facts a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    color: #fff;
}

.hero-facts li:first-child a {
    padding-left: 0;
}

.hero-facts strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
}

.hero-facts small {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* 역량진단 우수기업만 연표 설립 배지와 같은 황금색으로 살짝 */
.hero-facts .is-key strong {
    color: #ffc233;
}

.hero-facts .is-key .hero-facts-mark {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat,
        linear-gradient(135deg, #ffc233, #f08c00);
}

.hero-facts a:hover strong {
    color: var(--teal);
}

.hero-facts-mark {
    flex: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat,
        var(--teal);
}

/* 오른쪽 솔루션 바로가기 카드 */
.highlight-card {
    padding: 28px;
    border: 1px solid rgba(0, 184, 160, 0.28);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
}

.highlight-title {
    margin-bottom: 16px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--teal);
}

.highlight-list {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.highlight-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.highlight-list a:hover {
    transform: translateX(3px);
    border-color: var(--teal);
    background: rgba(0, 184, 160, 0.12);
}

.highlight-tag {
    flex: 0 0 52px;
    padding: 4px 0;
    border-radius: 8px;
    background: var(--grad);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.04em;
}

.highlight-name {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    line-height: 1.35;
}

.highlight-name small {
    margin-top: 2px;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

.highlight-more {
    font-weight: 700;
    color: var(--teal);
}

.highlight-more:hover {
    color: #fff;
}

/* ---------- 섹션 ---------- */

.section-bottom-link {
    margin-top: 28px;
    text-align: right;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
    gap: 40px;
}

.intro-copy h2 {
    margin-bottom: 16px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--navy);
}

.intro-copy p {
    color: var(--sub);
    line-height: 1.85;
}

.intro-copy .btn {
    margin-top: 8px;
}

.intro-points {
    display: grid;
    gap: 16px;
}

@media (max-width: 1024px) {
    .hero-inner,
    .intro-grid {
        grid-template-columns: 1fr;
    }

    /* 한 열일 때는 실적 줄을 버튼 바로 아래로 올려 첫 화면에 보이게 */
    .hero-copy {
        order: 1;
    }

    .hero-facts {
        order: 2;
        margin: 0;
        padding: 0;
        border-top: 0;
    }

    .hero-highlight {
        order: 3;
    }
}

@media (max-width: 640px) {
    .home-hero {
        padding: 72px 0 64px;
    }

    .hero-inner {
        gap: 32px;
    }

    .highlight-card {
        padding: 20px;
    }

    .hero-facts {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-facts li + li {
        border-left: 0;
    }

    .hero-facts a {
        padding: 0;
    }

    .hero-facts strong {
        display: inline;
        margin-right: 6px;
        font-size: 0.92rem;
    }

    .hero-facts small {
        display: inline;
    }

    .section-bottom-link {
        text-align: left;
    }
}
