@charset "utf-8";

/* ============================== content-wrapper 하단 여백 제거 */
.content-wrapper {
    margin-bottom: 0 !important;
}

/* ============================== 애니메이션 */
@keyframes float-dot {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(6px, -8px); }
}

/* ============================== 히어로 */
.dir-hero {
    padding: 80px 0 64px;
    background: #fff;
    position: relative;
    border-bottom: 1px solid #eee;
}
.dir-hero__inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.dir-hero__text {
    flex: 1;
}
.dir-label {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #278bda;
    margin: 0 0 12px;
}
.dir-hero__title {
    font-size: 40px;
    font-weight: 800;
    color: #111;
    margin: 0 0 16px;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    line-height: 1.2;
}
.dir-hero__desc {
    font-size: 16px;
    color: #888;
    line-height: 1.7;
    margin: 0;
}
.dir-hero__visual {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
}
.dir-hero__pin {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #eef5fc 0%, #dbeaf8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.dir-hero__pin svg {
    width: 56px;
    height: 56px;
    color: #278bda;
}
.dir-hero__pin::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #5ab4f5;
    opacity: .5;
    animation: float-dot 3s ease-in-out infinite;
}
.dir-hero__pin::before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #278bda;
    opacity: .3;
    animation: float-dot 4s ease-in-out infinite reverse;
}

/* ============================== 공통 섹션 */
.dir-section-label {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #278bda;
    margin: 0 0 10px;
}
.dir-title {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    margin: 0 0 32px;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}
.dir-section {
    padding: 72px 0;
}
.dir-section--alt {
    background: #f8f9fb;
}
.dir-section__inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================== 본사 */
.dir-office--main {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #eee;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,.04);
}
.dir-office__badge {
    display: inline-block;
    padding: 8px 20px;
    background: #278bda;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 0 0 10px 0;
}
.dir-office__content {
    padding: 32px 36px 36px;
}
.dir-office__name {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    margin: 0 0 24px;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}
.dir-office__map {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid #f0f0f0;
}
.dir-office__map iframe {
    display: block;
    width: 100%;
    height: 300px;
}
.dir-office__info {
    margin: 0;
    display: flex;
    flex-direction: column;
}
.dir-office__info-row {
    display: flex;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
}
.dir-office__info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.dir-office__info dt {
    width: 80px;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: #111;
    display: flex;
    align-items: center;
    gap: 6px;
}
.dir-office__info dt svg {
    flex-shrink: 0;
    color: #278bda;
}
.dir-office__info dd {
    margin: 0;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* ============================== 탭 */
.dir-tabs {
    display: inline-flex;
    background: #f0f2f5;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 32px;
}
.dir-tabs__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s ease;
}
.dir-tabs__btn svg {
    flex-shrink: 0;
}
.dir-tabs__btn:hover {
    color: #555;
}
.dir-tabs__btn--active {
    color: #111;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.dir-tabs__btn--active:hover {
    color: #111;
}
.dir-tab-panel {
    display: none;
}
.dir-tab-panel--active {
    display: block;
}

/* ============================== 지점 그리드 */
.dir-branches {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.dir-branch {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
    padding: 24px 28px;
    transition: box-shadow .3s ease, transform .3s ease;
    position: relative;
}
.dir-branch:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.06);
    transform: translateY(-2px);
}
.dir-branch__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f2f4f6;
}
.dir-branch__tag {
    font-size: 11px;
    font-weight: 700;
    color: #278bda;
    background: rgba(39,139,218,.06);
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: .3px;
}
.dir-branch__tag--access {
    color: #e67e22;
    background: rgba(230,126,34,.06);
}
.dir-branch__tag--cn {
    color: #e74c3c;
    background: rgba(231,76,60,.06);
}
.dir-branch__tag--vn {
    color: #27ae60;
    background: rgba(39,174,96,.06);
}
.dir-branch__tag--sa {
    color: #8e44ad;
    background: rgba(142,68,173,.06);
}
.dir-branch__name {
    font-size: 17px;
    font-weight: 700;
    color: #222;
    margin: 0;
}
.dir-branch__info {
    margin: 0;
}
.dir-branch__row {
    display: flex;
    padding: 7px 0;
}
.dir-branch__row + .dir-branch__row {
    border-top: 1px solid #f8f8f8;
}
.dir-branch__row dt {
    width: 44px;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: #bbb;
    padding-top: 1px;
}
.dir-branch__row dd {
    margin: 0;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

/* ============================== 반응형 */
@media (max-width: 768px) {
    .dir-hero { padding: 56px 0 48px; }
    .dir-hero__inner { padding: 0 20px; flex-direction: column; text-align: center; gap: 28px; }
    .dir-hero__title { font-size: 32px; }
    .dir-hero__desc { font-size: 15px; }
    .dir-hero__visual { width: 120px; height: 120px; }
    .dir-hero__pin { width: 120px; height: 120px; }
    .dir-hero__pin svg { width: 42px; height: 42px; }
    .dir-section { padding: 48px 0; }
    .dir-section__inner { padding: 0 20px; }
    .dir-title { font-size: 22px; margin-bottom: 24px; }
    .dir-tabs__btn { padding: 8px 20px; font-size: 13px; }
    .dir-office__content { padding: 24px 24px 28px; }
    .dir-office__name { font-size: 20px; }
    .dir-office__map iframe { height: 220px; }
    .dir-branches {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .dir-branch { padding: 20px; }
}

@media (max-width: 480px) {
    .dir-hero { padding: 44px 0 36px; }
    .dir-hero__title { font-size: 28px; }
    .dir-hero__desc { font-size: 14px; }
    .dir-hero__visual { width: 100px; height: 100px; }
    .dir-hero__pin { width: 100px; height: 100px; }
    .dir-hero__pin svg { width: 36px; height: 36px; }
    .dir-section { padding: 36px 0; }
    .dir-office__content { padding: 20px 18px 24px; }
    .dir-office__name { font-size: 18px; }
    .dir-office__map iframe { height: 180px; }
    .dir-office__info-row { flex-direction: column; gap: 4px; }
    .dir-office__info dt { width: auto; }
    .dir-branch { padding: 18px; }
    .dir-branch__row { flex-direction: column; gap: 2px; }
    .dir-branch__row dt { width: auto; }
}
