@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;
}

.soil-page {
    font-family: 'Pretendard', 'Jost', sans-serif;
    color: #111;
    background: #fff;
    letter-spacing: -0.02em;
}

/* ===============================
   SECTION 1 : 브랜드 헤더
=============================== */
.soil-header {
    text-align: center;
    background: #fff;
}

.soil-header .logo-wrap {
    margin-bottom: 2rem;
}

.brand-logo {
    width: 200px;
    display: block;
    opacity: 0.95;
    margin: 0 auto 1rem;
}

.brand-sub {
    font-size: 1.1rem;
    color: #222;
    font-weight: 500;
    margin-bottom: 3rem;
}

.combine-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.combine-box {
    width: 370px;
    border: 2px solid #ddd;
    border-radius: 100px;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}

.combine-box img {
    width: 70%;
    height: auto;
    display: block;
}

.combine-desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

.combine-desc strong {
    color: #111;
    font-weight: 600;
}


/* ===============================
   SECTION 2 : 메인 비주얼
=============================== */
.soil-hero {
    position: relative;
    width: 100%;
    height: 600px;
    margin-top: 3rem;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.soil-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.hero-text {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 30%;
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.hero-text h2 span {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
}

.inline-logo {
    width: 60px;
    height: 25px;
    vertical-align: middle;
}

.hero-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #f5f5f5;
    margin-bottom: 1.2rem;
    max-width: 800px;
}


/* ===============================
   SECTION 3 : 브랜드 소개
=============================== */
.soil-intro {
    text-align: center;
    padding: 5rem 1rem;
    background: #fff;
}

.soil-intro h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.intro-desc {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 3rem;
}

.soil-intro h4 {
    font-family: 'Jost', sans-serif;
    color: var(--main-green);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4rem;
    letter-spacing: 0.05em;
}

.intro-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto 3.5rem;
}

.intro-item {
    flex: 1;
    min-width: 220px;
    max-width: 330px;
    background: #f8f9f8;
    border-radius: 6px;
    padding: 2rem 1.2rem;
    transition: all 0.3s ease;
}

.intro-item:hover {
    background: #eef5ef;
}

.intro-item img {
    width: 70px;
    margin-bottom: 0.8rem;
}

.intro-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: black;
    margin-bottom: 0.6rem;
}

.intro-item p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
}

.soil-intro > p:last-of-type {
    font-size: 0.75rem;
    color: #777;
    margin-top: 1.5rem;
    line-height: 1.6;
}


/* ===============================
   SECTION 4 : 콘텐츠 블록
=============================== */
.soil-content {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem 7rem;
}

.content-block {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
}

.content-block.right {
    flex-direction: row-reverse !important;
}

.content-block img {
    width: 600px;
    border-radius: 4px;
    flex-shrink: 0;
}

.content-block .text {
    flex: 1;
    min-width: 400px;
    max-width: 680px;
}

.content-block h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.content-block h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1b6331;
    margin-bottom: 0.8rem;
}

.content-block p {
    font-size: 0.95rem;
    color: #444;
    line-height: 2;
}


/* ===============================
   SECTION 5 : 인포그래픽
=============================== */
.soil-infographic {
    background: #fff;
    padding: 3rem 1rem 6rem;
}

.infographic-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1500px;
    margin: 0 auto;
}

/* 왼쪽 텍스트 */
.infographic-text {
    flex: 1 1 45%;
    min-width: 320px;
    text-align: center;
}

.infographic-logo {
    width: 160px;
    height: auto;
    margin-bottom: 1.5rem;
}

.soil-infographic h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.2rem;
}

.infographic-desc {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.infographic-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1b6331;
    margin-bottom: 2rem;
}

.infographic-sub h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.5rem;
}

.infographic-sub p {
    font-size: 0.9rem;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 0;
}

.since {
    font-size: 0.8rem;
    color: #777;
    margin-top: 0.8rem;
}

/* 오른쪽 이미지 */
.infographic-image {
    flex: 1 1 45%;
    text-align: center;
}

.infographic-image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 2rem;
}

/* ===============================
   SECTION 6 : 제품 목업
=============================== */
.soil-mog-up.full-width {
    text-align: center;
}

.soil-mog-up.full-width img {
    width: 90%;
    max-width: none;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 2rem;
}


/* ===============================
   SECTION 7 : 하단 슬로건
=============================== */
.soil-slogan {
    background: #fff;
    text-align: center;
    padding: 5rem 1rem 0rem;
    position: relative;
}

.soil-slogan .slogan-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.soil-slogan h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #111;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    line-height: 1.6;
}

.soil-slogan p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.soil-slogan img {
    width: 90px;
    margin-top: 1rem;
    opacity: 0.9;
    transition: 0.3s ease;
}

.soil-slogan img:hover {
    opacity: 1;
    transform: scale(1.05);
}


/* ===============================
   반응형 스타일 (soil.css)
   compost.css 반응형 구조 기반
=============================== */

/* --- 1600px 이하 --- */
@media (max-width: 1600px) {
    .soil-content {
        max-width: 1200px;
        gap: 4rem;
    }

    .infographic-container {
        max-width: 1300px;
        gap: 2.5rem;
    }
}

/* --- 1200px 이하 --- */
@media (max-width: 1200px) {
    .soil-hero {
        height: 500px;
    }

    .hero-text h2 {
        font-size: clamp(1.2rem, 2vw, 1.4rem);
    }

    .hero-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .soil-intro h3 {
        font-size: 1.6rem;
    }

    .intro-item {
        max-width: 280px;
    }

    .infographic-text {
        text-align: center;
    }

    .infographic-image img {
        max-width: 550px;
    }

    .soil-mog-up.full-width img {
        width: 95%;
        border-radius: 1.5rem;
    }

    .soil-slogan {
        padding: 4rem 1rem;
    }
}

/* --- 900px 이하 --- */
@media (max-width: 900px) {

    .intro-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        justify-items: center;
        align-items: stretch;
        max-width: 700px;
        margin: 0 auto 3rem;
    }

    .soil-intro {
        padding: 4rem 1rem;
    }

    .intro-item {
        width: 100%;
        max-width: 320px;
        min-width: 150px;
        flex: none;
        background: #f8f9f8;
        border-radius: 8px;
        padding: 1.8rem 1rem;
        transition: transform 0.3s ease, background 0.3s ease;
    }

    .intro-item:hover {
        transform: translateY(-3px);
        background: #eef5ef;
    }

    .intro-item img {
        width: clamp(50px, 7vw, 65px);
        margin-bottom: 0.8rem;
    }

    .intro-item h4 {
        font-size: clamp(0.85rem, 2vw, 0.95rem);
    }

    .intro-item p {
        font-size: clamp(0.75rem, 1.8vw, 0.85rem);
        line-height: 1.5;
    }
    .intro-features {
        gap: 0.8rem;
    }

    .intro-item h4 {
        font-size: 0.9rem;
    }

    .infographic-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .infographic-text {
        text-align: center;
        padding: 0.5rem;
    }

    .infographic-image img {
        max-width: 100%;
        border-radius: 1.5rem;
    }

    .content-block img {
        width: 100%;
    }

    .soil-content {
        padding: 0 1rem 4rem;
    }

    .infographic-sub p {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .soil-infographic {
        padding: 0 0 0;
    }
}

/* --- 768px 이하 --- */
@media (max-width: 768px) {
    .soil-hero {
        height: 420px;
    }

    .hero-text h2 {
        font-size: clamp(1rem, 3vw, 1.1rem);
    }

    .hero-text p {
        display: none;
    }

    .intro-item {
        min-width: 180px;
    }

    .soil-mog-up.full-width {
        padding: 3rem 0 4rem;
    }

    .soil-mog-up.full-width img {
        width: 100%;
        border-radius: 1rem;
    }

    .soil-slogan h3 {
        font-size: 1.1rem;
    }

    .soil-slogan p {
        font-size: 0.9rem;
    }
}

/* --- 600px 이하 --- */
@media (max-width: 600px) {
    .soil-hero {
        height: 380px;
    }

    .hero-text h2 {
        font-size: clamp(0.95rem, 2.5vw, 1rem);
    }

    .hero-text p {
        font-size: 0.8rem;
    }

    .intro-item img {
        width: 60px;
    }

    .infographic-logo {
        width: 130px;
    }

    .infographic-desc {
        font-size: 0.85rem;
    }

    .infographic-title {
        font-size: 1rem;
    }

    .soil-slogan h3 {
        font-size: 1rem;
    }

    .soil-slogan p {
        font-size: 0.85rem;
    }
    .intro-item p {
        display: none;
    }
    p br {
        display: none;
    }
}

/* --- 480px 이하 --- */
@media (max-width: 480px) {
    .soil-page {
        transform: scale(1);
        transform-origin: top center;
    }
    .soil-content {
        padding: 0
    }
    .content-block .text {
        padding: 0.5rem;
    }

    .content-block .text {
        min-width: 350px;
        max-width: 600px;
    }

    .intro-item {
        min-width: 170px;
    }

    .infographic-sub p {
        margin-top: 2rem;
        margin-bottom: 0;
    }
    .infographic-text {
        padding-top: 2rem;
    }
    .soil-slogan {
        padding-top: 1rem;
    }
    .combine-box {
        width: 320px
    }

    /* 스크롤바 영역 조정 */
    body, html {
        overflow-x: hidden;
    }
}