@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
====================================== */
.field-page {
    font-family: 'Pretendard', 'Jost', sans-serif;
    background: #fff;
    color: #111;
    letter-spacing: -0.02em;
    overflow-x: hidden;
}

/* ======================================
   1. HEADER (공통 스타일)
====================================== */
.field-header {
    text-align: center;
    padding: 0;
}

.top-title {
    font-size: clamp(1.4rem, 2.8vw, 1.8rem);
    font-weight: 400;
    color: #222;
    margin-bottom: 0.6rem;
}

.top-sub {
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    color: #777;
    margin-bottom: 1.2rem;
}

.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;
}

.desc {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    color: #444;
    line-height: 1.9;
    font-weight: 400;
}

.since {
    font-size: clamp(0.7rem, 1vw, 0.8rem);
    font-weight: 700;
    margin-top: 4rem;
    margin-bottom: 6rem;
    letter-spacing: 0.1em;
    color: #000;
}

/* ======================================
   2. MAIN (이미지 + 텍스트)
====================================== */
.field-main {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto 6rem;
}

.field-image img {
    width: clamp(480px, 40vw, 640px);
    border-radius: 6px;
}

.field-text {
    flex: 1;
    min-width: 380px;
    max-width: 640px;
}

.field-text h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #333;
    line-height: 1.6;
}

.field-text h4 {
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    font-weight: 700;
    color: var(--main-green);
    margin-bottom: 1.2rem;
}

.field-text p {
    font-size: clamp(0.85rem, 1.3vw, 0.95rem);
    color: #444;
    line-height: 1.9;
    word-break: keep-all;
}

/* ======================================
   3. PROCESS SECTION
====================================== */
.field-process {
    text-align: center;
    background: #fff;
}

.field-process h3 {
    font-family: 'Jost', sans-serif;
    color: #111;
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    font-weight: 700;
    margin-bottom: 3rem;
}

.process-desc {
    max-width: 950px;
    margin: 0 auto 5rem;
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    color: #555;
    line-height: 1.8;
}

/* --- Process Grid --- */
.process-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 4rem;
    max-width: 1700px;
    margin: 0 auto 6rem;
    overflow-x: auto;
    scroll-behavior: smooth;
}

/* 각 아이템 */
.step-item {
    text-align: center;
    width: 100%;
    max-width: 180px;
}

/* STEP 번호 */
.step-num {
    font-family: 'Jost', sans-serif;
    font-size: clamp(0.75rem, 1.1vw, 0.85rem);
    font-weight: 600;
    color: #777;
    margin-bottom: 0.6rem;
    letter-spacing: 0.05em;
}

/* 한글 제목 */
.step-item h4 {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 600;
    color: var(--main-green);
    margin-bottom: 0.3rem;
}

/* 영어 텍스트 */
.step-item p:not(.step-num) {
    font-family: 'Jost', sans-serif;
    font-size: clamp(0.6rem, 1vw, 0.8rem);
    color: #000;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
}

/* 아이콘 */
.step-item img {
    width: clamp(3rem, 5vw, 4rem);
    height: auto;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    opacity: 0.85;
}

/* ======================================
   RESPONSIVE
====================================== */

/* --- 1200px 이하 --- */
@media (max-width: 1200px) {
    .field-header {
        padding: 0;
    }

    .field-main {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        margin-bottom: 5rem;
    }

    .field-image img {
        width: 100%;
        max-width: 560px;
    }

    .field-text {
        text-align: center;
        max-width: 700px;
    }

    .process-steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        align-items: flex-start;
        gap: 3rem 2rem;
        max-width: 1000px;
        margin: 0 auto 5rem;
        overflow: visible;
    }

    .step-item {
        width: 100%;
        max-width: 180px;
    }
}

/* --- 900px 이하 --- */
@media (max-width: 900px) {
    .field-main {
        gap: 2.5rem;
    }

    .field-text h3 {
        font-size: 1.3rem;
    }

    .field-text p {
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .process-desc {
        margin-bottom: 4rem;
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem 1.5rem;
    }
    .step-item img {
        width: 3.5rem;
    }

    .step-item h4 {
        font-size: 1rem;
    }
}

/* --- 800px 이하 --- */
@media (max-width: 800px) {
    .field-header {
        padding: 0 0.5rem;
    }

    .field-main {
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .field-text h3 {
        font-size: 1.2rem;
    }

    .field-text h4 {
        font-size: 0.9rem;
    }

    .field-text p {
        font-size: 0.85rem;
        padding: 0 0.5rem;
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    .step-item img {
        width: 3.2rem;
    }

    .process-desc {
        margin-bottom: 3rem;
        padding: 0 0.5rem;
    }
}

/* --- 600px 이하 --- */
@media (max-width: 600px) {
    .field-main {
        gap: 1.8rem;
    }

    .field-text h3 {
        font-size: 1.1rem;
    }

    .field-text p {
        font-size: 0.8rem;
        line-height: 1.7;
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    .step-item h4 {
        font-size: 0.95rem;
    }
    .step-item p:not(.step-num) {
        font-size: 0.7rem;
    }
    .step-item img {
        width: 2.8rem;
        margin-top: 1.2rem;
    }

    .process-desc {
        font-size: 0.85rem;
    }
    .since {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
}

/* --- 400px 이하 --- */
@media (max-width: 400px) {
    .top-title {
        font-size: 1.1rem;
    }

    .main-title {
        font-size: 0.95rem;
    }

    .field-text p {
        font-size: 0.78rem;
        line-height: 1.6;
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .step-item h4 {
        font-size: 0.9rem;
    }
    .step-item p:not(.step-num) {
        font-size: 0.65rem;
    }
    .step-item img {
        width: 2.5rem;
    }
}
