@charset "UTF-8";

/* ========================================
   두통·어지럼·저림 전용 스타일 (clinic-headache.css)
   ======================================== */

/* --- 반복되는 검사, 여전한 통증 (headache-intro) --- */
.headache-intro {
    padding: 160px 0 160px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.headache-intro .inner:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 56px;
}

.headache-intro-title {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
}

.headache-intro-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 400;
    color: #840028;
    line-height: 1;
}

.headache-intro-heading {
    font-family: 'Noto Serif KR', serif;
    font-size: 60px;
    font-weight: 700;
    color: #221E1F;
    line-height: 1.4;
}

.headache-intro-desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #221E1F;
    line-height: 1.6;
    text-align: center;
    align-self: center;
}

/* --- 증상 카드 3열 --- */
.headache-symptom-cards {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.headache-symptom-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: #FAF6EB;
}

.headache-symptom-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    background: linear-gradient(180deg, rgba(250, 246, 235, 0) 0%, #FAF6EB 90%, #FAF6EB 100%);
    pointer-events: none;
    z-index: 1;
}

.headache-symptom-img {
    width: 100%;
    height: 400px;
    overflow: hidden;
    flex-shrink: 0;
}

.headache-symptom-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.headache-symptom-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 28px 26px;
    text-align: center;
    z-index: 2;
}

.headache-symptom-title-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.headache-symptom-en {
    font-family: 'Noto Serif KR', serif;
    font-size: 16px;
    font-weight: 600;
    color: #840028;
    line-height: 1;
}

.headache-symptom-ko {
    font-family: 'Noto Serif KR', serif;
    font-size: 32px;
    font-weight: 700;
    color: #221E1F;
    line-height: 1.2;
}

.headache-symptom-desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #221E1F;
    line-height: 1.55;
}

/* --- 무너진 균형의 신호들 (headache-signals) --- */
.headache-signals {
    padding: 160px 0;
    background: #FAF6EB;
}

.headache-signals .inner {
    display: flex;
    flex-direction: row-reverse;
    gap: 139px;
    align-items: center;
}

.headache-signals-img {
    width: 820px;
    height: 381px;
    flex-shrink: 0;
    border-radius: 30px;
    overflow: hidden;
}

.headache-signals-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.headache-signals-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 52px;
    min-width: 0;
}

.headache-signals-title {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.headache-signals-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 400;
    color: #840028;
    line-height: 1;
}

.headache-signals-heading {
    font-family: 'Noto Serif KR', serif;
    font-size: 60px;
    font-weight: 700;
    color: #221E1F;
    line-height: 1.4;
}

.headache-signals-desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #221E1F;
    line-height: 1.6;
}

.headache-signals-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    border-top: 0;
}

.headache-signals-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    border-bottom: 0;
}

.headache-signals-item-en {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 700;
    color: #840028;
    line-height: 1;
    flex-shrink: 0;
    min-width: 9ch;
}

.headache-signals-item-divider {
    width: 2px;
    height: 17px;
    background: #840028;
    flex-shrink: 0;
}

.headache-signals-item-ko {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #221E1F;
    line-height: 1;
}

/* --- 억제가 아닌 균형의 회복 (headache-balance) --- */
.headache-balance {
    padding-top: 0;
    padding-bottom: 80px;
    overflow: hidden;
}

.headache-balance .inner {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.headache-balance-content {
    flex-shrink: 0;
    width: 478px;
    margin-right: 80px;
}

.headache-balance-text {
    display: flex;
    flex-direction: column;
    gap: 52px;
}

.headache-balance-title {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.headache-balance-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 400;
    color: #F7941C;
    line-height: 1;
}

.headache-balance-heading {
    font-family: 'Noto Serif KR', serif;
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

.headache-balance-desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    line-height: 1.6;
}

.headache-balance-points {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.headache-balance-point {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 32px 0;
}

.headache-balance-point-hr {
    height: 1px;
    background: #8C9091;
}

.headache-balance-point-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.headache-balance-point-label {
    font-family: 'Noto Serif KR', serif;
    font-size: 32px;
    font-weight: 700;
    color: #F7941C;
    line-height: 1;
    flex-shrink: 0;
}

.headache-balance-point-divider {
    width: 2px;
    height: 23px;
    background: #F7941C;
    flex-shrink: 0;
}

.headache-balance-point-name {
    font-family: 'Noto Serif KR', serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.headache-balance-point-desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    line-height: 1.7;
}

/* 이미지: inner 오른쪽 경계에서 화면 끝까지 넘침 */
.headache-balance-img {
    flex: 1;
    min-width: 0;
    height: 672px;
    border-radius: 30px 0 0 30px;
    overflow: hidden;
    margin-right: calc(-50vw + 50%);
}

.headache-balance-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- 통달의 세밀한 리듬 설계 (headache-rhythm) --- */
.headache-rhythm {
    padding: 80px 0;
}

.headache-rhythm .inner {
    display: flex;
    gap: 80px;
    align-items: center;
}

.headache-rhythm-img {
    width: 894px;
    height: 450px;
    flex-shrink: 0;
    border-radius: 30px;
    overflow: hidden;
}

.headache-rhythm-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.headache-rhythm-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 143px;
    min-width: 0;
}

.headache-rhythm-title {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.headache-rhythm-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 400;
    color: #F7941C;
    line-height: 1;
}

.headache-rhythm-heading {
    font-family: 'Noto Serif KR', serif;
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

.headache-rhythm-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.headache-rhythm-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.headache-rhythm-item-label {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #F7941C;
    line-height: 1;
    flex-shrink: 0;
    width: 160px;
}

.headache-rhythm-item-divider {
    width: 2px;
    height: 17px;
    background: #F7941C;
    flex-shrink: 0;
}

.headache-rhythm-item-desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    line-height: 1;
}

/* --- 우리가 함께 도달할 지점 (headache-goal) --- */
.headache-goal {
    padding-top: 80px;
    padding-bottom: 0;
    border-top: 0;
}

.headache-goal .inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.headache-goal-title {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
}

.headache-goal-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 400;
    color: #F7941C;
    line-height: 1;
}

.headache-goal-heading {
    font-family: 'Noto Serif KR', serif;
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

.headache-goal-desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    line-height: 1.6;
    margin-top: -20px;
    text-align: center;
    align-self: center;
}

.headache-goal-cards {
    display: flex;
    gap: 20px;
}

.headache-goal-card {
    flex: 1;
    display: flex;
    min-width: 0;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    width: 365px;
    height: 422px;
    background: #2b2424;
}

.headache-goal-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(34, 30, 31, 0.02) 0%, rgba(34, 30, 31, 0.18) 48%, rgba(34, 30, 31, 0.58) 100%);
    pointer-events: none;
    z-index: 1;
}

.headache-goal-card-top {
    display: none;
}

.headache-goal-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.headache-goal-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.headache-goal-card-body {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 100%;
    padding: 32px 20px 24px;
}

.headache-goal-card-text {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.6;
    text-align: center;
}

/* --- 나를 위한 근본적인 변화 (headache-change) --- */
.headache-change {
    padding: 80px 0 160px;
    border-top: 1px solid #8C9091;
}

.headache-change .inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.headache-change-title {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.headache-change-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 400;
    color: #F7941C;
    line-height: 1;
}

.headache-change-heading {
    font-family: 'Noto Serif KR', serif;
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

.headache-change-desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    line-height: 1.6;
    margin-top: -20px;
}

.headache-change-cards {
    display: flex;
    gap: 20px;
}

.headache-change-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
}

.headache-change-card-img {
    width: 100%;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.headache-change-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.headache-change-card-text {
    font-family: 'Pretendard', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    line-height: 1.6;
}

/* ========================================
   Responsive (Clinic - Headache)
   ======================================== */
@media (max-width: 1024px) {
    /* Intro - 시안: 제목 + symptom 카드 3개 세로 */
    .headache-intro {
        padding: 80px 0;
        gap: 32px;
    }

    .headache-intro .inner:first-child {
        gap: 24px;
    }

    .headache-intro-title {
        gap: 16px;
    }

    .headache-intro-subtitle {
        font-size: 14px;
    }

    .headache-intro-heading {
        font-size: 24px;
        line-height: 1.4;
    }

    .headache-intro-desc {
        font-size: 14px;
    }

    .headache-symptom-cards {
        flex-direction: column;
        gap: 20px;
    }

    .headache-symptom-card {
        flex: none;
        width: 100%;
        min-width: 0;
        border-radius: 16px;
    }

    .headache-symptom-img {
        height: 269px;
    }

    .headache-symptom-body {
        padding: 0 20px 20px;
        gap: 16px;
    }

    .headache-symptom-ko {
        font-size: 20px;
    }

    .headache-symptom-desc {
        font-size: 14px;
    }

    /* Signals - 시안: 제목 + 리스트 + 이미지 세로 */
    .headache-signals {
        padding: 80px 0;
    }

    .headache-signals .inner {
        flex-direction: column;
        gap: 28px;
    }

    .headache-signals-img {
        width: 100%;
        height: 180px;
        border-radius: 16px;
        order: 3;
    }

    .headache-signals-body {
        gap: 24px;
    }

    .headache-signals-title {
        gap: 16px;
    }

    .headache-signals-subtitle {
        font-size: 14px;
    }

    .headache-signals-heading {
        font-size: 24px;
    }

    .headache-signals-desc {
        font-size: 14px;
    }

    .headache-signals-list {
        gap: 16px;
    }

    .headache-signals-item {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .headache-signals-item-en {
        font-size: 13px;
        min-width: 72px;
    }

    .headache-signals-item-ko {
        font-size: 13px;
    }

    /* Balance - 시안: 제목 + 이미지(200px) + point 2개 (구분선) */
    .headache-balance {
        padding-bottom: 40px;
    }

    .headache-balance .inner {
        flex-direction: column;
        gap: 28px;
    }

    .headache-balance-content {
        width: 100%;
        margin-right: 0;
    }

    .headache-balance-text {
        gap: 24px;
    }

    .headache-balance-title {
        gap: 16px;
    }

    .headache-balance-subtitle {
        font-size: 14px;
    }

    .headache-balance-heading {
        font-size: 24px;
        line-height: 1.4;
    }

    .headache-balance-desc {
        font-size: 14px;
    }

    .headache-balance-points {
        gap: 0;
    }

    .headache-balance-point {
        padding: 20px 0;
        gap: 12px;
    }

    .headache-balance-point-title {
        gap: 12px;
    }

    .headache-balance-point-label,
    .headache-balance-point-name {
        font-size: 14px;
    }

    .headache-balance-point-divider {
        height: 15px;
    }

    .headache-balance-point-desc {
        font-size: 13px;
        line-height: 1.6;
    }

    .headache-balance-img {
        width: 100%;
        height: 200px;
        margin-right: 0;
        border-radius: 16px;
        order: 2;
    }

    .headache-balance-content {
        order: 1;
    }

    /* Rhythm - 시안: 제목 + 이미지(200px) + 리스트 */
    .headache-rhythm {
        padding: 40px 0;
    }

    .headache-rhythm .inner {
        flex-direction: column;
        gap: 28px;
    }

    .headache-rhythm-img {
        width: 100%;
        height: 200px;
        border-radius: 16px;
    }

    .headache-rhythm-text {
        gap: 24px;
    }

    .headache-rhythm-title {
        gap: 16px;
    }

    .headache-rhythm-subtitle {
        font-size: 14px;
    }

    .headache-rhythm-heading {
        font-size: 24px;
        line-height: 1.4;
    }

    .headache-rhythm-list {
        gap: 16px;
    }

    .headache-rhythm-item {
        gap: 12px;
    }

    .headache-rhythm-item-label {
        font-size: 13px;
        width: 88px;
    }

    .headache-rhythm-item-desc {
        font-size: 13px;
        line-height: 1.6;
    }

    /* Goal - 시안: 2x2 격자 (160x196, 제목이 카드 상단에) */
    .headache-goal {
        padding-top: 40px;
    }

    .headache-goal .inner {
        gap: 24px;
    }

    .headache-goal-title {
        gap: 16px;
    }

    .headache-goal-subtitle {
        font-size: 14px;
    }

    .headache-goal-heading {
        font-size: 24px;
    }

    .headache-goal-desc {
        font-size: 14px;
    }

    .headache-goal-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .headache-goal-card {
        flex: none;
        width: 100%;
        height: 196px;
        border-radius: 12px;
    }

    .headache-goal-card-body {
        padding: 12px;
    }

    .headache-goal-card-text {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Change - 시안: 3개 세로 스택 */
    .headache-change {
        padding: 40px 0 80px;
    }

    .headache-change .inner {
        gap: 28px;
    }

    .headache-change-title {
        gap: 16px;
    }

    .headache-change-subtitle {
        font-size: 14px;
    }

    .headache-change-heading {
        font-size: 24px;
    }

    .headache-change-desc {
        font-size: 14px;
    }

    .headache-change-cards {
        flex-direction: column;
        gap: 32px;
    }

    .headache-change-card {
        flex: none;
        width: 100%;
        gap: 20px;
    }

    .headache-change-card-img {
        height: 200px;
        border-radius: 16px;
    }

    .headache-change-card-text {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 640px) {
    /* 640px 이하: 1024 상속 */
}
