/* ============================================================
   고압산소치료(HBOT) 페이지 전용 스타일
   ============================================================ */

/* SECTION #4: 고압산소치료의 필요성 */
.sec-need {
    padding: var(--section-py) var(--section-px);
}
.sec-need__subtitle {
    font-size: 20px;
    color: var(--font-1);
    text-align: center;
    line-height: 36px;
    word-break: keep-all;
    margin-bottom: 20px;
    margin-top: 10px;
}
.sec-need__layout {
    display: flex;
    gap: 40px;
    align-items: stretch;
}
.sec-need__img-wrap {
    width: 740px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
}
.sec-need__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sec-need__cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}
.need-card {
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.need-card__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--sub-color);
    letter-spacing: -0.78px;
    line-height: 36px;
}
.need-card__desc {
    font-size: 18px;
    font-weight: 400;
    color: var(--font-1);
    line-height: 32px;
}

/* SECTION #5: 추천 대상 카드 (4개) */
.sec-recommend {
    background: var(--background);
    padding: var(--section-py) var(--section-px);
}
.sec-recommend__grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.recommend-card {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
}
.recommend-card__img {
    width: 100%;
    height: 340px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.recommend-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.recommend-card__body {
    background: linear-gradient(135deg, var(--sub-color) 0%, var(--main-color) 100%);
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.recommend-card__title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.66px;
    line-height: 32px;
}
.recommend-card__desc {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.48px;
    line-height: 24px;
    margin-top: 8px;
}

/* SECTION #6: 추천 대상 (이미지 + 필 리스트) */
.sec-recommend-pills {
    padding: var(--section-py) var(--section-px);
}
.sec-recommend-pills__layout {
    display: flex;
    gap: 40px;
    align-items: stretch;
}
.sec-recommend-pills__img-wrap {
    width: 740px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
.sec-recommend-pills__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sec-recommend-pills__img-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}
.sec-recommend-pills__list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}
.pill-item {
    border-radius: 500px;
    padding: 20px 60px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}
.pill-item:first-child {
    background: var(--sub-color);
    color: #fff;
}
.pill-item:not(:first-child) {
    background: #f5f5f5;
    border: 1px solid var(--border-color);
    color: var(--font-1);
}
.pill-item__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pill-item__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.pill-item__content {
    flex: 1;
}
.pill-item__title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.54px;
    line-height: 26px;
}
.pill-item__desc {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.42px;
    line-height: 22px;
    margin-top: 4px;
    opacity: 0.9;
}

/* SECTION #7: 프리미엄 치료 환경 */
.sec-premium {
    background: var(--sub-color);
    padding: var(--section-py) var(--section-px);
}
.sec-premium__grid {
    display: flex;
    gap: 10px;
}
.premium-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
}
.premium-card__num {
    font-size: 26px;
    font-weight: 400;
    color: var(--main-color);
    letter-spacing: -0.78px;
    line-height: 36px;
}
.premium-card__title {
    font-size: 36px;
    font-weight: 700;
    color: var(--main-color);
    letter-spacing: -1.08px;
    line-height: 1.2;
    word-break: keep-all;
    margin-top: 15px;
}
.premium-card__desc {
    font-size: 20px;
    font-weight: 300;
    color: var(--font-1);
    line-height: 32px;
    word-break: keep-all;
    flex-grow: 1;
}
.premium-card__icon {
    width: 180px;
    height: 180px;
    object-fit: contain;
    align-self: flex-end;
    margin-top: 20px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1400px) {
    .sec-need__img-wrap { width: 600px; }
    .sec-recommend-pills__img-wrap { width: 600px; }
    .recommend-card { flex: 0 0 calc(33.333% - 15px); max-width: calc(33.333% - 15px); }
}

@media (max-width: 1024px) {
    .sec-need__layout { flex-direction: column; }
    .sec-need__img-wrap { width: 100%; height: 360px; }
    .sec-recommend-pills__layout { flex-direction: column; }
    .sec-recommend-pills__img-wrap { width: 100%; height: 360px; }
    .recommend-card { flex: 0 0 calc(50% - 10px); max-width: calc(50% - 10px); }
    .sec-premium__grid { flex-direction: column; gap: 20px; }
}

@media (max-width: 768px) {
    .recommend-card { flex: 0 0 100%; max-width: 100%; }
    .pill-item { padding: 15px 30px; }
    .pill-item__title { font-size: 16px; }
    .pill-item__desc { font-size: 13px; }
    .premium-card__title { font-size: 24px; }
    .premium-card__num { font-size: 20px; }
    .premium-card__desc { font-size: 16px; }
    .premium-card__icon { width: 120px; height: 120px; }
}

/* ============================================================
   IV 수액 솔루션 테이블 섹션
============================================================ */
.sec-solution {
    padding: var(--section-py) var(--section-px);
    background: #fff;
}

.sec-solution__layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.sec-solution__img-wrap {
    flex-shrink: 0;
    width: 430px;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
}

.sec-solution__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sec-solution__table-wrap {
    flex: 1;
}

.sec-solution__title {
    font-family: var(--font-pretendard);
    font-weight: 600;
    font-size: 56px;
    color: #111;
    letter-spacing: -1.68px;
    line-height: 1.3;
    word-break: keep-all;
    margin-bottom: 40px;
}

.iv-solution-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-pretendard);
}

.iv-solution-table thead {
    background-color: var(--background);
}

.iv-solution-table th {
    border-top: 2px solid var(--sub-color);
    border-bottom: 2px solid var(--sub-color);
    padding: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    color: var(--sub-color);
    letter-spacing: -0.6px;
    word-break: keep-all;
    text-align: center;
}

.iv-solution-table th:first-child {
}

.iv-solution-table td {
    text-align: center;
    padding: 10px 20px;
    font-size: 18px;
    color: var(--font-1);
    line-height: 28px;
    letter-spacing: -0.54px;
    word-break: keep-all;
}

.iv-solution-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.iv-solution-table tbody tr:last-child {
    border-bottom: none;
}

/* ============================================================
   IV 시너지 섹션 (4 카드)
============================================================ */
.sec-synergy {
    background: var(--background);
    padding: var(--section-py) var(--section-px);
}

.sec-synergy__grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.synergy-card {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.synergy-card__img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    background: #fff;
}

.synergy-card__body {
    flex: 1;
    background: linear-gradient(180deg, var(--sub-color) 0%, var(--main-color) 100%);
    color: #fff;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.synergy-card__title {
    font-weight: 700;
    font-size: 26px;
    letter-spacing: -0.78px;
    line-height: 36px;
    margin-bottom: 15px;
    word-break: keep-all;
}

.synergy-card__desc {
    font-weight: 400;
    font-size: 18px;
    letter-spacing: -0.54px;
    line-height: 28px;
    word-break: keep-all;
}

/* ============================================================
   IV 프리미엄 시스템 섹션 (4 카드 + 아이콘)
============================================================ */
.sec-premium {
    background: var(--sub-color);
    padding: var(--section-py) var(--section-px);
}

.sec-premium__title {
    font-weight: 600;
    font-size: 56px;
    color: #fff;
    text-align: center;
    letter-spacing: -1.68px;
    line-height: 1.3;
    margin-bottom: 60px;
    word-break: keep-all;
}

.sec-premium__grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.premium-card {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.premium-card__num {
    font-weight: 700;
    font-size: 26px;
    color: var(--main-color);
    letter-spacing: -0.78px;
    line-height: 36px;
}

.premium-card__title {
    font-weight: 700;
    font-size: 24px;
    color: var(--main-color);
    letter-spacing: -0.72px;
    line-height: 36px;
    margin-bottom: 10px;
    word-break: keep-all;
}

.premium-card__desc {
    font-weight: 400;
    font-size: 18px;
    color: var(--font-1);
    line-height: 28px;
    letter-spacing: -0.54px;
    word-break: keep-all;
    flex-grow: 1;
}

.premium-card__icon {
    width: 180px;
    height: 180px;
}

/* ============================================================
   FAQ 스타일
============================================================ */
.common-faq {
    background: #fff;
    padding: var(--section-py) var(--section-px);
}

.cmn-sec-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    margin-bottom: 40px;
}

.cmn-sec-title {
    font-family: var(--font-pretendard);
    font-weight: 600;
    font-size: 56px;
    color: #111;
    letter-spacing: -1.68px;
    line-height: 1.3;
    word-break: keep-all;
}

/* ============================================================
   반응형 최적화
============================================================ */
@media (max-width: 1400px) {
    .sec-solution__layout {
        gap: 40px;
    }

    .sec-solution__img-wrap {
        width: 380px;
    }

    .sec-synergy__grid .synergy-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .sec-premium__grid .premium-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 1024px) {
    :root { --section-px: 40px; --section-py: 70px; }

    .sec-solution__layout {
        flex-direction: column;
        gap: 40px;
    }

    .sec-solution__img-wrap {
        width: 100%;
        max-height: 400px;
    }

    .sec-synergy__grid .synergy-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .sec-premium__grid .premium-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .sec-solution__title,
    .sec-premium__title,
    .cmn-sec-title {
        font-size: 38px;
    }

    .iv-solution-table {
        font-size: 16px;
    }

    .iv-solution-table th,
    .iv-solution-table td {
        padding: 15px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    :root { --section-px: 20px; --section-py: 50px; }

    .sec-solution__layout {
        gap: 30px;
    }

    .sec-solution__title,
    .sec-premium__title,
    .cmn-sec-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .sec-synergy__grid .synergy-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .sec-premium__grid .premium-card {
        flex: 0 0 100%;
        max-width: 100%;
        min-height: auto;
    }

    .premium-card__icon {
        position: relative;
        width: 120px;
        height: 120px;
        bottom: auto;
        right: auto;
        margin-top: 20px;
    }

    .iv-solution-table th,
    .iv-solution-table td {
        padding: 12px;
        font-size: 14px;
    }

    .cmn-en-label {
        font-size: 14px;
        letter-spacing: 2.8px;
    }

    .synergy-card__body {
        padding: 20px;
    }
}

/* ============================================================
   예방접종 페이지 전용 스타일
   Figma: /sub7-3예방접종 (Desktop 141:18292)
   Last updated: 2026-04-16
============================================================ */

/* ── #5 왜 이비인후과 예방접종인가요? ── */
.sec-why-ent {
    background: var(--background);
    padding: var(--section-py) var(--section-px);
}

.sec-why-ent__grid {
    display: flex;
    gap: 20px;
}

.why-card {
    flex: 1 0 0;
    min-width: 0;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.why-card__img {
    width: 100%;
    height: 548px;
    object-fit: cover;
    display: block;
}

.why-card__body {
    background: #f5f5f5;
    padding: 40px;
    border-radius: 0 0 20px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.why-card__title {
    font-weight: 700;
    font-size: 26px;
    color: var(--sub-color);
    letter-spacing: -0.78px;
    line-height: 36px;
}

.why-card__desc {
    font-size: 18px;
    font-weight: 400;
    color: var(--font-1);
    line-height: 32px;
}

/* ── 이음에서 준비된 예방접종 테이블 ── */
.sec-vac-table {
    padding: var(--section-py) var(--section-px);
    background: #fff;
}

.sec-vac-table__layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.sec-vac-table__img {
    flex-shrink: 0;
    width: 430px;
    border-radius: 20px;
    overflow: hidden;
    align-self: stretch;
}

.sec-vac-table__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sec-vac-table__content {
    flex: 1;
    min-width: 0;
}

/* div 기반 테이블 — Figma 정확 반영 */
.vac-tbl {
    display: flex;
    gap: 10px;
    width: 100%;
}

.vac-tbl__col {
    display: flex;
    flex-direction: column;
}

.vac-tbl__col--type   { width: 167px; flex-shrink: 0; }
.vac-tbl__col--target { width: 305px; flex-shrink: 0; }
.vac-tbl__col--effect { flex: 1 0 0; min-width: 0; }

.vac-tbl__head {
    background: var(--background);
    border-top: 1px solid var(--sub-color);
    border-bottom: 1px solid var(--sub-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 40px;
}

.vac-tbl__head-text {
    font-weight: 700;
    font-size: 20px;
    color: var(--sub-color);
    letter-spacing: -0.6px;
    line-height: 36px;
    text-align: center;
    white-space: nowrap;
}

.vac-tbl__cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-bottom: 1px solid #dadada;
}

.vac-tbl__col--type .vac-tbl__cell {
    padding: 10px 10px;
}

.vac-tbl__cell-text {
    font-size: 18px;
    font-weight: 400;
    color: var(--font-1);
    line-height: 32px;
    text-align: center;
}

.vac-tbl__col--type .vac-tbl__cell-text {
    font-weight: 600;
}

/* ── #8 예방접종 Process ── */
.sec-vac-process {
    background: var(--sub-color);
    padding: 100px;
}

.sec-vac-process .section-header__ko {
    color: #fff;
}

.sec-vac-process .section-divider::after {
    background: rgba(255,255,255,0.3);
}

.vac-process__grid {
    display: flex;
    gap: 10px;
}

.vac-process-card {
    flex: 1 0 0;
    min-width: 0;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.vac-process-card__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    margin-bottom: 20px;
}

.vac-process-card__num {
    font-size: 26px;
    font-weight: 400;
    color: var(--main-color);
    letter-spacing: -0.78px;
    line-height: 36px;
}

.vac-process-card__text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vac-process-card__title {
    font-size: 36px;
    font-weight: 700;
    color: var(--main-color);
    letter-spacing: -1.08px;
    line-height: 46px;
}

.vac-process-card__desc {
    font-size: 20px;
    font-weight: 300;
    color: var(--font-1);
    line-height: 32px;
}

.vac-process-card__icon {
    width: 180px;
    height: 180px;
    object-fit: contain;
    align-self: flex-end;
    margin-top: auto;
}

@media (max-width: 1855px) {
    .sec-vac-table__img {
        margin: 0 auto;
    }
    .sec-vac-table__layout {
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .vac-tbl__col--target {
        width: 327px;
        flex-shrink: 0;
    }
}

/* ── 반응형 ── */
@media (max-width: 1400px) {
    .sec-vac-process {
        padding: 80px 60px;
    }
    .vac-process-card__title {
        font-size: 28px;
        line-height: 38px;
    }
    .vac-process-card__icon {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 1024px) {
    .why-card__img { height: 400px; }

    .sec-vac-table__layout {
        flex-direction: column;
        gap: 30px;
    }
    .sec-vac-table__img {
        width: 100%;
        height: 360px;
    }
    .vac-tbl__col--type   { width: 120px; }
    .vac-tbl__col--target { width: auto; flex: 1; }
    .vac-tbl__head { padding: 10px 15px; }
    .vac-tbl__head-text { font-size: 17px; }
    .vac-tbl__cell { padding: 10px 12px; height: 80px;}
    .vac-tbl__col--type .vac-tbl__cell { padding: 10px 15px; }
    .vac-tbl__cell-text { font-size: 16px; line-height: 28px; }

    .sec-vac-process { padding: 60px 40px; }
    .vac-process__grid { flex-wrap: wrap; }
    .vac-process-card {
        flex: 0 0 calc(33.333% - 7px);
        max-width: calc(33.333% - 7px);
        padding: 30px;
    }
    .vac-process-card__title { font-size: 24px; line-height: 34px; }
    .vac-process-card__desc { font-size: 16px; line-height: 26px; }
    .vac-process-card__icon { width: 120px; height: 120px; }
}

@media (max-width: 768px) {
    .why-card {flex:initial}
    .sec-why-ent__grid { flex-direction: column; }
    .why-card__img { height: 300px; }
    .why-card__body { padding: 30px; }
    .why-card__title { font-size: 22px; }
    .why-card__desc { font-size: 16px; line-height: 26px; }

    .sec-vac-table__img { height: 260px; }
    .vac-tbl { gap: 5px; }
    .vac-tbl__col--type { width: 90px; }
    .vac-tbl__col--effect { display: none; }
    .vac-tbl__head { padding: 8px 10px; }
    .vac-tbl__head-text { font-size: 14px; }
    .vac-tbl__cell { padding: 8px 10px; }
    .vac-tbl__col--type .vac-tbl__cell { padding: 8px 10px; }
    .vac-tbl__cell-text { font-size: 14px; line-height: 22px; }

    .sec-vac-process { padding: 50px 20px; }
    .vac-process-card {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 20px;
    }
    .vac-process-card__title { font-size: 20px; line-height: 28px; }
    .vac-process-card__desc { font-size: 14px; line-height: 22px; }
    .vac-process-card__icon { width: 100px; height: 100px; }

    /* 부모 컨테이너: 가로 스크롤 허용 */
.sec-vac-table__content {
    width: 100%;
    overflow-x: auto; /* 가로 내용이 넘치면 스크롤 생성 */
    -webkit-overflow-scrolling: touch; /* iOS에서 부드러운 스크롤 적용 */
    padding-bottom: 10px; /* 스크롤바와 내용 사이 간격 */
}

/* 표 전체 레이아웃 유지 */
.vac-tbl {
    display: flex;
    min-width: 600px; /* 중요: 모바일에서도 표가 찌그러지지 않게 최소 너비 고정 */
}

/* 각 열(Column) 설정 */
.vac-tbl__col {
    flex: 1; /* 동일한 비율로 나눔 (특정 열을 넓게 하려면 수정 가능) */
    display: flex;
    flex-direction: column;
}

/* 셀 공통 스타일 (디자인에 맞춰 조정하세요) */
.vac-tbl__head, .vac-tbl__cell {
    padding: 12px 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px; /* 셀 높이 정렬 */
    height: 60px;
}

.vac-tbl__head {
    font-weight: bold;
}

.need-card {
    padding: 20px;
}

.need-card__title {
    font-size: 22px;
}

.need-card__desc {
    font-size: 16px;
    line-height: 26px;
}

#hbot-recommend-title {
    margin-bottom: 0;
}

.cmn-sec-title {
    margin-bottom: 0;
}
}