body {
    font-family: 'Noto Sans KR', sans-serif;
}

.page-wrap {
    width: 1200px;
    margin: 0 auto;
}

/* 인트로 섹션 */
.intro-section {
    padding: 100px 0px 50px 0px;
}

.intro-section__title {
    text-align: left;
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.3;
}

.intro-section__desc {
    text-align: left;
    font-weight: 500;
    font-size: 20px;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.intro-section__highlight {
    color: #2385ff;
    font-weight: 600;
}


.page-wrap {
    width: 1200px;
    margin: 0 auto;
    padding: 80px 0px 0px 0px;
}

.intro-section__title {
    font-size: 40px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 20px;
}

.intro-section__desc {
    font-size: 20px;
    font-weight: 500;
    text-align: left;
    line-height: 1.6;
    color: #333;
}

.intro-section__highlight {
    color: #2385ff;
    font-weight: 600;
}

.card-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-row {
    display: flex;
    gap: 20px;
}

.card-row:nth-child(1) .service-card:nth-child(1) {
    background-color: #7aefdc;
}

.card-row:nth-child(1) .service-card:nth-child(2) {
    background-color: #f1e0ce;
}

.card-row:nth-child(2) .service-card {
    background-color: #caf4ff;
}

.card-row:nth-child(3) .service-card {
    background-color: #f2bd4b;
}

.card-row:nth-child(4) .service-card:nth-child(1) {
    background-color: #92baff;
}

.card-row:nth-child(4) .service-card:nth-child(2) {
    background-color: #abbbee;
}

.card-row--full {
    display: block;
}

.service-card {
    background: #f5f7fa;
    border-radius: 12px;
    padding: 40px;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.3s ease;
}

.card--half {
    width: calc(50% - 10px);
}

.card--full {
    width: 100%;
}

.service-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-card__title {
    font-size: 28px;
    font-weight: bold;
    color: #222;
}

.arrow-icon {
    font-size: 20px;
    transition: transform 0.5s ease;
}

.expanded .arrow-icon {
    transform: rotate(180deg);
}

.service-card__content {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.summary-text {
    width: 65%;
    font-size: 20px;
    font-weight: 500;
    color: #222;
    line-height: 1.5;
    opacity: 1;
    max-height: 200px;
    transition: opacity 0.3s ease, max-height 0.3s ease;
    overflow: hidden;
}

.expanded .summary-text {
    opacity: 0;
    max-height: 0;
}

.service-card__img {
    width: 220px;
    height: 190px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    opacity: 1;
    max-height: 190px;
    transition: opacity 0.3s ease, max-height 0.3s ease;
    overflow: hidden;
}

.expanded .service-card__img {
    opacity: 0;
    max-height: 0;
}

/* 카드별 이미지 지정 */
.img--solar {
    background-image: url('../images/service_1.png');
}

.img--logo {
    background-image: url('../images/service_2.png');
}

.img--charger {
    background-image: url('../images/service_3.png');
}

.img--manage {
    background-image: url('../images/service_4.png');
}

.img--money {
    background-image: url('../images/service_5.png');
}

.img--risk {
    background-image: url('../images/service_6.png');
}

.detail-text {
    font-size: 20px;
    color: #444;
    font-weight: 500;
    line-height: 2;
    margin-top: 20px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out, opacity 0.4s ease 0.15s;
}

.expanded .detail-text {
    max-height: 500px;
    opacity: 1;
}

.expanded .detail-text {
    opacity: 1;
}



.cta-wrap {
    text-align: center;
    padding: 50px 0px;
}

.cta-button {
    display: inline-block;
    background-color: #2385ff;
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 20px 180px 20px 180px;
    border-radius: 15px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #4699ff;
}











@media (max-width: 768px) {
    .page-wrap {
        width: 100%;
        padding: 40px 20px;
    }

    .intro-section {
        padding: 50px 0px;
    }

    .intro-section__title {
        font-size: 25px;
        text-align: left;
    }

    .intro-section__desc {
        font-size: 16px;
    }

    .card-row {
        flex-direction: column;
    }

    .card--half,
    .card--full {
        width: 100%;
    }

    .service-card {
        padding: 15px;
    }

    .service-card__title {
        font-size: 16px;
    }

    .summary-text {
        font-size: 14px;
        width: 100%;
    }

    .service-card__img {
        width: 100px;
        height: 70px;
        margin-top: 12px;
    }

    .detail-text {
        font-size: 14px;
    }

    .arrow-icon img {
        width: 24px;
        height: 24px;
    }

    .cta-wrap {
        margin: 0;
        text-align: center;
        padding: 0px 0px 40px 0px;
    }

    .cta-button {
        font-size: 16px;
        padding: 14px 24px;
        width: 100%;
        max-width: 300px;
        box-sizing: border-box;
    }
}