/* ========== Global ========== */
:root {
    --c-txt: #1f2937;
    --c-muted: #ffffff;
    --c-brand: #22a6b3;
    --c-bg: #f9fafb;
    --max: 1200px;
    --base-font: 16px;
}
html {
    font-size: var(--base-font);
}
body {
    margin: 0;
    color: var(--c-txt);
    font-family: "Jost","Noto Sans KR",system-ui,Segoe UI,Apple SD Gothic Neo,sans-serif;
}
.container {
    margin: 0 auto;
    line-height: 1.6;
}
.sec__title {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    line-height: 1.2;
    margin: 0 0 clamp(0.5rem, 1vw, 0.6rem);
    font-weight: 700;
    letter-spacing: .2px;
    color: #00a0e9;
}
.sec__subtitle {
    color: 	#696969;
    margin: 0 0 clamp(2rem, 6vw, 5rem);
    font-size: clamp(0.9rem, 1.2vw, 1rem);
}

/* TOP HERO */
.top-hero {
    position: relative;
    height: 100vh;
    color: #fff;
}
.top-hero__bg {
    position: absolute;
    inset: 0;
    background: url('/img/main/bg-forest.jpg') center/cover no-repeat;
    filter: brightness(0.55);
}
.top-hero__header {
    position: absolute;
    top: clamp(1rem, 4vw, 2rem);
    left: clamp(1rem, 5vw, 2.5rem);
    z-index: 2;
}
.top-hero__logo {
    height: clamp(2rem, 3vw, 3rem);
}
.top-hero__content {
    position: relative;
    z-index: 1;
    max-width: var(--max);
    padding: clamp(1rem, 4vw, 1.5rem);
    top: 40%;
    left: clamp(5%, 10vw, 12%);
    transform: translateY(-30%);
    text-align: left;
}
.top-hero__content h1 {
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    font-weight: 700;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    line-height: 1.3;
}
.top-hero__content p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
    color: #f1f5f9;
}

/* PARADIGM */
.paradigm {
    position: relative;
    height: 100vh;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.paradigm__bg {
    position: absolute;
    inset: 0;
    background: url('/img/main/bg-soil.jpg') center/cover no-repeat;
    filter: brightness(0.7);
}
.paradigm__buttons {
    position: relative;
    z-index: 2;
    margin-bottom: clamp(1rem, 5vw, 2rem);
    padding-top: clamp(3rem, 8vw, 6rem);
}
.paradigm__buttons button {
    background: transparent;
    border: 1px solid #222;
    border-radius: 20px;
    padding: clamp(0.3rem, 1vw, 0.5rem) clamp(0.8rem, 2vw, 1.25rem);
    margin: 0 clamp(0.2rem, 1vw, 0.3rem);
    font-size: 0.875rem;
    color: #fff;
    cursor: pointer;
}
.paradigm__buttons button.active {
    background: #000;
    color: #fff;
}
.paradigm__content {
    position: relative;
    z-index: 1;
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(1rem, 6vw, 5rem) clamp(1rem, 4vw, 1.25rem);
}
.paradigm__title {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    line-height: 1.2;
    margin: 0 0 clamp(0.5rem, 1vw, 0.6rem);
    font-weight: 700;
    letter-spacing: .2px;
}
.paradigm__subtitle {
    color: var(--c-muted);
    margin: 0 0 clamp(2rem, 6vw, 5rem);
    font-size: clamp(0.9rem, 1.2vw, 1rem);
}
.paradigm__circles {
    display: flex;
    justify-content: center;
    gap: clamp(1.5rem, 6vw, 7rem);
    flex-wrap: wrap;
    margin-bottom: clamp(3rem, 12vw, 6rem);
}
.circle {
    width: clamp(12rem, 18vw, 16rem);
    height: clamp(12rem, 18vw, 16rem);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.90) 70%, rgba(255,255,255,0) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(1rem, 3vw, 1.25rem);
    color: #222;
    position: relative;
    box-shadow: 0 0 2.5rem 1rem rgba(255,255,255,0.6);
}
.circle img {
    width: clamp(3rem, 6vw, 7.5rem);
}
.circle h3 {
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    font-weight: 700;
    color: #00abbc;
    margin-bottom: clamp(0.4rem, 1vw, 0.6rem);
}
.circle p {
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    line-height: 1.5;
    color: #333;
}
/* 하단 키워드 */
.paradigm__keywords {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 4vw, 1.8rem);
    flex-wrap: wrap;
}
.keyword {
    border: 1px solid #1d9bf0;
    border-radius: 10px;
    padding: clamp(1rem, 3vw, 1.5rem) clamp(1.5rem, 4vw, 2rem);
    min-width: 16rem;
    max-width: 18rem;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(2px);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.keyword h4 {
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    font-weight: 700;
    margin-bottom: clamp(0.5rem, 1vw, 0.8rem);
    color: #1d9bf0;
}
.keyword p {
    font-size: clamp(0.85rem, 1vw, 1rem);
    line-height: 1.6;
    color: #fff;
}
.keyword:first-child {
    border: 1px solid #1d9bf0;
    background: transparent;
}
.keyword:first-child h4 {
    color: #1d9bf0;
}

/* VALUES SECTION */
.values {
    padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 4vw, 2rem);
    background: #fff;
    text-align: center;
}
.values__buttons {
    margin-bottom: clamp(2rem, 6vw, 5.5rem);
}
.values__buttons button {
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: clamp(0.3rem, 1vw, 0.4rem) clamp(0.8rem, 2vw, 1.2rem);
    margin: 0 clamp(0.2rem, 1vw, 0.3rem);
    font-size: 0.875rem;
    color: #555;
}
.values__buttons button.active {
    background: #000;
    color: #fff;
    border-color: #000;
}
.values__title {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    line-height: 1.2;
    margin: 0 0 clamp(0.5rem, 1vw, 0.6rem);
    font-weight: 700;
    color: #00a0e9;
    letter-spacing: .2px;
}
.values__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    max-width: 1400px;
    margin: 0 auto;
}

/* 카드 공통 */
.value-card {
    position: relative;
    height: clamp(20rem, 47vh, 35rem);
    color: #fff;
    border-radius: 6px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    padding: clamp(1rem, 2vw, 2rem);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.value-card:hover {
    transform: translateY(-0.5rem) scale(1.02);
    box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}
.value-card .overlay {
    position: absolute;
    inset: 0;
}
.value-card .text {
    position: relative;
    z-index: 2;
}
.value-card h3 {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 700;
    margin-bottom: clamp(0.4rem, 1vw, 0.6rem);
}
.value-card p {
    font-size: clamp(0.85rem, 1vw, 1rem);
    line-height: 1.6;
    margin: 0;
}

/* 카드별 텍스트 위치 */
.value-card.innovation {
    background-image: url('/img/main/val-innovation.jpg');
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}
.value-card.trust {
    background-image: url('/img/main/val-trust.jpg');
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
}
.value-card.sustainability {
    background-image: url('/img/main/val-sustain.jpg');
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}
.value-card.respect {
    background-image: url('/img/main/val-respect.jpg');
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
}

/* BRAND HERO */
.brand-hero {
    position: relative;
    background: url('/img/main/bg-brand.png') center/cover no-repeat;
    height: 100vh;
    color: #fff;
    font-family: 'Noto Sans KR', sans-serif;
}

.brand-hero__overlay {
    background: rgba(0,0,0,.55);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

/* OUR BRAND 박스 */
.brand-hero__eyebrow {
    font-size: .85rem;
    letter-spacing: 2px;
    border: 1px solid #fff;
    padding: .4rem 1.2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* 로고 이미지 */
.brand-hero__logo {
    height: 80px;
    margin-bottom: 1.5rem;
}

/* 설명 텍스트 */
.brand-hero__desc {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 2rem;
}

/* NOTE → 오른쪽 하단 배치 */
.brand-hero__note {
    font-size: .85rem;
    color: #bbb;
    line-height: 1.6;
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    text-align: right;
}

/* 2. WHY SOILUTION */
.why {
    padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 4vw, 2rem);
    background: #fff;
    position: relative;
    text-align: center;
}

.why__tabs {
    display: flex;
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    margin-bottom: clamp(2rem, 6vw, 5.5rem);
    list-style: none;
    padding: 0;
}
.why__tabs li {
    padding: clamp(0.3rem, 1vw, 0.4rem) clamp(0.8rem, 2vw, 1.2rem);
    border-radius: 20px;
    background: transparent;
    font-size: 0.875rem;
    color: #777;
    border: 1px solid #ccc;
}
.why__tabs li.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.why .sec__title {
    color: #00a0e9;
    font-weight: 600;
}
.why .sec__subtitle {
    color: #696969;
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    max-width: 1500px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.why__card {
    text-align: center;
}

.why__icon {
    width: 15rem;
    max-width: 100%;
    margin: 0 auto 1.5rem;
    display: block;
}

.why__card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.why__card h3 {
    display: inline-block;
    background: #f2f2f2;
    padding: clamp(0.4rem, 1vw, 0.6rem) clamp(1rem, 2vw, 1.2rem);
    border-radius: 30px;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    font-weight: 700;
    margin-bottom: clamp(0.8rem, 1vw, 1rem);
    color: #00a0e9;
}

.why__card p {
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    color: #444;
    line-height: 1.7;
    margin: 0;
}


.why__note {
    font-size: clamp(0.7rem, 0.9vw, 0.8rem);
    color: #999;
    text-align: center;
    margin-top: clamp(3rem, 6vw, 4rem);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}


/* 3. CARBON CREDIT */
.carbon {
    position: relative;
    background: url(/img/main/bg-carbon.png) center center / cover no-repeat;
    color: #fff;
    height: 115vh;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 0 10rem;
}

.carbon__overlay {
    max-width: 800px;
}

.carbon__title {
    font-size: clamp(2rem, 3vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.carbon__desc {
    max-width: 1000px;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    line-height: 1.8;
}

/* 4. CORE VALUES */
.core-values {
    padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 4vw, 2rem);
    background: #fff;
    text-align: center;
}

.core-values .why__tabs {
    margin-bottom: clamp(2rem, 6vw, 5.5rem);
}

.core-values .sec__title {
    color: #00a0e9;
    font-weight: 600;
}
.core-values .sec__subtitle {
    color: #696969;
}

.core-values__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(6rem, 8vw, 12rem);
    max-width: 1300px;
    margin: 0 auto;
}

.core-card {
    text-align: center;
}

.core-card__circle {
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.core-card.eco .core-card__circle {
    box-shadow: 0 0 40px rgba(0, 180, 255, 0.4);
}
.core-card.economy .core-card__circle {
    box-shadow: 0 0 40px rgba(255, 180, 0, 0.4);
}
.core-card.social .core-card__circle {
    box-shadow: 0 0 40px rgba(180, 255, 0, 0.4);
}

.core-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.core-card h3 {
    font-size: clamp(1rem, 1.3vw, 1.3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.core-card.eco h3 { margin-top: 3rem; color: #00a0e9; }
.core-card.economy h3 { margin-top: 3rem; color: #f28c00; }
.core-card.social h3 {margin-top: 3rem;  color: #7ac943; }

.core-card p {
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    line-height: 1.6;
    color: #444;
}

/* 5. EW TECHNOLOGY */
.ew {
    padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem);
    text-align: center;
    background: #fff;
}

.ew .sec__title {
    color: #00a0e9;
    font-weight: 600;
}

.ew .sec__subtitle {
    color: #696969;
    margin-bottom: 3rem;
}

.ew__visual {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.ew__visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5rem;
}

.ew__caption {
    position: absolute;
    top: 12%;
    right: 6%;
    max-width: 600px;
    text-align: right;
    color: #fff;
}

.ew__caption p:first-child {
    background: #fff;
    font-weight: 700;
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border-radius: 5rem;
    margin-bottom: 1rem;
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    color: #222;
    text-align: right;
}
.ew__caption p:first-child strong {
    color: #00a0e9;
}

.ew__caption p:last-child {
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    line-height: 1.8;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    text-align: right;
}


/* 6. CERTIFICATES */
.certs { padding:5rem 2rem; background:#fff; text-align:center; }
.certs__grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:2rem; max-width:var(--max); margin:0 auto; }
.certs__grid img { width:100%; border:1px solid #eee; box-shadow:0 4px 12px rgba(0,0,0,.1); }


/* ==================== Responsive ==================== */

/* 1500px 이하 */
@media (max-width:1500px) {
    .why__icon { width: 12rem; }
    .core-card__circle { width: 18rem; height: 18rem; }
    .carbon { padding: 0 6rem; }
    .ew__caption { max-width: 500px; }
}

/* 1200px 이하 */
@media (max-width:1200px) {
    .top-hero__content { left: 8%; top: 35%; }
    .carbon { padding: 0 4rem; height: auto; min-height: 90vh; }
    .carbon__title { font-size: 2rem; }
    .core-values__grid { gap: 4rem; }
    .ew__caption { right: 4%; top: 10%; }
    .ew__caption p:first-child { font-size: 0.9rem; }
    .ew__caption p:last-child { font-size: 0.85rem; }
}

/* 900px 이하 (태블릿 세로) */
@media (max-width:900px) {
    .top-hero__content { left: 5%; top: 30%; transform: translateY(-20%); }
    .top-hero__content h1 { font-size: 2rem; }
    .top-hero__content p { font-size: 0.95rem; }
    .paradigm__circles { gap: 3rem; }
    .paradigm__keywords { flex-direction: column; gap: 1.5rem; }
    .carbon { flex-direction: column; padding: 3rem 2rem; text-align: center; }
    .carbon__overlay { max-width: 100%; }
    .core-values__grid { gap: 3rem; }
    .core-card__circle { width: 15rem; height: 15rem; }
    .ew__caption { position: relative; max-width: 100%; margin: 2rem auto 0; text-align: center; }
    .ew__caption p { text-align: center !important; }
}

/* 600px 이하 (모바일) */
@media (max-width:600px) {
    .top-hero { height: 90vh; }
    .top-hero__logo { height: 2rem; }
    .top-hero__content { top: 25%; padding: 1rem; }
    .top-hero__content h1 { font-size: 1.5rem; }
    .top-hero__content p { font-size: 0.85rem; line-height: 1.5; }

    .paradigm { height: auto; padding: 4rem 1rem; }
    .paradigm__circles { flex-direction: column; gap: 2rem; }
    .circle { width: 10rem; height: 10rem; }
    .circle img { width: 3rem; }
    .paradigm__keywords { flex-direction: column; }

    .values__grid { grid-template-columns: 1fr; gap: 2rem; }
    .value-card { height: 16rem; }

    .why__grid { grid-template-columns: 1fr; }
    .why__icon { width: 10rem; }
    .why__card h3 { font-size: 0.9rem; }
    .why__card p { font-size: 0.8rem; }

    .carbon { padding: 2rem 1rem; height: auto; }
    .carbon__title { font-size: 1.5rem; }
    .carbon__desc { font-size: 0.9rem; }

    .core-card__circle { width: 12rem; height: 12rem; }
    .core-card h3 { margin-top: 1rem; }

    .ew__visual img { border-radius: 1rem; }
}

/* 400px 이하 (소형 모바일) */
@media (max-width:400px) {
    body { font-size: 14px; }
    .top-hero { height: 80vh; }
    .top-hero__content h1 { font-size: 1.25rem; }
    .top-hero__content p { font-size: 0.75rem; }

    .circle { width: 8rem; height: 8rem; }
    .circle img { width: 2.5rem; }
    .circle h3 { font-size: 0.8rem; }

    .keyword { min-width: auto; max-width: 100%; padding: 1rem; }
    .keyword h4 { font-size: 0.9rem; }
    .keyword p { font-size: 0.75rem; }

    .carbon__title { font-size: 1.25rem; }
    .carbon__desc { font-size: 0.8rem; line-height: 1.5; }

    .core-card__circle { width: 10rem; height: 10rem; }
    .core-card h3 { font-size: 0.9rem; }
    .core-card p { font-size: 0.75rem; }

    .ew__caption p:first-child { font-size: 0.75rem; }
    .ew__caption p:last-child { font-size: 0.75rem; line-height: 1.5; }
}
