/* ========================================
   Contact Page (견적·문의하기)
======================================== */

/* Contact Container */
.contact-container {
    padding-left: 56px;
    padding-right: 56px;
}

/* Contact Header */
.contact-header {
    text-align: center;
    margin-bottom: 120px;
}

.contact-title {
    font-size: 40px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 15px;
    color: #222;
    line-height: 1.8;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 136px;
    row-gap: 142px;
    margin-bottom: 60px;
}

.contact-card {
    border: none;
    border-radius: 5px;
    /*padding: 30px;*/
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
}

.card-title {
    font-size: 35px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

.card-title::before {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #333;
    margin-bottom: 15px;
}

.card-desc {
    font-size: 15px;
    color: #222;
}

.card-icon {
    flex-shrink: 0;
}

.card-icon img {
    object-fit: contain;
}

/* Card Button */
.card-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    background: #f5f5f5;
    font-size: 30px;
    color: #222;
    transition: background 0.3s;
    height: 138px;
}

.card-btn img {
    opacity: 0.5;
}

.card-btn:hover {
    background: #eee;
}

.card-btn .sub-text {
    font-size: 13px;
    color: #888;
    margin-left: 10px;
}

.card-btn .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: #666;
    flex-shrink: 0;
}

.card-btn .location {
    line-height: 30px;
}

.card-btn .location .road {
    font-size: 30px;
}

.card-btn .location .traffic {
    font-size: 21px;
}


/* Card Info (전화/이메일) */
.card-info {
    padding: 15px 25px;
    background: #f5f5f5;
    height: 138px;
}

.card-info p {
    font-size: 17px;
    color: rgba(34, 34, 34, 0.8);
    font-weight: bold;
}

.card-info p:last-child {
    margin-bottom: 0;
}

.card-info strong {
    font-size: 32px;
    font-weight: bold;
    color: rgba(34, 34, 34, 0.8);
    margin-left: 10px;
}

.info-phone {
    display: flex;
    align-items: center;
    color: rgba(34, 34, 34, 0.8);
}

.info-phone span {
    font-size: 15px;
    margin-left: 10px;
}


.info-email {
    display: flex;
    align-items: center;
    color: rgba(34, 34, 34, 0.8);
}

.info-email strong {
    font-size: 27px;
    font-weight: normal;
}

.info-note {
    font-size: 13px !important;
    color: rgba(34, 34, 34, 0.6) !important;
    padding-left: 70px;
}

/* Kakao Banner */
.kakao-banner {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.kakao-image {
    flex-shrink: 0;
    position: relative;
}

.kakao-image img {
    height: 353px;
    object-fit: cover;
}

.kakao-content {
    width: 818px;
    height: 353px;
    background: #fae100;
    padding: 50px 60px;
    position: relative;
    box-sizing: border-box;
}

.kakao-title {
    font-size: 35px;
    font-weight: normal;
    color: #222;
    margin-bottom: 25px;
}

.kakao-title strong {
    font-weight: bold;
}

.kakao-list {
    margin-bottom: 35px;
}

.kakao-list li {
    font-size: 17px;
    color: #222;
    margin-bottom: 8px;
}

.btn-kakao {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 218px;
    height: 50px;
    padding: 0 20px;
    background: #3c2a1e;
    color: #fff;
    font-size: 18px;
    border-radius: 30px;
    transition: background 0.3s;
}

.btn-kakao:hover {
    background: #5a4232;
}

.btn-kakao .arrow {
    font-size: 20px;
}

.kakao-talk-icon {
    position: absolute;
    right: 50px;
    bottom: 40px;
}

.kakao-talk-icon img {
}

/* Contact Responsive */
@media (max-width: 1024px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .kakao-banner {
        flex-direction: column;
        gap: 0;
    }

    .kakao-image {
        flex: none;
    }

    .kakao-image img {
        width: 100%;
        height: 200px;
    }

    .kakao-content {
        width: 100%;
        height: auto;
        padding: 30px;
    }

    .kakao-talk-icon {
        right: 30px;
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 26px;
    }

    .contact-desc br {
        display: none;
    }

    .card-header {
        flex-direction: column;
        gap: 20px;
    }

    .card-icon {
        order: -1;
    }

    .kakao-title {
        font-size: 22px;
    }

    .kakao-talk-icon {
        display: none;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 22px;
    }

    .card-title {
        font-size: 20px;
    }

    .card-btn {
        padding: 15px 20px;
        font-size: 14px;
    }

    .card-info strong {
        font-size: 16px;
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }

    .kakao-content {
        padding: 25px 20px;
    }

    .kakao-title {
        font-size: 18px;
    }

    .btn-kakao {
        width: 100%;
        justify-content: center;
    }
}
