@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;700&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
    --main-green: #1b6331;
}

/* ======================================
   BASE
====================================== */
.company-page {
    font-family: 'Pretendard', 'Jost', sans-serif;
    background: #fff;
    color: #111;
    letter-spacing: -0.02em;
    overflow-x: hidden;
}

/* ======================================
   1. COMPANY HEADER
====================================== */
.company-header {
    text-align: center;
    box-sizing: border-box;
}

.top-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    color: #222;
    margin-bottom: 0.6rem;
}

.top-sub {
    font-size: clamp(0.8rem, 1.4vw, 0.9rem);
    color: #777;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.main-title {
    font-family: 'Jost', sans-serif;
    color: var(--main-green);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.company-header .desc {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: #444;
    line-height: 1.8;
    max-width: 1000px;
    margin: 0 auto;
}

.since {
    font-size: clamp(0.7rem, 1vw, 0.8rem);
    font-weight: 700;
    margin: 3rem 0;
    letter-spacing: 0.1em;
    color: #000;
}

/* ======================================
   2. COMPANY VISION SECTION
====================================== */
.company-vision {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
    box-sizing: border-box;
    overflow: hidden;
}

.company-vision .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.vision-inner {
    position: relative;
    z-index: 2;
    max-width: 1500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.vision-inner h3 {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.subtext {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.section2-desc {
    max-width: 1200px;
    margin: 0 0 4rem 0;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    color: #fff;
    line-height: 1.9;
    opacity: 0.95;
}

/* ======================================
   2-1. VISION GRID
====================================== */
.vision-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(1rem, 3vw, 2rem);
    margin-bottom: 3rem;
    overflow: visible !important;
}

.vision-item {
    flex: 0 0 auto;
    width: clamp(160px, 20vw, 350px);
    height: clamp(160px, 20vw, 390px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
}

.vision-item:hover {
    transform: translateY(-8px);
    z-index: 10;
    background: rgba(255, 255, 255, 0.25);
}

.vision-item h4 {
    font-family: 'Jost', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.vision-item .title {
    font-weight: 700;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    margin-bottom: 0.4rem;
}

.vision-item p {
    font-size: clamp(0.7rem, 1.4vw, 0.9rem);
    font-weight: 500;
    line-height: 1.6;
    opacity: 0.9;
}

.vision-item .en {
    font-family: 'Jost', sans-serif;
    font-size: clamp(0.65rem, 1vw, 0.85rem);
    margin-top: 0.6rem;
    opacity: 0.85;
}

.en-bottom {
    font-family: 'Jost', sans-serif;
    font-size: clamp(0.65rem, 1vw, 0.85rem);
    opacity: 0.9;
    letter-spacing: 0.08em;
    margin-top: 5rem;
    text-align: center;
}

/* ======================================
   3. COMPANY SLOGAN
====================================== */
.company-slogan {
    text-align: center;
    background: #fff;
    color: #111;
    padding: 6rem 1rem 0;
}

.company-slogan h4 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
    margin-bottom: 2.5rem;
}

.company-slogan p {
    color: #444;
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.bottom-logo img {
    width: clamp(70px, 8vw, 90px);
    opacity: 0.9;
    transition: 0.3s ease;
}

.bottom-logo img:hover {
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 1920px) and (min-width: 1201px) {
    .vision-grid {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: clamp(2rem, 4vw, 4rem);
        overflow: visible;
    }

    .vision-item {
        width: clamp(250px, 18vw, 360px);
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .vision-item h4 {
        font-size: clamp(1.2rem, 1.5vw, 1.6rem);
    }

    .vision-item p {
        font-size: clamp(0.85rem, 0.9vw, 1rem);
        line-height: 1.6;
    }

    .vision-item .en {
        font-size: clamp(0.7rem, 0.8vw, 0.9rem);
    }
}


/* ------------------------------
   1200px 이하 : 레이아웃 축소 시작
------------------------------ */
@media (max-width: 1200px) {
    /* 전체 섹션 padding 통일 */
    .company-page section {
        padding: 0;
    }

    .company-header {
        padding: 0 2rem;
    }

    .company-header .desc {
        max-width: 90%;
        font-size: 0.95rem;
    }

    .company-vision {
        height: auto;
        min-height: 80vh;
        padding: 5rem 6%;
    }

    .vision-inner {
        text-align: center;
        align-items: center;
    }

    .vision-inner h3 {
        font-size: clamp(1.3rem, 2.3vw, 1.8rem);
    }

    .vision-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        align-items: center;
        row-gap: 2.5rem;
        column-gap: 10rem;
        overflow: visible !important;
    }

    .vision-item {
        width: clamp(220px, 35vw, 250px);
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        transition: transform 0.3s ease;
    }

    .vision-item:hover {
        transform: translateY(-6px);
        z-index: 10;
    }

    .company-slogan {
        padding: 4rem 1rem 0;
    }

    .vision-item h4 {
        font-size: clamp(1rem, 2vw, 1.4rem);
        margin-bottom: 0.6rem;
    }

    .vision-item p {
        font-size: clamp(0.75rem, 1.2vw, 0.9rem);
        line-height: 1.6;
    }

    .vision-item .en {
        font-size: clamp(0.65rem, 1vw, 0.85rem);
    }
    .company-slogan h4 {
        padding: 4rem 1rem 0;
    }
}

/* ------------------------------
   900px 이하 : 태블릿 전환
------------------------------ */
@media (max-width: 900px) {
    .company-header {
        padding: 0 1.5rem;
    }

    .company-header .desc {
        font-size: 0.9rem;
    }

    .company-vision {
        flex-direction: column;
        padding: 4rem 4%;
    }

    .vision-inner h3 {
        font-size: 1.5rem;
        line-height: 1.5;
    }

    .vision-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 2rem;
        column-gap: 1.5rem;
    }

    .vision-item {
        width: clamp(180px, 40vw, 260px);
        aspect-ratio: 1 / 1;
    }

    .vision-item h4 {
        font-size: clamp(0.95rem, 1.8vw, 1.2rem);
    }

    .vision-item p {
        font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    }

    .company-slogan {
        padding: 3rem 1rem 0;
    }

    .company-slogan p {
        font-size: 0.85rem;
    }
}

/* ------------------------------
   800px 이하 : 모바일 전환 시작
------------------------------ */
@media (max-width: 800px) {
    .company-header {
        padding: 0 1.2rem;
    }

    .top-title {
        font-size: 1.4rem;
    }

    .top-sub {
        font-size: 0.85rem;
    }

    .main-title {
        font-size: 1.2rem;
    }

    .company-header .desc {
        font-size: 0.85rem;
        line-height: 1.7;
    }

    .company-vision {
        height: auto;
        padding: 3rem 1.5rem;
    }

    .vision-inner {
        align-items: center;
        text-align: center;
    }

    .vision-inner h3 {
        font-size: 1.4rem;
    }

    .subtext {
        font-size: 0.9rem;
    }

    .vision-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 1.8rem;
        column-gap: 1.2rem;
        justify-items: center;
    }

    .vision-item {
        width: clamp(160px, 40vw, 220px);
        aspect-ratio: 1 / 1;
    }

    .vision-item h4 {
        font-size: 1.1rem;
    }

    .vision-item p:nth-of-type(2) {
        display: none !important;
    }

    .vision-item p:first-of-type {
        display: block !important;
    }

    .company-slogan {
        padding: 3rem 1rem;
    }

    .company-slogan h4 {
        font-size: 0.95rem;
    }

    .bottom-logo img {
        width: clamp(60px, 10vw, 70px);
    }
}

/* ------------------------------
   600px 이하 : 작은 모바일 대응
------------------------------ */
@media (max-width: 600px) {
    .company-header {
        padding: 0 1rem;
    }

    .top-title {
        font-size: 1.2rem;
    }

    .main-title {
        font-size: 1.1rem;
    }

    .company-header .desc {
        font-size: 0.8rem;
    }

    .vision-inner h3 {
        font-size: 1.2rem;
    }

    .vision-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 1.2rem;
        column-gap: 1rem;
    }

    .vision-item {
        width: clamp(130px, 42vw, 180px);
        aspect-ratio: 1 / 1;
    }

    .vision-item h4 {
        font-size: 0.95rem;
    }

    .vision-item p:nth-of-type(2) {
        display: none !important;
    }

    .vision-item .en {
        display: none;
    }

    .company-slogan {
        padding: 2rem 1rem 0;
    }

    .company-slogan p {
        font-size: 0.8rem;
    }
    .company-page section {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* ------------------------------
   400px 이하 : 최소 대응
------------------------------ */
@media (max-width: 400px) {
    .company-header {
        padding: 0 0.8rem;
    }

    .top-title {
        font-size: 1.1rem;
    }

    .main-title {
        font-size: 1rem;
    }

    .company-header .desc {
        font-size: 0.78rem;
    }

    .vision-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 0.8rem;
        column-gap: 0.6rem;
    }

    .vision-item {
        width: clamp(110px, 45vw, 150px);
        aspect-ratio: 1 / 1;
    }

    .vision-item h4 {
        font-size: 0.85rem;
    }

    .en-bottom {
        font-size: 0.7rem;
        margin-top: 3rem;
    }

    .company-slogan h4 {
        font-size: 0.85rem;
    }

    .company-slogan p {
        font-size: 0.75rem;
    }

    .bottom-logo img {
        width: 55px;
    }
    .section2-desc {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}


