/* ==========================================================================
   회사 소개 (사업 소개, 회사 연혁, 오시는 길)
   ========================================================================== */

/* ----- 사업 소개 ----- */
.hk-intro__logo { line-height: 0; }
.hk-intro__logo img { width: 170px; height: 37px; }
.hk-intro__text {
    max-width: 762px;
    margin-top: 8px;
    font-size: 16px;
    line-height: 20px;
}
.hk-areas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.hk-areas__item {
    min-height: 270px;
    padding: 40px 32px 32px 48px;
    border-radius: var(--hk-radius);
    background: var(--hk-bg);
}
.hk-areas__icon { display: block; height: 103px; width: auto; object-fit: contain; object-position: left bottom; }
.hk-areas__title { margin-top: 20px; font-size: 16px; font-weight: 600; line-height: 20px; }
.hk-areas__text { margin-top: 8px; font-size: 14px; line-height: 17px; color: var(--hk-sub-text); }

.hk-block { margin-top: 160px; }
.hk-block__lead { margin-top: 8px; font-size: 16px; line-height: 20px; }

.hk-rows { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.hk-row {
    display: flex;
    align-items: center;
    min-height: 320px;
    border-radius: var(--hk-radius);
    background: var(--hk-bg);
    overflow: hidden;
}
.hk-row--reverse { flex-direction: row-reverse; }
.hk-row__img { flex: 0 0 400px; width: 400px; height: 320px; object-fit: cover; }
.hk-row__body { flex: 1 1 auto; min-width: 0; padding: 40px 72px; }
.hk-row--reverse .hk-row__body { padding-left: 80px; padding-right: 64px; }
.hk-row__badge { display: block; width: 63px; height: 20px; }
.hk-row__title { margin-top: 4px; font-size: 16px; font-weight: 600; line-height: 20px; }
.hk-row__text { max-width: 424px; margin-top: 32px; font-size: 14px; line-height: 19px; }

.hk-values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.hk-values__item {
    min-height: 203px;
    padding: 40px;
    border-radius: var(--hk-radius);
    background: var(--hk-bg);
    box-shadow: var(--hk-shadow);
}
.hk-values__title { font-size: 16px; font-weight: 600; line-height: 20px; }
.hk-values__text { max-width: 446px; margin-top: 16px; font-size: 14px; line-height: 17.5px; color: var(--hk-sub-text); }

/* ----- 회사 연혁 ----- */
.hk-history { margin-top: 40px; }
.hk-history__year { display: flex; position: relative; }
.hk-history__year + .hk-history__year { margin-top: 60px; }
.hk-history__y,
.hk-history__m {
    flex: none;
    font-size: 20px;
    font-weight: 700;
    line-height: 25px;
}
.hk-history__y { width: 68px; }
.hk-history__m { width: 105px; }
.hk-history__year::after {
    content: '';
    position: absolute;
    left: 123px;
    top: 9px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}
.hk-history__months { flex: 1 1 auto; min-width: 0; }
.hk-history__month { display: flex; }
.hk-history__month + .hk-history__month { margin-top: 10px; }
.hk-history__texts { flex: 1 1 auto; min-width: 0; padding-top: 3px; }
.hk-history__texts li { font-size: 16px; font-weight: 700; line-height: 20px; }
.hk-history__texts li::before { content: '·'; }
.hk-history__texts li + li { margin-top: 15px; }

/* ----- 오시는 길 ----- */
.hk-map {
    display: block;
    overflow: hidden;
    border-radius: var(--hk-radius);
    line-height: 0;
}
.hk-map img { width: 100%; height: auto; transition: transform .4s; }
.hk-map:hover img { transform: scale(1.01); }

.hk-info { display: flex; margin-top: 40px; }
.hk-info + .hk-info { margin-top: 80px; }
.hk-map + .hk-info { margin-top: 40px; }
.hk-info__heading {
    flex: 0 0 207px;
    font-size: 32px;
    font-weight: 500;
    line-height: 25px;
}
.hk-info__list { flex: 1 1 auto; min-width: 0; }
.hk-info__row {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid var(--hk-black);
    font-size: 20px;
    font-weight: 500;
    line-height: 25px;
}
.hk-info__row:first-child { padding-top: 0; }
.hk-info__row dt { flex: 0 0 274px; }
.hk-info__row dd { flex: 1 1 auto; min-width: 0; }
.hk-info__row a:hover { color: var(--hk-blue); }

/* ==========================================================================
   반응형
   ========================================================================== */
@media (max-width: 1000px) {
    .hk-areas { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .hk-areas__item { min-height: 0; display: grid; grid-template-columns: 110px 1fr; column-gap: 24px; align-items: center; padding: 28px 32px; }
    .hk-areas__icon { grid-row: span 2; height: 90px; }
    .hk-areas__title { margin-top: 0; align-self: end; }
    .hk-areas__text { align-self: start; }
    .hk-areas__text br { display: none; }
    .hk-block { margin-top: 110px; }
    .hk-row,
    .hk-row--reverse { flex-direction: column; align-items: stretch; }
    .hk-row__img { flex: none; width: 100%; height: auto; aspect-ratio: 400 / 320; max-height: 360px; }
    .hk-row__body,
    .hk-row--reverse .hk-row__body { padding: 32px; }
    .hk-row__text { max-width: none; margin-top: 16px; }
    .hk-info { flex-direction: column; gap: 24px; }
    .hk-info__heading { flex: none; }
    .hk-info__row dt { flex-basis: 160px; }
}

@media (max-width: 500px) {
    .hk-intro__logo img { width: 140px; height: auto; }
    .hk-intro__text, .hk-block__lead { font-size: 15px; line-height: 1.5; }
    .hk-areas__item { grid-template-columns: 72px 1fr; padding: 24px 20px; column-gap: 16px; }
    .hk-areas__icon { height: 64px; }
    .hk-block { margin-top: 80px; }
    .hk-row__body,
    .hk-row--reverse .hk-row__body { padding: 24px 20px 28px; }
    .hk-values { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .hk-values__item { min-height: 0; padding: 28px 24px; }

    .hk-history__year { flex-wrap: wrap; padding-left: 22px; }
    .hk-history__year::after { left: 0; top: 8px; }
    .hk-history__y { width: 100%; margin-bottom: 8px; }
    .hk-history__m { width: 44px; font-size: 17px; }
    .hk-history__texts li { font-size: 15px; }
    .hk-history__year + .hk-history__year { margin-top: 40px; }

    .hk-info__heading { font-size: 26px; }
    .hk-info__row { flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.5; }
    .hk-info__row dt { flex: none; color: var(--hk-muted); font-size: 14px; }
    .hk-info__row dd br { display: block; content: ''; margin-bottom: 4px; }
}
