/* ───────────── 공통 wrapper ───────────── */
.wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

/* ───────────── 01. 인트로 ───────────── */
.about-intro {
    background: linear-gradient(to bottom, #000000 0%, #0a0f2c 100%);
    color: white;
    padding: 9rem 1rem 7rem;
}
.about-intro .wrapper {
    max-width: 1000px;
    margin: 0 auto;
}
.about-intro h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}
.about-intro .lead {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    line-height: 1.8;
}
.about-intro p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.about-intro .sign {
    margin-top: 2rem;
    text-align: right;
}

/* ───────────── 02. 회사 전경 + 정보 ───────────── */
.about-info {
    background: linear-gradient(to bottom, #0a0f2c 0%, #12244d 100%);
    color: white;
    padding: 6rem 1rem;
}
.info-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: nowrap; /* ✅ 1번: 모바일에서도 수평 유지 */
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}
.info-img img {
    width: 100%;
    max-width: 460px;
    border-radius: 8px;
}
.info-text {
    max-width: 460px;
}
.info-text h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.4rem;
}
.info-text ul {
    list-style: none;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.8;
}
.info-text li {
    margin-bottom: 0.4rem;
}

/* ───────────── 03. 최상의 솔루션 제공 ───────────── */
.about-slogan {
    background: linear-gradient(to bottom, #12244d 0%, #1e3c9c 50%, #000000 100%);
    color: white;
    padding: 6rem 1rem;
    text-align: center;
}
.about-slogan h3 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
}
.slogan-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.slogan-text {
    flex: 1 1 300px;
    font-size: 1rem;
    line-height: 1.8;
    text-align: right;
}
.slogan-text:last-of-type {
    text-align: left;
}
.slogan-img {
    flex: 0 0 220px;
}
.slogan-img img {
    width: 100%;
    object-fit: contain;
}

/* ───────────── 04. 핵심 가치 ───────────── */
.about-core {
    background: #000;
    color: white;
    padding: 6rem 1rem;
}
.core-perfect-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1300px;
    margin: 0 auto;
}
.core-list {
    list-style: none;
    padding: 0;
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 500px;
    position: relative;
    z-index: 2;
}
.core-list.left {
    grid-column: 1;
    justify-self: start;
    text-align: left;
    align-items: flex-start;
    margin-left: 160px;
}
.core-list.right {
    grid-column: 3;
    justify-self: end;
    text-align: left;
    align-items: flex-end;
    margin-right: 160px;
}
.core-list.right li {
    width: 100%;
    text-align: left;
}
.core-list .dot {
    display: inline-block;
    margin-right: 0.4rem;
    font-size: 1.1rem;
}
.core-list b {
    font-weight: 700;
    font-size: 1.15rem;
    margin-right: 0.35rem;
    display: inline-block;
    width: 1.3rem;
    text-align: center;
}
.core-list .kr {
    color: #ccc;
    margin-left: 0.3rem;
    font-size: 0.95rem;
}
/* 계단 배치 */
.core-list.left .l1 { padding-left: 80px; }
.core-list.left .l2 { padding-left: 40px; }
.core-list.left .l3 { padding-left: 0px;  }
.core-list.left .l4 { padding-left: 40px; }
.core-list.left .l5 { padding-left: 80px; }
.core-list.right .r1 { padding-left: 10px; }
.core-list.right .r2 { padding-left: 40px; }
.core-list.right .r3 { padding-left: 80px; }
.core-list.right .r4 { padding-left: 40px; }

.core-img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
}
.core-circle-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ───────────── 05. 숫자로 보는 반도테크 ───────────── */
.about-stats {
    background: linear-gradient(to bottom, #000000 0%, #4e60e6 50%, #aab3ff 100%);
    color: black;
    padding: 6rem 1rem;
    text-align: center;
}
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}
.stat {
    flex: 0 0 220px;
    background: transparent;          /* ✅ 3번: 배경 투명 */
    border: 1px solid #000;           /* ✅ 3번: 테두리 검정 */
    border-radius: 8px;
    padding: 2rem;
    box-shadow: none;                 /* 그림자 제거 */
}
.stat span {
    font-size: 2.4rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.8rem;
}
.stat p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ───────────── 06. 회사 위치 지도 ───────────── */
.about-map iframe {
    display: block;
    width: 100%;
    filter: grayscale(0.2) brightness(0.9);
}

/* ───────────── 반응형 ───────────── */
@media (max-width: 768px) {
    /* ✅ 1번: .about-info 수평 유지 */
    .info-grid {
        flex-direction: row;         /* 좌우 정렬 유지 */
        flex-wrap: nowrap;
        gap: 1rem;
        align-items: stretch;        /* ✅ 높이 맞춤 */
    }

    .info-img img {
        width: 100%;
        height: 100%;                /* ✅ 텍스트 높이에 맞춰 이미지 늘림 */
        object-fit: cover;
        max-width: none;
        border-radius: 8px;
    }

    .info-img {
        flex: 1 1 45%;
        display: flex;
        align-items: stretch;
    }

    .info-text {
        flex: 1 1 55%;
        font-size: 0.85rem;          /* ✅ 글자 크기 소폭 축소 */
        line-height: 1.6;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 1rem;
    }

    /* ✅ 2번: about-core 크기 축소 */
    .core-img {
        width: 200px;
    }
    .core-list {
        font-size: 0.9rem;
        height: auto;
    }
    .core-list.left {
        margin-left: 100px;
    }
    .core-list.right {
        margin-right: 100px;
    }

    /* ✅ 3번: stats 카드 반응형 두 열 */
    .stat {
        flex: 0 0 45%;
    }

    /* 기타 폰트 크기 축소 */
    .about-intro h2 {
        font-size: 2rem;
    }
    .info-text h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    .slogan-text,
    .slogan-img {
        text-align: center;
    }
    .slogan-flex {
        flex-direction: column;
        gap: 1.5rem;
    }
    .slogan-text {
        text-align: center !important;
    }
    .core-perfect-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .core-list.left,
    .core-list.right {
        align-items: center;
    }
}
