﻿/* =================================================
   CLIO WAY - 스타일시트
   ================================================= */

/* ----- 기본 리셋 & 공통 ----- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* main.html / index.css body와 동일 — CLIO WAY 섹션 타이포 기준 */
    font-family: "Roboto", "Noto Sans KR", sans-serif;
    background: #ffffff;
    color: #666666;
}

.page {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
    overflow-x: visible;
    overflow-y: visible;
}

/* ================= HERO (Hero) ================= */
.hero {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

/* ================= CLIO WAY HERO REFINEMENT ================= */
/* hero 전체 폭·높이에 균일한 스크림(공통 .hero__overlay는 max-width 1200px 중앙만 덮음) */
.about-clio_way .hero__overlay {
    left: 0;
    right: 0;
    transform: translateY(24px);
    width: 100%;
    max-width: none;
    background: transparent;
    gap: 15px;
}

.about-clio_way .hero__title {
    /* .main-clio-way__title */
    font-family: "Roboto", sans-serif;
    font-size: 60px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.about-clio_way .hero__subtitle {
    /* .main-clio-way__subtitle */
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 20px;
    opacity: 0.9;
    letter-spacing: 0;
}

.about-clio_way .hero__desc {
    /* .main-clio-way__card-desc — 본문형 문단 */
    font-family: "Roboto", "Noto Sans KR", sans-serif !important;
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 35px !important;
    max-width: 900px !important;
    letter-spacing: 0.8px !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5) !important;
}


/* ================= HERO 바로 아래 배너 (image1) ================= */
.hero-banner {
    width: 100%;
    display: block;
}

.hero-banner img {
    width: 100%;
    display: block;
}

/* ================= SECTION TITLE ================= */
.section-title {
    /* .main-clio-way__title */
    text-align: center;
    color: #666666;
    font-family: "Roboto", sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 39px;
    letter-spacing: 0;
}

.section-subtitle {
    /* .main-clio-way__subtitle */
    text-align: center;
    color: #666666;
    font-size: 16px;
    font-weight: 500;
    line-height: 34px;
    margin-top: 14px;
    letter-spacing: 0;
}

/* CLIO VALUE 블록 제목·부제 — 메인 CLIO WAY 섹션과 동일 타이포 */
.clio-value .section-title {
    font-family: "Roboto", sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 39px;
    letter-spacing: 0;
}

.clio-value .section-subtitle {
    font-size: 16px;
    font-weight: 500;
    line-height: 34px;
    letter-spacing: 0;
}

/* ================= CLIO WAY SECTION ================= */
.clio-way {
    padding-top: 100px;
    padding-bottom: 60px;
}

/* 카드 타이포·레이아웃은 css/index.css 의 .main-clio-way__* 와 동일 마크업으로 적용 */

/* ================= CLIO VALUE SECTION ================= */
.clio-value {
    position: relative;
    padding-top: 60px;
    padding-bottom: 0;
}

.value-cards-wrap {
    position: relative;
    margin-top: 70px;
}

.value-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.value-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.value-cards {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    display: grid;
    grid-template-columns: repeat(2, 357px);
    grid-template-rows: repeat(2, 342px);
    column-gap: 118px;
    row-gap: 72px;
    justify-content: center;
}

.value-card {
    position: relative;
    width: 357px;
    height: 342px;
    background: #ffffff;
    padding: 56px 27px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    cursor: pointer;
}

.value-front {
    transition: opacity 0.35s ease;
}

.value-card .value-vertical {
    transition: opacity 0.35s ease;
}

.value-hover {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 40px 32px;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.value-hover li {
    /* .main-clio-way__card-desc */
    position: relative;
    padding-left: 14px;
    font-family: "Roboto", "Noto Sans KR", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.8px;
    color: #555555;
    word-break: keep-all;
}

.value-hover li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #555555;
}

.value-card:hover .value-front,
.value-card:hover .value-vertical {
    opacity: 0;
}

.value-card:hover .value-hover {
    opacity: 1;
    visibility: visible;
}

.value-vertical {
    /* 영문 강조 라벨(CHALLENGE 등) — 제목과 동일하게 볼드 */
    position: absolute;
    top: 50%;
    right: 28px;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    text-orientation: mixed;
    -webkit-text-orientation: mixed;
    font-family: "Roboto", sans-serif;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0;
    color: #d2cabc;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.value-card:nth-child(3) {
    grid-column: 1 / span 2;
    justify-self: center;
}

.value-num {
    font-family: "Roboto", sans-serif;
    font-size: 115px;
    font-weight: 100;
    line-height: 29px;
    letter-spacing: 0;
    color: #666666;
    text-align: left;
    font-synthesis: none;
}

.value-title {
    /* .main-clio-way__card-title */
    margin-top: 90px;
    font-size: 40px;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: 0;
    color: #666666;
    text-align: left;
}

.value-desc {
    /* .main-clio-way__card-desc */
    margin-top: 40px;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0.8px;
    color: #666666;
    text-align: left;
}

.value-quote {
    position: relative;
    z-index: 1;
    margin-top: 60px;
    padding-bottom: 80px;
    text-align: center;
    color: #666666;
    font-family: "Noto Sans KR", sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 34px;
    word-wrap: break-word;
}

.value-quote__line {
    display: inline;
}

.value-quote__line--lead::after {
    content: " ";
}

.value-quote__line--mid::after {
    content: " ";
}

.value-quote .bold {
    color: #666666;
    font-family: "Noto Sans KR", sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 34px;
    word-wrap: break-word;
}

/* ================= VALUE CARD 버튼 ================= */
.value-more {
    /* .main-clio-way__subtitle 계열(500, 자간 0) */
    display: none;
    margin-top: 24px;
    padding: 8px 18px;
    border: none;
    border-radius: 999px;
    background: #ffffff;
    color: #666666;
    font-family: "Roboto", "Noto Sans KR", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    cursor: pointer;
}

.value-more:focus {
    outline: 2px solid rgba(102, 102, 102, 0.5);
    outline-offset: 2px;
}

/* ================= 하단 이미지 (image3) ================= */
.bottom-image {
    width: 100%;
    display: block;
    margin: 0;
    font-size: 0; /* inline-img 하단 여백(baseline gap) 제거 */
}

.bottom-image img {
    width: 100%;
    display: block;
    margin: 0;
}

/* ================= 모바일 최적화 ================= */
/* 작은 스마트폰 ~ 갤럭시 Z Fold 펼침 ~ iPad Pro 13" 세로(~1024px) — 화면 폭 비율 fluid scaling */
@media (max-width: 1024px) and (orientation: portrait) {
    .hero {
        height: clamp(220px, 38vw, 380px);
    }

    .about-clio_way .hero__overlay {
        transform: translateY(clamp(10px, 2vw, 22px));
    }

    .about-clio_way .hero__desc {
        font-family: "Roboto", "Noto Sans KR", sans-serif !important;
        font-size: clamp(10px, 2.4vw, 17px) !important;
        font-weight: 400 !important;
        line-height: 1.85 !important;
        letter-spacing: 0.8px !important;
        max-width: 100% !important;
        padding: 0 clamp(16px, 3.6vw, 32px);
        text-align: center;
    }

    .section-title {
        font-size: clamp(22px, 5.2vw, 38px);
        line-height: 1.25;
        letter-spacing: 0;
    }

    .section-subtitle {
        font-size: clamp(11px, 2.6vw, 18px);
        line-height: 1.85;
        letter-spacing: 0;
    }

    .clio-value .section-title {
        font-size: clamp(22px, 5.2vw, 38px);
        line-height: 1.25;
        letter-spacing: 0;
    }

    .clio-value .section-subtitle {
        font-size: clamp(11px, 2.6vw, 18px);
        line-height: 1.85;
        font-weight: 500;
        letter-spacing: 0;
    }

    .clio-way {
        padding-top: clamp(36px, 7vw, 70px);
        padding-bottom: clamp(36px, 7vw, 70px);
    }

    .clio-value {
        padding-top: clamp(36px, 7vw, 70px);
    }

    .value-cards-wrap {
        margin-top: clamp(28px, 5.5vw, 56px);
    }

    .value-cards {
        display: flex;
        flex-direction: column;
        gap: clamp(28px, 5.5vw, 52px);
        padding-top: clamp(20px, 4vw, 40px);
    }

    .value-card {
        width: min(560px, 92vw);
        height: auto;
        min-height: clamp(280px, 56vw, 480px);
        padding: clamp(22px, 4.4vw, 40px) clamp(18px, 3.6vw, 32px) clamp(20px, 4vw, 36px);
        margin: 0 auto;
        background: transparent;
        box-shadow: none;
    }

    .value-vertical {
        right: clamp(6px, 1.4vw, 14px);
        font-family: "Roboto", sans-serif;
        font-size: clamp(26px, 6vw, 46px);
        font-weight: 700;
        letter-spacing: 0;
        color: #ffffff;
    }

    .value-num {
        font-family: "Roboto", sans-serif;
        font-size: clamp(70px, 16vw, 130px);
        font-weight: 100;
        letter-spacing: 0;
        font-synthesis: none;
    }

    .value-title {
        margin-top: clamp(52px, 11vw, 100px);
        font-size: clamp(24px, 5.6vw, 42px);
        font-weight: 700;
        letter-spacing: 0;
    }

    .value-desc {
        margin-top: clamp(18px, 3.6vw, 32px);
        font-size: clamp(16px, 3.6vw, 24px);
        font-weight: 400;
        line-height: 1.5;
        letter-spacing: 0.8px;
    }

    .value-more {
        align-self: flex-start;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: clamp(12px, 2.6vw, 16px);
        padding: clamp(7px, 1.6vw, 12px) clamp(14px, 3vw, 24px);
    }

    .value-hover {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        padding: 0;
        margin-top: clamp(14px, 3vw, 24px);
        gap: clamp(8px, 1.8vw, 14px);
    }

    .value-card:hover .value-front,
    .value-card:hover .value-vertical {
        opacity: 1;
    }

    .value-card:hover:not(.is-open) .value-hover {
        opacity: 0;
        visibility: hidden;
    }

    .value-card.is-open .value-hover {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .value-card.is-open .value-more {
        display: none;
    }

    .value-hover li {
        font-size: clamp(13px, 3vw, 20px);
        line-height: 1.5;
        font-weight: 400;
        letter-spacing: 0.8px;
    }

    .value-quote {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin-top: clamp(32px, 6.5vw, 64px);
        padding: 0 clamp(16px, 3.6vw, 32px) clamp(40px, 8vw, 80px);
        font-family: "Noto Sans KR", sans-serif;
        font-size: clamp(16px, 3.8vw, 28px);
        font-weight: 400;
        line-height: 1.5;
        letter-spacing: 0;
        color: #666666;
        word-wrap: break-word;
    }

    .value-quote__line {
        display: block;
        width: 100%;
        text-align: center;
    }

    .value-quote__line--lead::after,
    .value-quote__line--mid::after {
        content: none;
    }

    .value-quote__line--lead,
    .value-quote__line--trail {
        font-size: clamp(16px, 3.8vw, 28px);
        font-weight: 400;
        line-height: 1.5;
    }

    .value-quote__line--mid {
        font-size: clamp(15px, 3.6vw, 26px);
        font-weight: 400;
        line-height: 1.5;
        white-space: nowrap;
    }

    .value-quote__line--mid .bold {
        font-size: inherit;
        font-weight: 700;
        letter-spacing: 0;
    }
}
