/**
 * Branches Component Styles
 * 전국 지점 섹션
 */

.branches {
    background: #FFFFFF;
    padding: 120px 0;
}

.branches__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
}

.branches__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    color: #000000;
    text-align: left;
    margin: 0 0 80px 0;
}

/* Content Layout */
.branches__content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    align-items: center;
}

/* Left & Right Branches */
.branches__left,
.branches__right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.branches__item {
    background: #FFFFFF;
    border: 2px solid #0CC6E3;
    border-radius: 20px;
    padding: 24px 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.branches__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(12, 198, 227, 0.2);
}

.branches__name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.branches__location {
    color: #0CC6E3;
}

.branches__type {
    color: #000000;
}

.branches__phone {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    margin: 0;
}

/* Center Map */
.branches__map {
    width: 550px;
    height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branches__map-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.branches__map-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.branches__map-title {
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 8px 0;
}

.branches__map-subtitle {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

/* Tablet */
@media (max-width: 1024px) {
    .branches {
        padding: 80px 0;
    }

    .branches__container {
        padding: 0 32px;
    }

    .branches__title {
        font-size: 40px;
        margin-bottom: 60px;
    }

    .branches__content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .branches__map {
        width: 100%;
        max-width: 550px;
        height: 650px;
        margin: 0 auto;
    }

    .branches__left,
    .branches__right {
        gap: 20px;
    }

    .branches__item {
        padding: 20px 28px;
    }

    .branches__name {
        font-size: 18px;
    }

    .branches__phone {
        font-size: 15px;
    }

    .branches__map-title {
        font-size: 40px;
    }

    .branches__map-subtitle {
        font-size: 32px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .branches {
        padding: 60px 0;
    }

    .branches__container {
        padding: 0 24px;
    }

    .branches__title {
        font-size: 32px;
        margin-bottom: 48px;
    }

    .branches__content {
        gap: 40px;
    }

    .branches__map {
        height: 500px;
    }

    .branches__left,
    .branches__right {
        gap: 16px;
    }

    .branches__item {
        padding: 18px 24px;
    }

    .branches__name {
        font-size: 17px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .branches__phone {
        font-size: 14px;
    }

    .branches__map-title {
        font-size: 36px;
    }

    .branches__map-subtitle {
        font-size: 28px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .branches {
        padding: 48px 0;
    }

    .branches__container {
        padding: 0 16px;
    }

    .branches__title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .branches__map {
        height: 450px;
    }

    .branches__item {
        padding: 16px 20px;
    }

    .branches__name {
        font-size: 16px;
    }

    .branches__phone {
        font-size: 13px;
    }

    .branches__map-title {
        font-size: 32px;
    }

    .branches__map-subtitle {
        font-size: 24px;
    }
}
