@charset "UTF-8";

/* ========================================
   Constitutional Beauty Diagnosis (English)
   ======================================== */

/* --- Section 01: Hero --- */
.cb-hero {
    position: relative;
    width: 100%;
    height: 800px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cb-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(34, 30, 31, 0.6);
}

.cb-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.cb-hero-title {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Noto Serif KR', serif;
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
    text-align: center;
}

.cb-hero-sub {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
    padding-bottom: 60px;
}

.cb-hero-sub-title {
    font-family: 'Noto Serif KR', serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin: 0;
}

.cb-hero-sub-desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    line-height: 1.4;
    margin: 0;
}

/* --- Section 02: Prescriptions --- */
.cb-prescriptions {
    padding: 160px 0;
}

.cb-prescriptions .inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

.cb-prescriptions-header {
    display: flex;
    flex-direction: column;
    gap: 52px;
    text-align: center;
    max-width: 952px;
}

.cb-prescriptions-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 400;
    color: #840028;
    line-height: 1;
}

.cb-prescriptions-heading {
    font-family: 'Noto Serif KR', serif;
    font-size: 60px;
    font-weight: 700;
    color: #221E1F;
    line-height: 1;
    margin: 0;
}

.cb-prescriptions-desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #221E1F;
    line-height: 1.4;
    margin: 0;
}

/* Sticky 스크롤 구조 */
.cb-prescriptions-scroll {
    position: relative;
}

.cb-rx-triggers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cb-rx-trigger {
    flex: 1;
}

.cb-prescriptions-body {
    position: sticky;
    top: 120px;
    display: flex;
    align-items: center;
    width: 100%;
}

.cb-prescriptions-img {
    width: 740px;
    height: 500px;
    flex-shrink: 0;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.cb-rx-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cb-rx-img.active {
    opacity: 1;
}

.cb-prescriptions-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 40px;
    padding-left: 60px;
}

.cb-rx-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 720px;
}

.cb-rx-item--active .cb-rx-label {
    color: #840028;
}

.cb-rx-item--active .cb-rx-title {
    color: #221E1F;
}

.cb-rx-item--dim .cb-rx-label {
    color: rgba(132, 0, 40, 0.4);
}

.cb-rx-item--dim .cb-rx-title {
    color: #CDCAC3;
}

.cb-rx-label {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

.cb-rx-title {
    font-family: 'Noto Serif KR', serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
}

.cb-rx-divider {
    width: 720px;
    height: 1px;
    background: rgba(34, 30, 31, 0.2);
    align-self: flex-end;
}

.cb-rx-divider--dim {
    background: rgba(34, 30, 31, 0.1);
}

/* --- Section 03: Pulse Diagnosis (어두운 배경) --- */
.cb-pulse {
    background: #221E1F;
    padding: 160px 0;
}

.cb-pulse .inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.cb-pulse-part1 {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.cb-pulse-text1 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 52px;
    min-width: 0;
}

.cb-pulse-title-area {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.cb-pulse-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 400;
    color: #F7941C;
    line-height: 1;
}

.cb-pulse-heading {
    font-family: 'Noto Serif KR', serif;
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin: 0;
}

.cb-pulse-desc-intro {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    line-height: 1.4;
    margin: 0;
}

.cb-pulse-evidence {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.cb-pulse-evidence h3 {
    font-family: 'Noto Serif KR', serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin: 0;
}

.cb-pulse-evidence p {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    line-height: 1.6;
    margin: 0;
}

.cb-pulse-img1 {
    width: 850px;
    height: 546px;
    flex-shrink: 0;
    border-radius: 30px;
    overflow: hidden;
}

.cb-pulse-img1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cb-pulse-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.cb-pulse-part2 {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.cb-pulse-img2 {
    width: 650px;
    height: 737px;
    flex-shrink: 0;
    border-radius: 30px;
    overflow: hidden;
}

.cb-pulse-img2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cb-pulse-text2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 52px;
    min-width: 0;
}

.cb-pulse-insights {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.cb-pulse-insights h3 {
    font-family: 'Noto Serif KR', serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin: 0;
}

.cb-pulse-insights ul {
    list-style: disc;
    padding-left: 30px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cb-pulse-insights ul li {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    line-height: 1.6;
}

.cb-pulse-highlight {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #F7941C;
    line-height: 1.6;
    margin: 0;
}

/* --- Sections 04/05/06: 공통 오프셋 레이아웃 --- */
.cb-gongjin,
.cb-kyungok,
.cb-wellness {
    padding: 0;
}

.cb-gongjin-layout,
.cb-kyungok-layout,
.cb-wellness-layout {
    display: flex;
    align-items: flex-start;
    min-height: 1000px;
}

/* 이미지: 화면 끝까지 + 한쪽만 radius */
.cb-gongjin-img,
.cb-wellness-img {
    width: 50%;
    height: 1000px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0 30px 30px 0;
}

.cb-kyungok-img {
    width: 50%;
    height: 1000px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 30px 0 0 30px;
}

.cb-gongjin-img img,
.cb-kyungok-img img,
.cb-wellness-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 텍스트 영역 */
.cb-gongjin-text,
.cb-kyungok-text,
.cb-wellness-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 144px 80px;
    text-align: center;
    align-items: center;
}

.cb-gongjin-header,
.cb-kyungok-header,
.cb-wellness-header {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.cb-gongjin-subtitle,
.cb-kyungok-subtitle,
.cb-wellness-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 400;
    color: #840028;
    line-height: 1;
}

.cb-gongjin-heading,
.cb-kyungok-heading,
.cb-wellness-heading {
    font-family: 'Noto Serif KR', serif;
    font-size: 60px;
    font-weight: 700;
    color: #221E1F;
    line-height: 1.4;
    margin: 0;
}

.cb-gongjin-desc,
.cb-kyungok-desc,
.cb-wellness-desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #221E1F;
    line-height: 1.4;
    margin: 0;
}

.cb-gongjin-desc strong,
.cb-kyungok-desc strong {
    font-weight: 700;
}

/* Benefits 카드 */
.cb-benefits-title {
    font-family: 'Noto Serif KR', serif;
    font-size: 32px;
    font-weight: 700;
    color: #221E1F;
    line-height: 1.4;
    margin: 0;
}

.cb-benefits-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cb-benefits-cards--3 {
    max-width: 520px;
}

.cb-benefit-card {
    width: 160px;
    border: 1px solid #F7941C;
    border-radius: 20px;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.cb-benefit-num {
    font-family: 'Noto Serif KR', serif;
    font-size: 24px;
    font-weight: 700;
    color: #840028;
    line-height: 1;
}

.cb-benefit-card p {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #221E1F;
    line-height: 1.4;
    margin: 0;
}

.cb-gongjin-note,
.cb-kyungok-note,
.cb-wellness-note {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #221E1F;
    line-height: 1.4;
    margin: 0;
}

.cb-accent {
    color: #840028;
}

/* --- Section 07: Closing --- */
.cb-closing {
    padding: 160px 0;
    text-align: center;
}

.cb-closing-text {
    font-family: 'Noto Serif KR', serif;
    font-size: 48px;
    font-weight: 700;
    color: #221E1F;
    line-height: 1.6;
    margin: 0;
}

/* --- 반응형 --- */
@media (max-width: 1200px) {
    .cb-hero {
        height: 600px;
    }

    .cb-hero-title {
        font-size: 42px;
    }

    .cb-prescriptions-heading {
        font-size: 42px;
    }

    .cb-prescriptions-body {
        flex-direction: column;
        gap: 40px;
    }

    .cb-prescriptions-img {
        width: 100%;
        height: 400px;
    }

    .cb-prescriptions-list {
        padding-left: 0;
        align-items: flex-start;
    }

    .cb-rx-item,
    .cb-rx-divider {
        width: 100%;
    }

    .cb-pulse-part1,
    .cb-pulse-part2 {
        flex-direction: column;
    }

    .cb-pulse-img1,
    .cb-pulse-img2 {
        width: 100%;
        height: 400px;
    }

    .cb-pulse-heading {
        font-size: 42px;
    }

    .cb-gongjin-layout,
    .cb-kyungok-layout,
    .cb-wellness-layout {
        flex-direction: column;
        min-height: auto;
    }

    .cb-kyungok-layout {
        flex-direction: column-reverse;
    }

    .cb-gongjin-img,
    .cb-kyungok-img,
    .cb-wellness-img {
        width: 100%;
        height: 500px;
        border-radius: 0;
    }

    .cb-gongjin-text,
    .cb-kyungok-text,
    .cb-wellness-text {
        padding: 80px 40px;
    }

    .cb-gongjin-heading,
    .cb-kyungok-heading,
    .cb-wellness-heading {
        font-size: 42px;
    }

    .cb-rx-title {
        font-size: 32px;
    }

    .cb-pulse-evidence h3,
    .cb-pulse-insights h3 {
        font-size: 28px;
    }

    .cb-benefits-cards {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cb-benefit-card {
        width: calc(50% - 10px);
    }

    .cb-gongjin-desc,
    .cb-kyungok-desc,
    .cb-wellness-desc {
        font-size: 20px;
    }

    .cb-gongjin-note,
    .cb-kyungok-note,
    .cb-wellness-note {
        font-size: 20px;
    }

    .cb-closing-text {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .sub-page {
        background: #FAF6EB;
    }

    .sub-page .inner {
        width: 100%;
        padding: 0 24px;
    }

    .cb-hero {
        height: 312px;
    }

    .cb-hero-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding-top: 69px;
    }

    .cb-hero-title {
        position: static;
        transform: none;
        font-size: 24px;
        line-height: 1.4;
    }

    .cb-hero-sub {
        position: static;
        transform: none;
        gap: 20px;
        padding-bottom: 0;
        width: 300px;
    }

    .cb-hero-sub-title {
        font-size: 16px;
        line-height: 1.4;
    }

    .cb-hero-sub-desc {
        font-size: 14px;
        line-height: 1.6;
    }

    .cb-prescriptions {
        padding: 60px 0;
    }

    .cb-prescriptions .inner {
        gap: 32px;
        align-items: stretch;
    }

    .cb-prescriptions-header {
        gap: 24px;
        width: 100%;
        max-width: none;
    }

    .cb-prescriptions-subtitle,
    .cb-gongjin-subtitle,
    .cb-kyungok-subtitle,
    .cb-wellness-subtitle,
    .cb-pulse-subtitle {
        font-size: 12px;
    }

    .cb-prescriptions-heading {
        font-size: 24px;
        line-height: 1.4;
    }

    .cb-prescriptions-desc {
        font-size: 18px;
        line-height: 1.4;
    }

    .cb-prescriptions-scroll {
        width: 100%;
    }

    .cb-rx-triggers {
        display: none;
    }

    .cb-prescriptions-body {
        position: static;
        top: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .cb-prescriptions-img {
        width: 100%;
        height: 232px;
        border-radius: 12px;
    }

    .cb-prescriptions-list {
        width: 100%;
        gap: 16px;
        padding-left: 0;
        align-items: flex-start;
    }

    .cb-rx-item {
        gap: 16px;
        width: 100%;
    }

    .cb-rx-label {
        font-size: 12px;
    }

    .cb-rx-title {
        font-size: 18px;
    }

    .cb-rx-divider {
        width: 100%;
    }

    .cb-pulse {
        padding: 60px 0;
    }

    .cb-pulse .inner {
        gap: 40px;
        padding: 0 24px;
    }

    .cb-pulse-part1,
    .cb-pulse-part2 {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .cb-pulse-text1,
    .cb-pulse-text2 {
        display: contents;
    }

    .cb-pulse-title-area {
        gap: 12px;
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .cb-pulse-text1 .cb-pulse-title-area {
        order: 1;
    }

    .cb-pulse-desc-intro {
        order: 2;
        text-align: center;
    }

    .cb-pulse-img1 {
        order: 3;
    }

    .cb-pulse-evidence {
        order: 4;
    }

    .cb-pulse-text2 .cb-pulse-title-area {
        order: 1;
    }

    .cb-pulse-img2 {
        order: 2;
    }

    .cb-pulse-insights {
        order: 3;
    }

    .cb-pulse-highlight {
        order: 4;
    }

    .cb-pulse-heading {
        font-size: 24px;
        line-height: 1.4;
    }

    .cb-pulse-desc-intro {
        font-size: 18px;
        line-height: 1.4;
    }

    .cb-pulse-evidence,
    .cb-pulse-insights {
        gap: 20px;
        text-align: left;
    }

    .cb-pulse-evidence h3,
    .cb-pulse-insights h3 {
        font-size: 20px;
        line-height: 1.4;
    }

    .cb-pulse-evidence p,
    .cb-pulse-insights ul li {
        font-size: 16px;
        line-height: 1.4;
    }

    .cb-pulse-insights ul {
        gap: 0;
        padding-left: 24px;
    }

    .cb-pulse-highlight {
        font-size: 16px;
        line-height: 1.4;
    }

    .cb-pulse-img1 {
        width: 100%;
        height: 220px;
        border-radius: 12px;
    }

    .cb-pulse-img2 {
        width: 100%;
        height: 388px;
        border-radius: 12px;
    }

    .cb-gongjin-layout,
    .cb-wellness-layout {
        flex-direction: column-reverse;
    }

    .cb-kyungok-layout {
        flex-direction: column;
    }

    .cb-gongjin-text,
    .cb-kyungok-text,
    .cb-wellness-text {
        width: 100%;
        gap: 32px;
        padding: 60px 24px 32px;
        text-align: center;
        align-items: center;
    }

    .cb-gongjin-header,
    .cb-kyungok-header,
    .cb-wellness-header {
        gap: 12px;
    }

    .cb-gongjin-heading,
    .cb-kyungok-heading,
    .cb-wellness-heading {
        font-size: 24px;
        line-height: 1.4;
    }

    .cb-gongjin-img,
    .cb-kyungok-img,
    .cb-wellness-img {
        width: 100%;
        height: 380px;
        border-radius: 12px;
    }

    .cb-gongjin-desc,
    .cb-kyungok-desc,
    .cb-wellness-desc {
        font-size: 18px;
    }

    .cb-gongjin-note,
    .cb-kyungok-note,
    .cb-wellness-note {
        font-size: 18px;
        line-height: 1.4;
    }

    .cb-benefits-title {
        font-size: 20px;
        line-height: 1.4;
    }

    .cb-benefits-cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        width: 100%;
    }

    .cb-benefits-cards--3 {
        max-width: none;
    }

    .cb-benefit-card {
        width: 100%;
        min-height: 118px;
        border-radius: 8px;
        padding: 20px 14px;
    }

    .cb-benefit-num {
        font-size: 20px;
    }

    .cb-benefit-card p {
        font-size: 16px;
    }

    .cb-wellness .cb-benefit-card:last-child {
        grid-column: 1;
    }

    .cb-closing {
        padding: 60px 0;
    }

    .cb-closing-text {
        font-size: 18px;
        line-height: 1.6;
    }
}
