/* ==========================================================================
   메인(홈) 페이지 전용 스타일
   - 다른 페이지 CSS와 충돌하지 않도록 home-*, program-*, news-*, business-* 접두사 사용
   ========================================================================== */

/* --------------------------------------------------------------------------
   중요 공지 팝업 (index.html에서 주석 해제 시 사용)
   -------------------------------------------------------------------------- */
.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(7, 15, 38, 0.6);
    backdrop-filter: blur(4px);
    animation: popupFadeIn 0.25s ease;
}

.popup-overlay.hidden {
    display: none;
}

@keyframes popupFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-banner {
    position: relative;
    width: 100%;
    max-width: 520px;
    padding: 2.25rem 2rem 1.5rem;
    border-radius: var(--r-xl);
    background: var(--surface);
    box-shadow: var(--shadow-pop);
    text-align: center;
    animation: popupSlideUp 0.35s var(--ease);
}

@keyframes popupSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

.popup-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.popup-close:hover {
    background: var(--surface-2);
    color: var(--ink);
}

.popup-header-badge {
    display: inline-block;
    margin-bottom: 1.25rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--brand);
    font-size: 0.85rem;
    font-weight: 700;
}

.popup-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.popup-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--r-lg);
    background: var(--navy-900);
    color: #fff;
    text-align: left;
    text-decoration: none;
    transition: transform 0.25s var(--ease), background 0.2s ease;
}

.popup-card:nth-child(2) {
    background: var(--brand);
}

.popup-card:hover {
    transform: translateY(-3px);
}

.popup-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
}

.popup-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sky);
}

.popup-card:nth-child(2) .popup-card-link {
    color: #fff;
}

.popup-card:hover .popup-card-link {
    text-decoration: underline;
}

.popup-desc {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.popup-today {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--muted);
    cursor: pointer;
}

.popup-today input[type="checkbox"] {
    accent-color: var(--brand);
}

@media (max-width: 480px) {
    .popup-cards {
        grid-template-columns: 1fr;
    }

    .popup-banner {
        padding: 2rem 1.25rem 1.25rem;
    }
}

/* --------------------------------------------------------------------------
   공통 섹션
   -------------------------------------------------------------------------- */
.home-section {
    padding: 6.5rem 0;
}

.home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.75rem;
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
}

.home-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: currentColor;
}

.home-kicker--light {
    color: var(--sky);
}

.home-section-title {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.035em;
    color: var(--ink);
}

.home-section-desc {
    max-width: 560px;
    margin-top: 0.9rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--muted);
}

.home-more {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink-2);
    text-decoration: none;
    transition: color 0.2s ease;
}

.home-more i {
    font-size: 0.8em;
    transition: transform 0.25s var(--ease);
}

.home-more:hover {
    color: var(--brand);
}

.home-more:hover i {
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   히어로
   -------------------------------------------------------------------------- */
.home-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(60% 70% at 100% 0%, var(--sky-100) 0%, rgba(231, 244, 252, 0) 70%),
        var(--surface);
}

.home-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 4rem;
    max-width: var(--wide-max);
    margin: 0 auto;
    padding: 5rem var(--gutter) 4.5rem;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    padding: 0.4rem 0.9rem 0.4rem 0.5rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink-2);
}

.home-eyebrow-mark {
    display: grid;
    grid-template-columns: repeat(2, 7px);
    grid-auto-rows: 7px;
    gap: 2px;
    height: 16px;
}

.home-eyebrow-mark::before,
.home-eyebrow-mark::after {
    content: "";
    border-radius: 1px;
}

.home-eyebrow-mark::before {
    background: var(--navy-900);
}

.home-eyebrow-mark::after {
    background: var(--brand);
    box-shadow: -9px 9px 0 var(--sky), 0 9px 0 var(--azure);
}

.home-hero-title {
    font-size: clamp(2.4rem, 5.2vw, 4.25rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.04em;
    color: var(--navy-900);
}

.home-hero-accent {
    background: linear-gradient(90deg, var(--brand) 0%, var(--azure) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-hero-lead {
    max-width: 520px;
    margin-top: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--ink-2);
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.25rem;
}

.home-hero-actions .btn {
    min-height: 54px;
    padding: 0.9rem 1.6rem;
    font-size: 1.05rem;
}

/* 로고를 닮은 3×3 모자이크 */
.home-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
    aspect-ratio: 1 / 1;
    max-width: 560px;
    margin-left: auto;
}

.tile {
    position: relative;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    animation: tileIn 0.8s var(--ease) both;
}

.tile-navy { background: var(--navy-900); grid-area: 1 / 1; animation-delay: 0.05s; }
.tile-slate { background: var(--slate); grid-area: 2 / 1; animation-delay: 0.15s; }
.tile-sky { background: var(--sky); grid-area: 3 / 1; animation-delay: 0.25s; }

.tile-photo {
    margin: 0;
    background: var(--surface-3);
}

.tile-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tile-photo-main {
    grid-area: 1 / 2 / 3 / 4;
    animation-delay: 0.1s;
}

.tile-photo-main::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 24, 56, 0) 55%, rgba(11, 24, 56, 0.55) 100%);
}

.tile-photo-main figcaption {
    position: absolute;
    left: 1rem;
    bottom: 0.9rem;
    z-index: 1;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy-900);
}

.tile-photo:not(.tile-photo-main) {
    grid-area: 3 / 2;
    animation-delay: 0.3s;
}

.tile-photo:not(.tile-photo-main)::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--azure);
    mix-blend-mode: multiply;
    opacity: 0.35;
}

.tile-wordmark {
    grid-area: 3 / 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: clamp(0.75rem, 1.2vw, 0.95rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--slate);
    animation-delay: 0.35s;
}

.tile-wordmark b {
    color: var(--brand);
    font-weight: 800;
}

@keyframes tileIn {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: none; }
}

/* 최신 공지 바 */
.home-hero-bar {
    max-width: var(--wide-max);
    margin: 0 auto;
    padding: 0 var(--gutter) 3.5rem;
}

.home-latest {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface);
    box-shadow: var(--shadow-card);
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-latest:hover {
    border-color: var(--brand);
}

.home-latest-badge {
    flex-shrink: 0;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    background: var(--navy-900);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.home-latest-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 600;
}

.home-latest-date {
    flex-shrink: 0;
    font-size: 0.875rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.home-latest > i {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--muted);
    transition: transform 0.25s var(--ease), color 0.2s ease;
}

.home-latest:hover > i {
    color: var(--brand);
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   모집 중인 프로그램
   -------------------------------------------------------------------------- */
.home-programs {
    background: var(--surface-2);
}

/* 모집 시즌 안내 (예: 2026년 모집 종료 · 2027년 모집 예정) — 클릭 요소로 보이지 않도록 텍스트형 안내 */
.program-season {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0;
    margin-top: 1.25rem;
    padding-left: 0.9rem;
    border-left: 3px solid var(--navy-900);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
}

.program-season-badge {
    color: var(--ink);
}

.program-season-next {
    color: var(--brand);
}

.program-season-next::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 0.85em;
    margin: 0 0.75rem;
    background: var(--line-strong);
    vertical-align: -0.05em;
}

.home-program-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.program-card {
    --card-bg: var(--navy-900);
    --card-accent: var(--sky);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.25rem;
    border-radius: var(--r-xl);
    background: var(--card-bg);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.program-card--network {
    --card-bg: var(--brand);
    --card-accent: #bfe6fa;
}

/* 카드 우측 상단 타일 장식 */
.program-card::before {
    content: "";
    position: absolute;
    top: -1px;
    right: -1px;
    width: 150px;
    height: 150px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)) 100px 0 / 50px 50px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)) 50px 0 / 50px 50px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)) 100px 50px / 50px 50px no-repeat,
        linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)) 100px 100px / 50px 50px no-repeat;
    z-index: -1;
}

.program-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.program-tag {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--card-accent);
}

.program-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.12);
    font-size: 1.15rem;
}

.program-title {
    font-size: clamp(1.5rem, 2.4vw, 1.9rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.035em;
}

.program-desc {
    margin-top: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.program-meta {
    display: grid;
    gap: 0.65rem;
    margin: 1.75rem 0 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.95rem;
}

.program-meta div {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 0.75rem;
}

.program-meta dt {
    font-weight: 700;
    color: var(--card-accent);
}

.program-meta dd {
    color: rgba(255, 255, 255, 0.88);
}

.program-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding: 1rem 1.25rem;
    border-radius: var(--r-md);
    background: #fff;
    color: var(--navy-900);
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.program-link i {
    transition: transform 0.25s var(--ease);
}

.program-link:hover {
    background: var(--sky-100);
}

.program-link:hover i {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   법인소식
   -------------------------------------------------------------------------- */
.home-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.news-panel {
    padding: 1.75rem 2rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
}

.news-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--ink);
}

.news-panel-head h3 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.news-panel-head h3 i {
    font-size: 0.95rem;
    color: var(--brand);
}

.news-list {
    list-style: none;
}

.news-list li + li {
    border-top: 1px solid var(--line);
}

.news-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.25rem;
    padding: 1.05rem 0;
    color: var(--ink);
    text-decoration: none;
}

.news-item-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 500;
    transition: color 0.15s ease;
}

.news-item:hover .news-item-title {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-item-date {
    font-size: 0.875rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.news-item-new {
    display: inline-block;
    margin-right: 0.4rem;
    padding: 0.05rem 0.4rem;
    border-radius: 4px;
    background: var(--brand-50);
    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 800;
    vertical-align: 2px;
}

.news-state {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 2.5rem 0;
    justify-content: center;
    color: var(--muted);
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   주요 사업
   -------------------------------------------------------------------------- */
.home-business {
    position: relative;
    background: var(--navy-900);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.home-business::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(50% 60% at 0% 0%, rgba(20, 136, 208, 0.28) 0%, rgba(20, 136, 208, 0) 70%),
        radial-gradient(40% 50% at 100% 100%, rgba(79, 191, 238, 0.14) 0%, rgba(79, 191, 238, 0) 70%);
    z-index: -1;
}

.home-business .home-section-title {
    color: #fff;
}

.home-business .home-section-desc {
    color: rgba(255, 255, 255, 0.65);
}

.home-business-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.business-intro {
    padding: 0.5rem 1.5rem 2rem 0;
}

.business-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease);
}

.business-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(79, 191, 238, 0.5);
    transform: translateY(-4px);
}

.business-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sky);
    font-variant-numeric: tabular-nums;
}

.business-card h3 {
    margin-top: 2.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.business-card p {
    margin-top: 0.6rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
}

.business-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease);
}

.business-card:hover .business-arrow {
    background: var(--sky);
    border-color: var(--sky);
    color: var(--navy-900);
    transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   법인 소개
   -------------------------------------------------------------------------- */
.home-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 5rem;
}

.home-about-media {
    position: relative;
    padding: 0 0 2rem 2rem;
}

.home-about-media img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border-radius: var(--r-lg);
}

.home-about-tile {
    position: absolute;
    border-radius: 6px;
}

.home-about-tile--a {
    left: 0;
    bottom: 0;
    width: 38%;
    height: 45%;
    background: var(--sky);
}

.home-about-tile--b {
    left: calc(38% + 10px);
    bottom: 0;
    width: 18%;
    height: 22%;
    background: var(--navy-900);
    z-index: 2;
    display: none;
}

.home-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 2.25rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.home-facts div {
    padding: 1.35rem 1rem 1.35rem 0;
}

.home-facts div + div {
    padding-left: 1.25rem;
    border-left: 1px solid var(--line);
}

.home-facts dt {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--navy-900);
    font-variant-numeric: tabular-nums;
}

.home-facts dt small {
    margin-left: 2px;
    font-size: 1rem;
    font-weight: 700;
}

.home-facts dd {
    margin-top: 0.4rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.home-about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.home-about-links a {
    padding: 0.55rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-2);
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.home-about-links a:hover {
    border-color: var(--brand);
    background: var(--brand-50);
    color: var(--brand);
}

/* --------------------------------------------------------------------------
   오시는 길
   -------------------------------------------------------------------------- */
.home-visit {
    padding-top: 0;
}

.home-visit-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    padding: 3rem;
    border-radius: var(--r-xl);
    background:
        radial-gradient(70% 90% at 100% 100%, rgba(20, 136, 208, 0.3) 0%, rgba(20, 136, 208, 0) 70%),
        var(--navy-900);
    color: #fff;
}

.home-visit .home-section-title {
    color: #fff;
}

.home-visit-list {
    display: grid;
    gap: 1.1rem;
    margin: 2rem 0 2.25rem;
}

.home-visit-list div {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    gap: 1rem;
}

.home-visit-list dt {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: fit-content;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

.home-visit-list dt i {
    width: 1rem;
    color: var(--sky);
    font-size: 0.85rem;
}

.home-visit-list dd {
    font-weight: 600;
    line-height: 1.55;
}

.home-visit-list dd span {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

.home-visit-list a {
    color: #fff;
    text-decoration: none;
}

.home-visit-list a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-visit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-visit-map {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    border-radius: var(--r-lg);
    background: #fff;
}

.home-visit-map img {
    display: block;
    width: 100%;
    max-height: 380px;
    object-fit: contain;
}

.home-map-links {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    gap: 0.5rem;
}

.map-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s var(--ease);
}

.map-chip i {
    font-size: 0.7rem;
}

.map-chip:hover {
    transform: translateY(-2px);
}

.map-chip--kakao {
    background: #fee500;
    color: #191600;
}

.map-chip--naver {
    background: #03c75a;
    color: #fff;
}

/* --------------------------------------------------------------------------
   반응형
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .home-section {
        padding: 5rem 0;
    }

    .home-hero-inner {
        gap: 2.5rem;
        padding-top: 3.5rem;
    }

    .home-business-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .business-intro {
        grid-column: 1 / -1;
        padding-right: 0;
    }

    .home-about-grid {
        gap: 3rem;
    }

    .home-visit-card {
        grid-template-columns: 1fr;
        padding: 2.5rem;
    }
}

@media (max-width: 860px) {
    .home-hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-top: 2.75rem;
        padding-bottom: 2.5rem;
    }

    .home-mosaic {
        max-width: none;
        margin: 0;
        aspect-ratio: 5 / 2;
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 8px;
    }

    .tile-navy { grid-area: 1 / 1; }
    .tile-slate { grid-area: 2 / 1; }
    .tile-photo-main { grid-area: 1 / 2 / 3 / 5; }
    .tile-sky { grid-area: 1 / 5; }
    .tile-photo:not(.tile-photo-main) { display: none; }
    .tile-wordmark { grid-area: 2 / 5; padding: 0.5rem; }

    .home-hero-bar {
        padding-bottom: 2.5rem;
    }

    .home-program-grid,
    .home-news-grid,
    .home-about-grid {
        grid-template-columns: 1fr;
    }

    .home-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-about-media {
        padding: 0 0 1.25rem 1.25rem;
    }
}

@media (max-width: 600px) {
    .home-section {
        padding: 4rem 0;
    }

    .home-hero-title {
        font-size: 2.25rem;
    }

    .home-hero-lead {
        font-size: 1rem;
    }

    .home-hero-actions .btn {
        flex: 1 1 auto;
    }

    .home-mosaic {
        aspect-ratio: 4 / 3;
        grid-template-columns: repeat(3, 1fr);
    }

    .tile-slate,
    .tile-sky { display: none; }
    .tile-navy { grid-area: 1 / 3; }
    .tile-photo-main { grid-area: 1 / 1 / 3 / 3; }
    .tile-wordmark { grid-area: 2 / 3; }

    .home-latest {
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem;
        padding: 0.9rem 1rem;
    }

    .home-latest-title {
        flex-basis: 100%;
        order: 3;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .home-latest > i {
        margin-left: auto;
    }

    .program-card {
        padding: 1.75rem 1.5rem;
    }

    .program-meta div {
        grid-template-columns: 2.75rem 1fr;
    }

    .news-panel {
        padding: 1.25rem 1.25rem 0.5rem;
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .news-item-title {
        -webkit-line-clamp: 2;
    }

    .home-business-grid {
        grid-template-columns: 1fr;
    }

    .business-card {
        min-height: 0;
    }

    .business-card h3 {
        margin-top: 1.25rem;
    }

    .home-facts dt {
        font-size: 1.6rem;
    }

    .home-facts div + div {
        padding-left: 0.75rem;
    }

    .home-visit-card {
        padding: 2rem 1.25rem 1.25rem;
        border-radius: var(--r-lg);
    }

    .home-visit-list div {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .home-visit-actions .btn {
        flex: 1 1 auto;
    }

    .home-visit-map {
        padding: 0.75rem 0.75rem 3.75rem;
    }

    .home-map-links {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .map-chip {
        flex: 1;
        justify-content: center;
    }
}
