/* ==========================================================================
   메인 카드 배경 — 이미지 + 그라데이션 오버레이 (재사용)
   .sec2-card-bg 등에 클래스 추가: gp-card-bg--image
   url('/images/...') 만 교체. webp는 picture/srcset 별도.
   ========================================================================== */
.gp-card-bg--image {
    overflow: hidden;
    isolation: isolate;
    background-color: #f1f5f9;
    background-image:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.32) 0%,
            rgba(255, 255, 255, 0.12) 55%,
            rgba(241, 245, 249, 0.38) 100%
        ),
        url('/images/your-card-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.gp-card-bg--image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(15, 23, 42, 0.08) 50%,
        rgba(15, 23, 42, 0.35) 100%
    );
    pointer-events: none;
}

section .inner-144 {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 20px;
}

section .sec-title {
    text-align: center;
    color: #fff;
    margin-bottom: 80px;
}

section .sec-title h2 {
    font-size: 3rem;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 700;
}

section .sec-title p {
    font-size: 1.4rem;
    line-height: 1.5;
    opacity: .7;
}

.sec2 .sec-title h2 {
    color: #434b54;
}

.sec2 .sec-title p {
    color: #555;
}

.sec3 .sec-title h2 {
    color: #373b40;
}

.sec3 .sec-title p {
    color: #555;
}

@media (max-width:768px) {
    section .sec-title {
        margin-bottom: 40px;
    }
}

/* sec3 반응형: _template-grid.css·list.css보다 구체 선택자(.home-template-sec3 .template-wrap)로 덮어쓰기 */
@media (max-width: 1280px) {

    .sec3 .home-template-sec3 .template-wrap {
        padding: 120px 24px;
    }

    .sec3 .home-template-sec3 .template-wrap .sec-title h2 {
        font-size: 2.65rem;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .sec3 .home-template-sec3 .template-wrap .sec-title p {
        font-size: 1.25rem;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .sec3 .home-template-sec3 .template-wrap .template-list {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 1.5rem;
        row-gap: 2.75rem;
    }

    .sec3 .home-template-sec3 .template-wrap .template-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}

@media (max-width: 1024px) {

    .sec3 .home-template-sec3 .template-wrap {
        padding: 96px 20px;
    }

    .sec3 .home-template-sec3 .template-wrap .sec-title h2 {
        font-size: 2.25rem;
    }

    .sec3 .home-template-sec3 .template-wrap .sec-title p {
        font-size: 1.12rem;
    }

    .sec3 .home-template-sec3 .template-wrap .template-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
        row-gap: 3rem;
    }

    .sec3 .home-template-sec3 .template-wrap .template-thumb {
        height: auto;
        min-height: 240px;
        max-height: 360px;
    }

    .sec3 .home-template-sec3 .template-wrap .template-thumb > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 768px) {

    .sec3 .home-template-sec3 .template-wrap {
        padding: 72px 16px;
    }

    .sec3 .home-template-sec3 .template-wrap .sec-title h2 {
        font-size: 1.9rem;
    }

    .sec3 .home-template-sec3 .template-wrap .sec-title p {
        font-size: 1.05rem;
    }

    /* list.css 48rem 1열 대신 메인 sec3만 2열 유지 */
    .sec3 .home-template-sec3 .template-wrap .template-list {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
        row-gap: 2rem;
    }

    .sec3 .home-template-sec3 .template-wrap .template-thumb {
        min-height: 200px;
        max-height: 300px;
    }

    /* 모바일: PC용 hover 모바일 캡처 숨김, 썸네일 상단 기준 크롭 */
    .sec3 .home-template-sec3 .template-wrap .thumb-mo {
        display: none !important;
    }

    .sec3 .home-template-sec3 .template-wrap .template-card:hover .thumb-mo {
        display: none !important;
    }

    .sec3 .home-template-sec3 .template-wrap .template-card:hover .thumb-track {
        transform: none;
    }

    .sec3 .home-template-sec3 .template-wrap .template-thumb .thumb-track img,
    .sec3 .home-template-sec3 .template-wrap .template-thumb img.thumb-pc {
        object-fit: cover;
        object-position: top center;
    }
}

@media (max-width: 480px) {

    .sec3 .home-template-sec3 .template-wrap {
        padding: 56px 16px;
    }

    .sec3 .home-template-sec3 .template-wrap .sec-title h2 {
        font-size: 1.55rem;
    }

    .sec3 .home-template-sec3 .template-wrap .sec-title p {
        font-size: 0.98rem;
    }

    .sec3 .home-template-sec3 .template-wrap .template-list {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 0.5rem;
        row-gap: 1.25rem;
    }

    .sec3 .home-template-sec3 .template-wrap .template-thumb {
        min-height: 160px;
        max-height: 260px;
    }
}

@media (max-width: 360px) {

    .sec3 .home-template-sec3 .template-wrap .template-list {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 1.25rem;
    }

    .sec3 .home-template-sec3 .template-wrap .template-thumb {
        max-height: none;
    }
}

.sec4 .sec-title h2 {
    color: #111;
}

.sec4 .sec-title p {
    color: #555;
}

.sec5 .sec-title h2 {
    color: #111;
}

.sec5 .sec-title p {
    color: #555;
}

.sec5 .comp-btn-wrap {
    margin-top: 40px;
}

.sec6 .sec-title h2 {
    color: #111;
}

.sec6 .sec-title p {
    color: #555;
}



/* --- sec1 (리뉴얼 히어로: 비디오 배경 + 카드 그리드) --- */
.sec1 .sec-title h2 {
    font-size: 3.6rem;
    color: #434b54;
}

.sec1 .sec1-scramble {
    display: inline-block;
    vertical-align: top;
}

.sec1 .sec-title p {
    color: #343647;
    font-weight: 500;
}
/* .sec1 카드 리스트 */
.sec1 .sec1-inner {
    max-width: 1280px;
    margin: 64px auto 0;
    padding: 0 20px;
}

.sec1 .sec1-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sec1 .sec1-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    border-radius: 20px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    text-decoration: none;
    color: inherit;
    cursor: default;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.sec1 .sec1-card:hover,
.sec1 .sec1-card:focus-visible {
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
    transform: translateY(-2px);
    outline: none;
}

.sec1 .sec1-card:focus-visible {
    box-shadow:
        0 16px 40px rgba(15, 23, 42, 0.2),
        0 0 0 3px rgba(147, 197, 253, 0.55);
}

.sec1 .sec1-card-bg {
    position: absolute;
    inset: 0;
    background-color: #1e293b;
    background-image: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 0.45s ease, background-color 0.25s ease;
}

/* CRM 카드(1번) — 배경 이미지 */
.sec1 .sec1-card--crm .sec1-card-bg {
    overflow: hidden;
    isolation: isolate;
    background-color: #f1f5f9;
    background-image: url('/images/webp/webp-a/sec2-card1-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sec1 .sec1-card--crm .sec1-card-bg::after {
    display: none;
}

/* 템플릿 카드(2번) — 화이트 베이스 glass */
.sec1 .sec1-card--template {
    border: 1px solid rgb(255 255 255 / 70%);
    box-shadow: 0 8px 32px rgb(15 23 42 / 10%);
    background: transparent;
}

.sec1 .sec1-card--template .sec1-card-bg {
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.48) 0%,
        rgba(255, 255, 255, 0.26) 52%,
        rgba(255, 255, 255, 0.34) 100%
    );
    backdrop-filter: blur(24px) saturate(1.12);
    -webkit-backdrop-filter: blur(24px) saturate(1.12);
}

.sec1 .sec1-card--template .sec1-card-bg::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 44%;
    width: 76%;
    height: 56%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(
        circle at 42% 40%,
        rgba(255, 255, 255, 0.72) 0%,
        rgba(248, 250, 252, 0.38) 32%,
        rgba(241, 245, 249, 0.14) 52%,
        transparent 72%
    );
    filter: blur(72px);
    opacity: 0.48;
    pointer-events: none;
}

.sec1 .sec1-card--template .sec1-card-bg::after {
    content: '';
    position: absolute;
    right: -8%;
    top: 6%;
    width: 48%;
    height: 46%;
    border-radius: 50%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 255, 255, 0.62) 0%,
        rgba(248, 250, 252, 0.26) 42%,
        transparent 72%
    );
    filter: blur(64px);
    opacity: 0.36;
    pointer-events: none;
}

.sec1 .sec1-card--template .sec1-card-cont {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.14) 55%,
        rgba(255, 255, 255, 0.2) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sec1 .sec1-card--template .sec1-card-title {
    color: #1e293b;
}

.sec1 .sec1-card--template .sec1-card-link {
    color: #1782ce;
}

.sec1 .sec1-card--template:hover .sec1-card-link,
.sec1 .sec1-card--template:focus-visible .sec1-card-link {
    color: #0f6db8;
}

/* 관리자 카드(3번) — 화이트 베이스 glass (민트 톤) */
.sec1 .sec1-card--admin {
    border: 1px solid rgb(52 200 140 / 15%);
    box-shadow: 0 8px 24px rgb(16 140 90 / 12%);
    background: transparent;
}

.sec1 .sec1-card--admin .sec1-card-bg {
    overflow: hidden;
    isolation: isolate;
    background-color: #e5efe8;
    background-image: url('/images/webp/webp-a/sec2-card3-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sec1 .sec1-card--admin .sec1-card-bg::before {
    display: none;
}

.sec1 .sec1-card--admin .sec1-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.22) 0%,
        rgba(0, 0, 0, 0.08) 38%,
        transparent 72%
    );
    pointer-events: none;
}

.sec1 .sec1-card--admin .sec1-card-title {
    color: #1e293b;
}

.sec1 .sec1-card--admin .sec1-card-link {
    color: #0d9668;
}

.sec1 .sec1-card--admin:hover .sec1-card-link,
.sec1 .sec1-card--admin:focus-visible .sec1-card-link {
    color: #047857;
}

/* CRM 카드(1번) pill — 3번과 동일 */
.sec1 .sec1-card--crm .sec1-tag {
    color: #0a0a0a;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.sec1 .sec1-card:hover .sec1-card-bg,
.sec1 .sec1-card:focus-within .sec1-card-bg {
    transform: scale(1.04);
}

.sec1 .sec1-card--template:hover .sec1-card-bg,
.sec1 .sec1-card--template:focus-within .sec1-card-bg,
.sec1 .sec1-card--admin:hover .sec1-card-bg,
.sec1 .sec1-card--admin:focus-within .sec1-card-bg {
    transform: scale(1.03);
}

.sec1 .sec1-card-cont {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 520px;
    padding: 40px 36px 40px;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.15) 0%,
        rgba(15, 23, 42, 0.45) 38%,
        rgba(15, 23, 42, 0.82) 100%
    );
}

.sec1 .sec1-card--crm .sec1-card-cont,
.sec1 .sec1-card--admin .sec1-card-cont {
    background: transparent;
}

.sec1 .sec1-card-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.sec1 .sec1-card-title {
    margin: 0;
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #fff;
}

.sec1 .sec1-card--crm .sec1-card-title {
    color: #0a0a0a;
}

.sec1 .sec1-card--crm .sec1-card-link {
    color: #0a0a0a;
}

.sec1 .sec1-card--crm:hover .sec1-card-link,
.sec1 .sec1-card--crm:focus-visible .sec1-card-link {
    color: #333;
}

.sec1 .sec1-card-link {
    display: none;
}

.sec1 .sec1-card-link::after {
    content: '→';
    font-size: 1rem;
    line-height: 1;
}

.sec1 .sec1-card:hover .sec1-card-link,
.sec1 .sec1-card:focus-visible .sec1-card-link {
    gap: 10px;
}

.sec1 .sec1-tags {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sec1 .sec1-tag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 10px 17px;
    border-radius: 999px;
    font-size: 0.975rem;
    font-weight: 500;
    line-height: 1.35;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
}

.sec1 .sec1-card--template .sec1-tag {
    color: #475569;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgb(52 171 255 / 12%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sec1 .sec1-card--admin .sec1-tag {
    color: #0a0a0a;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

@media (max-width: 1024px) {
    .sec1 .sec1-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sec1 .sec1-card,
    .sec1 .sec1-card-cont {
        min-height: 0;
    }

    .sec1 .sec1-card-cont {
        min-height: 360px;
        padding: 28px 24px 24px;
    }

    .sec1 .sec1-card-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .sec1 .sec1-inner {
        padding: 0 16px;
    }

    .sec1 .sec1-grid {
        gap: 16px;
    }

    .sec1 .sec1-card-cont {
        min-height: 320px;
        padding: 24px 20px 20px;
    }

    .sec1 .sec1-card-title {
        font-size: 1.375rem;
    }

    .sec1 .sec1-card-link {
        font-size: 0.875rem;
    }

    .sec1 .sec1-tag {
        padding: 9px 14px;
        font-size: 0.9rem;
    }
}

.sec1 {
    position: relative;
    overflow: hidden;
    padding: 220px 20px 120px;
    background: linear-gradient(180deg, #eef7ff 0%, #ffffff 100%);
}

.sec1 .sec1-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    -webkit-mask-image: linear-gradient(
        180deg,
        #000 0%,
        #000 68%,
        rgba(0, 0, 0, 0.55) 84%,
        transparent 100%
    );
    mask-image: linear-gradient(
        180deg,
        #000 0%,
        #000 68%,
        rgba(0, 0, 0, 0.55) 84%,
        transparent 100%
    );
}

.sec1.is-video-ready .sec1-bg-video {
    opacity: 1;
}

/* 포스터 없어도 정적 모드에서 첫 프레임(또는 poster) 표시 — display:none 제거 */
.sec1.is-video-static.is-video-ready .sec1-bg-video {
    opacity: 1;
}

.sec1.is-video-static.has-poster.is-video-ready .sec1-bg-video {
    opacity: 1;
}

/* sec1 canvas backup — video 배경 사용 중. 복구: display 제거
.sec1 .sec1-gradient-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.48;
    filter: blur(3px) saturate(1.25);
    transform: scale(1.04);
}
*/

.sec1::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 220px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.65) 55%,
        #fff 100%
    );
}

.sec1::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    -webkit-mask-image: linear-gradient(
        180deg,
        #000 0%,
        #000 72%,
        rgba(0, 0, 0, 0.75) 88%,
        transparent 100%
    );
    mask-image: linear-gradient(
        180deg,
        #000 0%,
        #000 72%,
        rgba(0, 0, 0, 0.75) 88%,
        transparent 100%
    );
}

.sec1 > *:not(.sec1-bg-video):not(.sec1-gradient-bg) {
    position: relative;
    z-index: 2;
}

/* 기존 .sec1 .list — 임시 숨김 */
.sec1 .list {
    display: none !important;
}

.sec1 .list .item {
    text-align: center;
}

.sec1 .list .meta {
    display: block;
    font-size: 1rem;
    color: #888;
    margin-bottom: 8px;
    font-weight: 500;
}

.sec1 .list .point {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f7bff;
    margin-bottom: 30px;
    background-image: linear-gradient(270deg, rgb(0, 175, 255) 0%, rgb(0, 28, 160) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}



.sec1 .list .item:nth-of-type(2) .point {
    background-image: linear-gradient(90deg, rgb(0, 175, 255) 0%, rgb(0, 28, 160) 100%);
}

.sec1 .list .box {
    background-color: #edf2f8;
    border-radius: 50px;
    flex: none;
    gap: 0;
    width: 100%;
    overflow: hidden;
    height: 320px;
    position: relative;
    border: 20px solid #fff;
}

.sec1 .list .box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1024px) {
    .sec1 .list {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sec1 .list .box {
        height: 220px;
    }
}

/* sec1 반응형 보강: 기존 .sec1·상단 1024 규칙 유지, 이하만 덮어쓰기 */
@media (max-width: 1280px) {

    .sec1 {
        padding: 120px 24px;
    }

    .sec1 .sec-title h2 {
        font-size: 2.65rem;
    }

    .sec1 .sec-title p {
        font-size: 1.25rem;
    }

    .sec1 .list .point {
        font-size: 1.55rem;
    }
}

@media (max-width: 1280px) and (min-width: 1025px) {

    .sec1 .list {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 1024px) {

    .sec1 {
        padding: 100px 20px;
    }

    .sec1 .list {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sec1 .sec-title h2 {
        font-size: 2.25rem;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .sec1 .sec-title p {
        font-size: 1.15rem;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .sec1 .list .point {
        font-size: 1.35rem;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .sec1 .list .box {
        height: auto;
        min-height: 200px;
        aspect-ratio: 16 / 9;
    }

    .sec1 .list .box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.sec1 .sec-title p .sec1-br-mo {
    display: none;
}

@media (max-width: 768px) {

    .sec1 {
        padding: 120px 16px 80px;
    }

    .sec1 .sec-title p .sec1-br-mo {
        display: block;
    }

    .sec1 .list {
        display: none !important;
    }

    .sec1 .list .item {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }

    .sec1 .sec-title {
        margin-bottom: 48px;
    }

    .sec1 .sec-title h2 {
        font-size: 1.95rem;
    }

    .sec1 .sec-title p {
        font-size: 1.05rem;
    }

    .sec1 .list .meta {
        font-size: 0.95rem;
    }

    .sec1 .list .point {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .sec1 .list .box {
        width: 100%;
        max-width: 100%;
        border-width: 12px;
    }
}

@media (max-width: 480px) {

    .sec1 {
        padding: 64px 16px;
    }

    .sec1 .sec-title h2 {
        font-size: 1.65rem;
    }

    .sec1 .sec-title p {
        font-size: 1rem;
    }

    .sec1 .list .point {
        font-size: 2rem;
    }

    .sec1 .list .box {
        border-width: 10px;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 360px) {

    .sec1 {
        padding: 48px 16px;
    }

    .sec1 .sec-title h2 {
        font-size: 1.45rem;
    }

    .sec1 .sec-title p {
        font-size: 0.95rem;
    }

    .sec1 .list {
        gap: 22px;
    }

    .sec1 .list .point {
        font-size: 1.4rem;
    }
}


/* --- sec7 관리자 기능 소개 --- */
.sec7 {
    padding: 120px 20px;
}

.sec7 > .inner {
    max-width: 1280px;
    margin: 0 auto;
}

.sec7 .sec2-title {
    text-align: center;
    margin-bottom: 64px;
}

.sec7 .sec2-title h2 {
    margin: 0 0 20px;
    font-size: clamp(2.25rem, 4.2vw, 3.2rem);
    line-height: 1.25;
    font-weight: 700;
    color: #1e293b;
    word-break: keep-all;
}

.sec7 .sec2-title p {
    margin: 0 auto;
    max-width: 720px;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.6;
    font-weight: 500;
    color: #64748b;
}

/* sec7 기능 카드 그리드 — 좌 텍스트 + 우 비주얼 */
.sec7 .sec2-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.sec7 .sec2-card {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.28s ease;
}

.sec7 .sec2-card:hover,
.sec7 .sec2-card:focus-visible {
    transform: translateY(-3px);
    outline: none;
}

.sec7 .sec2-card:focus-visible {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.sec7 .sec2-card--tone1,
.sec7 .sec2-card--tone2,
.sec7 .sec2-card--tone3,
.sec7 .sec2-card--tone4 {
    position: relative;
    overflow: hidden;
}

.sec7 .sec2-card--tone1 {
    background-color: #f1efff;
}

/* 패딩 영역 밖·카드 전체 높이 — 좌측 기준으로 우측으로 걸침 */
.sec7 .sec2-card--tone1::after,
.sec7 .sec2-card--tone2::after,
.sec7 .sec2-card--tone3::after,
.sec7 .sec2-card--tone4::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 52%;
    background-repeat: no-repeat;
    background-position: 70px center;
    /* 원본 1.5배 제작 → 표시 1/1.5 */
    background-size: auto calc(88% / 1.5);
    filter: drop-shadow(-6px -6px 14px rgb(15 23 42 / 6%));
    pointer-events: none;
    z-index: 0;
}

.sec7 .sec2-card--tone1::after {
    background-image: url('/images/content/content-img1.png');
}

.sec7 .sec2-card--tone2::after {
    background-image: url(/images/content/content-img2.png);
    background-position: 85px calc(50% + 80px);
    background-size: auto calc(103% / 1.1);
}

/* 3번 카드 — 매출 이미지(하단 레이어) */
.sec7 .sec2-card--tone3::after {
    z-index: 0;
    background-image: url(/images/content/content-img3.png);
    background-position: 120px center;
    width: 62%;
}

/* 3번 카드 — 상담 문의형 우측 하단 이미지(상단 레이어) */
.sec7 .sec2-card--tone3::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 52%;
    background-image: url(/images/content/content-img3-1.png);
    background-repeat: no-repeat;
    background-position: 185px calc(50% + 80px);
    background-size: auto calc(53% / 1.1);
    filter: drop-shadow(-6px -6px 14px rgb(15 23 42 / 6%));
    pointer-events: none;
    z-index: 1;
}

.sec7 .sec2-card--tone4::after {
    background-image: url(/images/content/content-img4.png);
    transform: rotate(348deg) translate(80px, 50px);
    transform-origin: left center;
    width: 62%;
}

.sec7 .sec2-card--tone1 .sec2-card__inner,
.sec7 .sec2-card--tone2 .sec2-card__inner,
.sec7 .sec2-card--tone3 .sec2-card__inner,
.sec7 .sec2-card--tone4 .sec2-card__inner {
    position: relative;
    z-index: 2;
}

.sec7 .sec2-card--tone2 {
    background-color: #dbeafe;
}

.sec7 .sec2-card--tone3 {
    background-color: color-mix(in srgb, #1d4ed8 11%, #ffffff);
}

.sec7 .sec2-card--tone4 {
    background-color: #e5efe8;
}

.sec7 .sec2-card__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 220px;
    padding: 40px 32px 40px 44px;
}

.sec7 .sec2-card__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sec7 .sec2-card__title {
    margin: 0 0 14px;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    line-height: 1.3;
    font-weight: 700;
    color: #0a0a0a;
    word-break: keep-all;
}

.sec7 .sec2-card__desc {
    margin: 0 0 32px;
    font-size: clamp(0.95rem, 1.2vw, 1.0625rem);
    line-height: 1.55;
    font-weight: 400;
    color: #333;
    word-break: keep-all;
}

.sec7 .sec2-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    margin-top: auto;
    border: 1px solid #0a0a0a;
    border-radius: 50%;
    background: #fff;
    font-size: 1.2rem;
    line-height: 1;
    color: #0a0a0a;
}

.sec7 .sec2-card__visual {
    flex: 0 1 42%;
    max-width: 280px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
}

.sec7 .sec2-card__visual img {
    display: block;
    width: 100%;
    max-height: 200px;
    height: auto;
    object-fit: contain;
    object-position: right center;
}

@media (max-width: 1024px) {
    .sec7 {
        padding: 100px 20px;
    }

    .sec7 .sec2-title {
        margin-bottom: 48px;
    }

    .sec7 .sec2-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sec7 .sec2-card__inner {
        min-height: 0;
        padding: 32px 28px;
    }

    .sec7 .sec2-card__desc {
        margin-bottom: 28px;
    }

    .sec7 .sec2-card__visual {
        flex: 0 0 38%;
        max-width: 220px;
        min-height: 140px;
    }
}

@media (max-width: 640px) {
    .sec7 {
        padding: 80px 16px;
    }

    .sec7 .sec2-title {
        margin-bottom: 36px;
    }

    .sec7 .sec2-title h2 {
        font-size: 2rem;
    }

    .sec7 .sec2-card__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 28px 22px 24px;
    }

    .sec7 .sec2-card__content {
        order: 1;
    }

    .sec7 .sec2-card__desc {
        margin-bottom: 24px;
    }

    .sec7 .sec2-card__arrow {
        width: 48px;
        height: 48px;
    }

    .sec7 .sec2-card__visual {
        order: 2;
        flex: none;
        max-width: none;
        width: 100%;
        min-height: 120px;
        justify-content: center;
    }

    .sec7 .sec2-card__visual img {
        max-height: 160px;
        object-position: center;
    }

    .sec7 .sec2-card--tone1::after,
    .sec7 .sec2-card--tone2::after,
    .sec7 .sec2-card--tone3::after,
    .sec7 .sec2-card--tone4::after {
        top: auto;
        left: 0;
        width: 100%;
        height: 46%;
    }

    .sec7 .sec2-card--tone1::after {
        background-position: 70px center;
        background-size: auto calc(78% / 1.5);
    }

    .sec7 .sec2-card--tone4::after {
        background-position: 70px center;
        background-size: auto calc(78% / 1.5);
        transform: rotate(-24deg) translateY(36px);
        transform-origin: left center;
    }

    .sec7 .sec2-card--tone3::after {
        background-position: 120px center;
        background-size: auto calc(78% / 1.5);
    }

    .sec7 .sec2-card--tone2::after {
        background-position: 85px calc(50% + 80px);
        background-size: auto calc(103% / 1.1);
    }

    .sec7 .sec2-card--tone3::before {
        top: auto;
        left: 0;
        width: 100%;
        height: 46%;
        background-position: 185px calc(50% + 80px);
        background-size: auto calc(53% / 1.1);
    }
}

.sec2 {
    padding: 150px 20px;
    background: linear-gradient(to bottom,
            #E1EDFC 0%,
            transparent 50%,
            #E1EDFC 100%);
}

.sec2 .list {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.sec2 .list .item {
    text-align: center;
}

.sec2 .list .meta {
    display: block;
    font-size: 1rem;
    color: #888;
    margin-bottom: 8px;
    font-weight: 500;
}

.sec2 .list .point {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f7bff;
    margin-bottom: 30px;
    background-image: linear-gradient(270deg, rgb(0, 175, 255) 0%, rgb(0, 28, 160) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}



.sec2 .list .item:nth-of-type(2) .point {
    background-image: linear-gradient(90deg, rgb(0, 175, 255) 0%, rgb(0, 28, 160) 100%);
}

.sec2 .list .box {
    background-color: #edf2f8;
    border-radius: 50px;
    flex: none;
    gap: 0;
    width: 100%;
    overflow: hidden;
    height: 320px;
    position: relative;
    border: 20px solid #fff;
}

.sec2 .list .box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1024px) {
    .sec2 .list {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sec2 .list .box {
        height: 220px;
    }
}

/* sec2 반응형 보강: 기존 .sec2·상단 1024 규칙 유지, 이하만 덮어쓰기 */
@media (max-width: 1280px) {

    .sec2 {
        padding: 120px 24px;
    }

    .sec2 .sec-title h2 {
        font-size: 2.65rem;
    }

    .sec2 .sec-title p {
        font-size: 1.25rem;
    }

    .sec2 .list .point {
        font-size: 1.55rem;
    }
}

@media (max-width: 1280px) and (min-width: 1025px) {

    .sec2 .list {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 1024px) {

    .sec2 {
        padding: 100px 20px;
    }

    .sec2 .list {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sec2 .sec-title h2 {
        font-size: 2.25rem;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .sec2 .sec-title p {
        font-size: 1.15rem;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .sec2 .list .point {
        font-size: 1.35rem;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .sec2 .list .box {
        height: auto;
        min-height: 200px;
        aspect-ratio: 16 / 9;
    }

    .sec2 .list .box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 768px) {

    .sec2 {
        padding: 80px 16px;
    }

    .sec2 .list {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .sec2 .list .item {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }

    .sec2 .sec-title {
        margin-bottom: 48px;
    }

    .sec2 .sec-title h2 {
        font-size: 1.95rem;
    }

    .sec2 .sec-title p {
        font-size: 1.05rem;
    }

    .sec2 .list .meta {
        font-size: 0.95rem;
    }

    .sec2 .list .point {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .sec2 .list .box {
        width: 100%;
        max-width: 100%;
        border-width: 12px;
    }
}

@media (max-width: 480px) {

    .sec2 {
        padding: 64px 16px;
    }

    .sec2 .sec-title h2 {
        font-size: 1.65rem;
    }

    .sec2 .sec-title p {
        font-size: 1rem;
    }

    .sec2 .list .point {
        font-size: 2rem;
    }

    .sec2 .list .box {
        border-width: 10px;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 360px) {

    .sec2 {
        padding: 48px 16px;
    }

    .sec2 .sec-title h2 {
        font-size: 1.45rem;
    }

    .sec2 .sec-title p {
        font-size: 0.95rem;
    }

    .sec2 .list {
        gap: 22px;
    }

    .sec2 .list .point {
        font-size: 1.4rem;
    }
}

.sec4 {
    padding: 150px 0;
    background: linear-gradient(to bottom, #eef5ff 0, transparent 100%);
}

.sec4 .inner .list {
    display: flex;
    gap: 40px;
    margin-top: 80px;
}

.sec4 .list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
}

.sec4 .list .item {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

.sec4 .list a.item:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.sec4 .list .item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.sec4 .list .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sec4 .list .cate {
    font-size: 0.8rem;
    background: #eff1fa;
    color: #313641;
    padding: 6px 10px;
    border-radius: 20px;
}

.sec4 .list .more {
    font-size: 0.8rem;
    color: #999;
}

.sec4 .list h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111;
}

.sec4 .list p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.sec4 .list .thumb {
    width: 100%;
    height: 140px;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 10px;
}

.sec4 .list .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.sec4 .list .item:hover .thumb img {
    transform: scale(1.05);
}

/* 반응형 */
@media (max-width: 1024px) {
    .sec4 .list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .sec4 .list {
        grid-template-columns: 1fr;
    }
}

/* sec4 반응형 보강: 기존 .sec4·1024/640 규칙 유지, 이하만 덮어쓰기 */
@media (max-width: 1280px) {

    .sec4 {
        padding: 120px 0;
    }

    .sec4 .inner-144 {
        padding: 0 24px;
        box-sizing: border-box;
    }

    .sec4 .inner-144 .sec-title h2 {
        font-size: 2.65rem;
        line-height: 1.38;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .sec4 .inner-144 .sec-title p {
        font-size: 1.25rem;
        line-height: 1.52;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .sec4 .list {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }

    .sec4 .list .item {
        padding: 22px;
    }

    .sec4 .list h3 {
        font-size: 1.12rem;
    }

    .sec4 .list p {
        font-size: 0.92rem;
        line-height: 1.58;
    }
}

@media (max-width: 1024px) {

    .sec4 {
        padding: 100px 0;
    }

    .sec4 .inner-144 {
        padding: 0 20px;
    }

    .sec4 .inner-144 .sec-title h2 {
        font-size: 2.25rem;
    }

    .sec4 .inner-144 .sec-title p {
        font-size: 1.12rem;
    }

    .sec4 .list {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .sec4 .list .thumb {
        height: auto;
        min-height: 130px;
        aspect-ratio: 16 / 10;
    }

    .sec4 .list .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 768px) {

    .sec4 {
        padding: 80px 0;
    }

    .sec4 .inner-144 {
        padding: 0 16px;
    }

    .sec4 .inner-144 .sec-title h2 {
        font-size: 1.9rem;
        line-height: 1.42;
    }

    .sec4 .inner-144 .sec-title p {
        font-size: 1.05rem;
    }

    .sec4 .inner-144 .sec-title {
        margin-bottom: 48px;
    }

    .sec4 .list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sec4 .list .item {
        padding: 20px 18px;
        width: 100%;
        max-width: 100%;
    }

    .sec4 .list .thumb {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .sec4 .list .thumb img {
        width: 100%;
        height: auto;
        max-height: 220px;
        object-fit: cover;
    }
}

@media (max-width: 480px) {

    .sec4 {
        padding: 64px 0;
    }

    .sec4 .inner-144 .sec-title h2 {
        font-size: 1.6rem;
    }

    .sec4 .inner-144 .sec-title p {
        font-size: 0.98rem;
    }

    .sec4 .list {
        gap: 16px;
    }

    .sec4 .list h3 {
        font-size: 1.05rem;
    }

    .sec4 .list p {
        font-size: 0.9rem;
    }

    .sec4 .list .thumb img {
        max-height: 200px;
    }
}

@media (max-width: 360px) {

    .sec4 .inner-144 .sec-title h2 {
        font-size: 1.45rem;
    }

    .sec4 .inner-144 .sec-title p {
        font-size: 0.95rem;
    }

    .sec4 .list {
        gap: 14px;
    }

    .sec4 .list .item {
        padding: 18px 14px;
    }
}

.sec5 {
    padding: 150px 0;
    background:
        linear-gradient(to top, #eef5ff 0%, transparent 40%),
        linear-gradient(to bottom, #eef5ff 0%, transparent 100%);
    /* 아코디언 열림/닫힘으로 섹션 높이가 들쭉날쭉해지며 스크롤(특히 sec6 인근)이 덜컹거리는 현상 완화 */
    min-height: 980px;
    box-sizing: border-box;
    contain: layout;
}

.sec5 .inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.sec5 .dflx {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.sec5 .left {
    width: 50%;
}

.sec5 h2 {
    font-size: 2.8rem;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #434b54;
}

.sec5 .desc {
    font-size: 16px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 40px;
}

.sec5 .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: #2563eb;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.sec5 .btn:hover {
    background: #1d4ed8;
}

.sec5 .left .accordion {
    margin-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.sec5 .left .accordion .acc-item {
    border-bottom: 1px solid #e5e5e5;
}

.sec5 .left .accordion .acc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
}

.sec5 .left .accordion .acc-head h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
}

.sec5 .left .accordion .acc-head .arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid #888;
    border-bottom: 2px solid #888;
    transform: rotate(45deg);
    transition: 0.3s;
}

.sec5 .left .accordion .acc-item.active .acc-head .arrow {
    transform: rotate(-135deg);
}

.sec5 .left .accordion .acc-body {
    height: 0;
    min-height: 0;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0;
    transition: height 0.35s ease;
}

/* 열린 패널 높이는 JS(inline)로만 제어 — CSS height:auto는 첫 transition 깨짐 유발 */
.sec5 .left .accordion .acc-item.active .acc-body {
    padding: 0 0 20px;
}

.sec5 .left .accordion .acc-body p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    max-width: 80%;
    word-break: keep-all;
}

.sec6 {
    padding: 150px 0;
}


/* 우측: 고정 높이 + relative — sticky 제거(스크롤+아코디언 시 sticky 재계산 덜컹 방지) */
.sec5 .right {
    position: relative;
    align-self: flex-start;
    flex-shrink: 0;
    height: 630px;
    width: 50%;
    box-sizing: border-box;
}

.sec5 .right .img-item,
.sec5 .right .img-item picture,
.sec5 .right .img-item picture img {
    height: 100%;
}

.sec5 .right .img-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;
    transition: none;
}

.sec5 .right .img-item picture {
    display: block;
    width: 100%;
}

.sec5 .right .img-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.sec5 .right .img-item picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transform: none;
    transition: none;
}

@media (max-width: 1024px) {
    .sec5 .dflx {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .sec5 {
        padding: 80px 0;
    }

    .sec5 .dflx {
        flex-direction: column-reverse;
    }

    .sec5 .right {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .sec5 .left {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .sec5 h2 {
        font-size: 1.6rem;
    }

    .sec5 .desc {
        font-size: 0.9rem;
    }

    .sec5 .accordion .acc-head h3 {
        font-size: 0.95rem;
    }

    .sec5 .accordion .acc-body p {
        font-size: 0.85rem;
    }
}

/* sec6 portfolio (scoped — same rules as layout.css .portfolio-wrap) */
.sec6 .portfolio-wrap {}

.sec6 .portfolio-wrap .list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.sec6 .portfolio-wrap .card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    transition: transform .3s ease;
}

.sec6 .portfolio-wrap .card:hover {
    transform: translateY(-10px);
}

.sec6 .portfolio-wrap .link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.sec6 .portfolio-wrap .bg {
    position: relative;
    height: 360px;
    overflow: hidden;
}

.sec6 .portfolio-wrap .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sec6 .portfolio-wrap .overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.25) 40%,
            rgba(0, 0, 0, 0) 100%);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.sec6 .portfolio-wrap .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.sec6 .portfolio-wrap .name {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
}

.sec6 .portfolio-wrap .state {
    font-size: 0.75rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 999px;
}

.sec6 .portfolio-wrap .box {
    position: relative;
    z-index: 2;
    background: #fff;
    margin-top: -120px;
    border-radius: 24px;
    padding: 32px;
}

.sec6 .portfolio-wrap .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.sec6 .portfolio-wrap .tit {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
}

.sec6 .portfolio-wrap .time {
    font-size: 0.8rem;
    color: #888;
}

.sec6 .portfolio-wrap .desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;

    min-height: calc(1.6em * 3);
    margin-bottom: 20PX;
}

.sec6 .portfolio-wrap .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sec6 .portfolio-wrap .tag {
    font-size: 0.75rem;
    padding: 6px 12px;
    background: #f3f5f7;
    border-radius: 999px;
    color: #444;
}

@media (max-width: 1200px) {
    .sec6 .portfolio-wrap .list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sec6 .portfolio-wrap .list {
        grid-template-columns: 1fr;
    }

    .sec6 .portfolio-wrap .bg {
        height: 280px;
    }

    .sec6 .portfolio-wrap .box {
        margin-top: -60px;
    }
}

/* sec6 반응형 보강: 포트폴리오 카드 — 기존 .sec6·1200/768 규칙 유지, 이하만 덮어쓰기 */
@media (max-width: 1280px) {

    .sec6 {
        padding: 120px 0;
    }

    .sec6 .inner-144 {
        padding: 0 24px;
        box-sizing: border-box;
    }

    .sec6 .inner-144 .sec-title h2 {
        font-size: 2.65rem;
        line-height: 1.38;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .sec6 .inner-144 .sec-title p {
        font-size: 1.25rem;
        line-height: 1.52;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .sec6 .portfolio-wrap .list {
        gap: 36px;
    }

    .sec6 .portfolio-wrap .bg {
        height: 320px;
    }

    .sec6 .portfolio-wrap .tit {
        font-size: 1.05rem;
        line-height: 1.45;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .sec6 .portfolio-wrap .desc {
        font-size: 0.92rem;
        line-height: 1.58;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
}

@media (max-width: 1024px) {

    .sec6 {
        padding: 100px 0;
    }

    .sec6 .inner-144 {
        padding: 0 20px;
    }

    .sec6 .inner-144 .sec-title h2 {
        font-size: 2.25rem;
    }

    .sec6 .inner-144 .sec-title p {
        font-size: 1.12rem;
    }

    /* 2열 구간을 1024 이하에서 1열로 */
    .sec6 .portfolio-wrap .list {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sec6 .portfolio-wrap .overlay {
        padding: 20px;
    }

    .sec6 .portfolio-wrap .box {
        margin-top: -80px;
        padding: 28px;
    }

    .sec6 .portfolio-wrap .head {
        min-height: 44px;
        align-items: center;
    }

    .sec6 .portfolio-wrap .bg {
        height: auto;
        min-height: 260px;
        aspect-ratio: 16 / 10;
    }

    .sec6 .portfolio-wrap .bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 768px) {

    .sec6 {
        padding: 80px 0;
    }

    .sec6 .inner-144 {
        padding: 0 16px;
    }

    .sec6 .inner-144 .sec-title {
        margin-bottom: 48px;
    }

    .sec6 .inner-144 .sec-title h2 {
        font-size: 1.9rem;
        line-height: 1.42;
    }

    .sec6 .portfolio-wrap .list {
        gap: 22px;
    }

    .sec6 .portfolio-wrap .overlay {
        padding: 16px;
    }

    .sec6 .portfolio-wrap .name {
        font-size: 0.85rem;
        line-height: 1.35;
    }

    .sec6 .portfolio-wrap .state {
        font-size: 0.72rem;
        padding: 6px 12px;
    }

    .sec6 .portfolio-wrap .box {
        margin-top: -56px;
        padding: 22px 18px;
    }

    .sec6 .portfolio-wrap .tit {
        font-size: 1rem;
    }

    .sec6 .portfolio-wrap .desc {
        font-size: 0.9rem;
        line-height: 1.62;
        min-height: 0;
        margin-bottom: 16px;
    }

    .sec6 .portfolio-wrap .tag {
        font-size: 0.72rem;
        padding: 8px 12px;
    }

    .sec6 .portfolio-wrap .link {
        display: block;
    }
}

@media (max-width: 480px) {

    .sec6 {
        padding: 64px 0;
    }

    .sec6 .inner-144 .sec-title h2 {
        font-size: 1.6rem;
    }

    .sec6 .inner-144 .sec-title p {
        font-size: 0.98rem;
    }

    .sec6 .portfolio-wrap .list {
        gap: 18px;
    }

    .sec6 .portfolio-wrap .bg {
        min-height: 220px;
    }

    .sec6 .portfolio-wrap .box {
        margin-top: -48px;
        padding: 20px 16px;
    }

    .sec6 .portfolio-wrap .head {
        min-height: 48px;
    }

    .sec6 .portfolio-wrap .tit {
        font-size: 0.98rem;
    }

    .sec6 .portfolio-wrap .desc {
        font-size: 0.88rem;
    }
}

@media (max-width: 360px) {

    .sec6 .inner-144 .sec-title h2 {
        font-size: 1.45rem;
    }

    .sec6 .inner-144 .sec-title p {
        font-size: 0.95rem;
    }

    .sec6 .portfolio-wrap .list {
        gap: 16px;
    }

    .sec6 .portfolio-wrap .box {
        padding: 18px 14px;
    }
}