/* ===================================================================
   2026 하이모 무료체험 랜딩 — 신규 시안(주식·투자 컨셉)
   폰트: 제목/강조 Paperlogy · 서브 SUIT · 본문/폼 Pretendard
   반응형: PC 기준폭 1274 / 모바일 750
   =================================================================== */

.event-free-trial .hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.event-free-trial {
    --content-width-value: 1274;
    --blue: #1874fb;
    --brown: #8b5e50;
    --himo-tab: #1c1a18;
    --himolady-tab: #8a6553;

    color: #1e1c1c;
    letter-spacing: -.02em;
    font: 400 16px/1.5 'Pretendard', 'SUIT', sans-serif;
    word-break: keep-all;
    word-wrap: break-word;
}

.event-content-width {
    max-width: calc(var(--content-width-value) * 1px);
    margin: 0 auto;
    padding: 0 20px;
}

/* 하이모레이디: 포인트 색상(--blue) → --brown 으로 치환 */
.event-type-himolady {
    --blue: var(--brown);
}

/* ===================== Hero ===================== */
.hero-area {
    position: relative;
    background-color: #0b2a8a;
}

.hero-panel {
    display: none;
}

.hero-panel.active {
    display: block;
}

.hero-panel img {
    display: block;
    width: 100%;
    height: auto;
}

/* 기본(PC): 가로 시안 노출, 모바일 시안 숨김 */
.hero-panel .hero-mo {
    display: none;
}

@media (max-width: 750px) {
    /* 모바일: 세로 시안으로 교체 */
    .hero-panel .hero-pc {
        display: none;
    }

    .hero-panel .hero-mo {
        display: block;
    }
}

/* ===================== 브랜드 탭 ===================== */
.tab-container {
    background-color: #fff;
}

.tabs {
    display: flex;
}

.tab-item {
    position: relative;
    flex: 1;
    color: rgba(255, 255, 255, .75);
    font-family: 'SUIT', sans-serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    text-align: center;
    transition: filter .2s ease;
    letter-spacing: -.02em;
}

.tab-item.type-himo {
    background-color: var(--himo-tab);
}

.tab-item.type-himolady {
    background-color: var(--himolady-tab);
}

.tab-item.active {
    color: #fff;
    font-weight: 600;
}

/* 활성 탭 하단 삼각 포인터 */
.tab-item.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: inherit;
    transform: translate(-50%, 10px) rotate(45deg);
    z-index: 2;
}

.tab-item.type-himo.active::after {
    background-color: var(--himo-tab);
}

.tab-item.type-himolady.active::after {
    background-color: var(--himolady-tab);
}

.tab-item > div {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    padding: 0 10px;
}

@media (max-width: 750px) {
    .tab-item {
        font-size: calc(24 / 750 * 100vw);
    }

    .tab-item > div {
        height: calc(100 / 750 * 100vw);
    }

    .tab-item.active::after {
        width: calc(30 / 750 * 100vw);
        height: calc(30 / 750 * 100vw);
        border-radius: calc(10 / 750 * 100vw);
        transform: translate(-50%, calc(10 / 750 * 100vw)) rotate(45deg);
    }
}

/* 탭 컨텐츠 */
.tab-content {
    display: none;
    animation: fadeIn .3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===================== 1) 0원의 기회 섹션 ===================== */
.chance-section {
    padding: 120px 0 50px;
    background-color: #fff;
}

.chance-head {
    text-align: center;
}

.chance-label {
    font-family: 'Paperlogy', 'SUIT', sans-serif;
    font-weight: 700;
    font-size: 47px;
    letter-spacing: -.025em;
}

.chance-title {
    font-family: 'Paperlogy', 'SUIT', sans-serif;
    font-weight: 800;
    font-size: 85px;
    color: var(--blue);
    line-height: 1.1;
}

.target-badge {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
    padding-right: 40px;
    border-radius: 999px;
    background-color: #f1f1f1;
    font-size: 26px;
    font-weight: 700;
    overflow: hidden;
}

.target-badge span {
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    padding: 10px 28px;
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
    background-color: var(--blue);
    color: #fff;
}

.chance-body {
    position: relative;
    width: 100%;
    max-width: 802px;
    aspect-ratio: 802 / 921;
    margin: 50px auto 0;
    container-type: inline-size;
}

/* --- 3 카드: chance-body 최대높이(921) 안에 절대배치 --- */
.chance-cards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chance-card {
    position: absolute;
    left: 0;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.chance-card .text {
    position: relative;
    z-index: 2;
}

.chance-card h3 {
    font-family: 'Paperlogy', 'SUIT', sans-serif;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.chance-card p {
    font-family: 'SUIT', sans-serif;
    font-weight: 500;
    letter-spacing: -.02em;
}

/* 카드1 — 0원으로 시작하는 무료체험 (원본 834px → 802 컨테이너 우측으로 돌출) */
.card-intro {
    background-image: url('../images/bg-section01.png?v=20260629');
    background-size: contain;
    top: 0;
    width: calc(100% + 3.99cqw);
    height: 55.24cqw;
    padding: 8.98cqw 5.49cqw 4.99cqw;
}

.card-intro h3 {
    font-size: 5.74cqw;
    letter-spacing: -.02em;
}

.card-intro p {
    margin-top: .4em;
    color: rgba(255, 255, 255, .92);
    font-size: 3.49cqw;
    line-height: 1.25;
}

/* 카드2 — 신청 타이밍(다크) */
.card-timing {
    background-image: url('../images/bg-section02.png?v=20260629');
    background-size: contain;
    top: 39.90cqw;
    height: 39.53cqw;
    padding: 10.72cqw 6.86cqw 5.49cqw 5.49cqw;
    display: flex;
    justify-content: flex-end;
}

.card-timing .text {
    text-align: right;
}

.card-timing .tag {
    display: inline-block;
    font-weight: 700;
    font-size: 5.74cqw;
    color: #1f7aff;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.card-timing .period {
    margin-top: .25em;
    color: #fff;
    font-family: 'SUIT', sans-serif;
    font-weight: 500;
    font-size: 3.49cqw;
    letter-spacing: -.02em;
}

/* 하이모: 카드/컨테이너 높이 (802 기준 비율 → PC·모바일 동시 스케일) */
.event-type-himo .card-intro {
    height: 47.51cqw;
}

.event-type-himo .card-timing {
    top: 32.04cqw;
    height: 35.16cqw;
}

.event-type-himo .chance-body.is-revealed {
    aspect-ratio: 802 / 539;
    height: auto;
}

/* 하이모레이디: 타이밍 태그 그라데이션 */
.event-type-himolady .card-timing .tag {
    color: #b98e81;
}

/* 하이모레이디: 카드 배경 이미지(lady 폴더) */
.event-type-himolady .card-intro {
    background-image: url('../images/lady/bg-section01.png?v=20260629');
    width: 100%;
    padding-top: 10.72cqw;
    height: 48.88cqw;
}

.event-type-himolady .card-timing {
    background-image: url('../images/lady/bg-section02.png?v=20260629');
    top: 33.42cqw;
    height: 35.16cqw;
}

.event-type-himolady .chance-body.is-revealed {
    aspect-ratio: 802 / 550;
    height: auto;
}

/* ===================== 무료체험 혜택 (3단 카드) ===================== */
.benefit-box {
    --benefit-hl: #9fc6ff;
    max-width: 802px;
    margin: 12px auto 0;
    padding: 50px 16px 16px;
    border-radius: 20px;
    background-color: var(--blue);
}

.event-type-himolady .benefit-box {
    --benefit-hl: #e7cdc2;
    padding-bottom: 32px;
}

.benefit-box-title {
    text-align: center;
    color: #fff;
    font-family: 'Paperlogy', 'SUIT', sans-serif;
    font-weight: 700;
    font-size: 44px;
    letter-spacing: -.02em;
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    align-items: start;
    margin-top: 28px;
}

.benefit-grid::before {
    content: '';
    grid-column: 2;
    grid-row: 1;
    width: 2px;
    height: 100%;
    background-color: rgba(255, 255, 255, .15);
}

.benefit-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    letter-spacing: -0.02em;
    padding: 0 16px;
}

.benefit-col:first-child { grid-column: 1; }
.benefit-col:last-child  { grid-column: 3; }

.benefit-num {
    color: #fff;
    font-family: 'Paperlogy', 'SUIT', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
}

.benefit-cond {
    margin-top: 4px;
    color: rgba(255, 255, 255, .92);
    font-family: 'SUIT', sans-serif;
    font-weight: 700;
    font-size: 28px;
}

.benefit-card {
    position: relative;
    width: 100%;
    margin-top: 16px;
    padding: 26px 8px;
    border-radius: 15px;
    background-color: #fff;
    letter-spacing: -.05em;
}

/* 카드 하단 말풍선 꼬리(탭 포인터와 동일 스타일) */
.benefit-card::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background-color: var(--blue);
    transform: translate(-50%, -18px) rotate(45deg);
    z-index: 1;
}

.benefit-card p {
    color: #1e1c1c;
    font-family: 'SUIT', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.35;
}

.special-benefit {
    margin-top: 28px;
    padding: 34px 40px;
    border-radius: 15px;
    background-color: #fff;
}

.special-benefit-title {
    text-align: center;
    margin-bottom: 24px;
    color: var(--blue);
    font-family: 'Paperlogy', 'SUIT', sans-serif;
    font-weight: 700;
    font-size: 44px;
    letter-spacing: -.02em;
}

.special-benefit ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.special-benefit li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.special-benefit .sb-tag {
    flex: none;
    width: 140px;
    padding: 5px 0;
    border-radius: 999px;
    background-color: var(--blue);
    color: #fff;
    font-family: 'SUIT', sans-serif;
    font-weight: 700;
    font-size: 28px;
    text-align: center;
}

.special-benefit p {
    padding-top: 5px;
    color: #1e1c1c;
    font-family: 'SUIT', sans-serif;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -.02em;
}

.special-benefit p b {
    font-weight: 800;
    color: var(--blue);
}

.special-benefit .sb-note {
    display: block;
    text-align: right;
    color: var(--blue);
    font-size: 22px;
}

@media (max-width: 750px) {
    .benefit-box { margin-top: calc(10 / 750 * 100vw); padding: calc(34 / 750 * 100vw) calc(12 / 750 * 100vw) calc(12 / 750 * 100vw); border-radius: calc(20 / 750 * 100vw); }
    .event-type-himolady .benefit-box { padding-bottom: calc(24 / 750 * 100vw); }
    .benefit-box-title { font-size: calc(42 / 750 * 100vw); }
    .benefit-grid { margin-top: calc(28 / 750 * 100vw); }
    .benefit-col { padding: 0 calc(12 / 750 * 100vw); }
    .benefit-num { font-size: calc(32 / 750 * 100vw); }
    .benefit-cond { font-size: calc(28 / 750 * 100vw); margin-top: calc(4 / 750 * 100vw); }
    .benefit-card { margin-top: calc(16 / 750 * 100vw); padding: calc(26 / 750 * 100vw) calc(8 / 750 * 100vw); border-radius: calc(15 / 750 * 100vw); }
    .benefit-card::before { width: calc(26 / 750 * 100vw); height: calc(26 / 750 * 100vw); border-radius: calc(6 / 750 * 100vw); transform: translate(-50%, calc(-18 / 750 * 100vw)) rotate(45deg); }
    .benefit-card p { font-size: calc(24 / 750 * 100vw); }
    .special-benefit { margin-top: calc(28 / 750 * 100vw); padding: calc(34 / 750 * 100vw) calc(30 / 750 * 100vw); border-radius: calc(15 / 750 * 100vw); }
    .special-benefit-title { font-size: calc(36 / 750 * 100vw); margin-bottom: calc(24 / 750 * 100vw); }
    .special-benefit ul { gap: calc(16 / 750 * 100vw); }
    .special-benefit li { gap: calc(8 / 750 * 100vw); }
    .special-benefit .sb-tag { width: calc(110 / 750 * 100vw); padding: calc(6 / 750 * 100vw) 0; font-size: calc(24 / 750 * 100vw); }
    .special-benefit p { padding-top: calc(6 / 750 * 100vw); font-size: calc(24 / 750 * 100vw); }
    .special-benefit .sb-note { font-size: calc(22 / 750 * 100vw); }
}

@media (max-width: 750px) {
    .chance-section { padding: calc(90 / 750 * 100vw) 0 calc(20 / 750 * 100vw); }
    .chance-label { font-size: calc(34 / 750 * 100vw); }
    .chance-title { font-size: calc(60 / 750 * 100vw); }
    .target-badge { font-size: calc(20 / 750 * 100vw); margin-top: calc(30 / 750 * 100vw); gap: calc(24 / 750 * 100vw); padding-right: calc(40 / 750 * 100vw); }
    .chance-body { margin-top: calc(20 / 750 * 100vw); }
    .target-badge span { padding: calc(10 / 750 * 100vw) calc(28 / 750 * 100vw); }
}

/* ===================== 2) CTA ===================== */
.cta-section {
    padding: 50px 0 150px;
    background-color: #fff;
    text-align: center;
}

.cta-title {
    margin-bottom: .25em;
    font-family: 'SUIT', sans-serif;
    font-weight: 800;
    font-size: 50px;
    letter-spacing: -.045em;
}

/* 강조: 하이모 blue / 하이모레이디 brown(--blue remap) */
.cta-title .em {
    color: var(--blue);
}

.cta-caption {
    margin-top: 1em;
    color: #888;
    font-family: 'SUIT', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.02em;
}

.cta-arrow {
    margin: 20px auto;
    line-height: 0;
}

.cta-arrow img {
    width: 42px;
    height: auto;
    margin: 0 auto;
    animation: cta-arrow-bounce 1.4s ease-in-out infinite;
}

@keyframes cta-arrow-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(60%); }
}

/* 공통 신청 버튼 */
.apply-button {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    max-width: 590px;
    height: 120px;
    margin: 0 auto;
    border: 0;
    border-radius: 20px;
    color: #fff;
    font-family: 'SUIT', sans-serif;
    font-weight: 700;
    font-size: 36px;
    cursor: pointer;
    transition: transform .15s ease, filter .15s ease;
    letter-spacing: -.025em;
}

/* 광택 스윕: 대각선 하이라이트가 한 번씩 가로질러 지나감 */
.apply-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .45) 50%, transparent 100%);
    transform: translateX(-180%) skewX(-20deg);
    animation: apply-shine 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes apply-shine {
    0%        { transform: translateX(-180%) skewX(-20deg); }
    60%, 100% { transform: translateX(320%) skewX(-20deg); }
}

.apply-button.type-himo {
    background: linear-gradient(135deg, #316abd, #0046ad);
}

.apply-button.type-himo i {
    color: #0046ad;
}

.apply-button.type-himolady {
    background: linear-gradient(135deg, #72554b, #502c20);
}

.apply-button.type-himolady i {
    color: #502c20;
}

.apply-button:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
}

.apply-button i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    font-size: 26px;
    line-height: 1;
}

/* 화살표 아이콘(SVG): 원 크기에 비례(1em) */
.apply-button i svg {
    width: 1em;
    height: 1em;
    display: block;
}

/* ───────── CTA 강조 버튼(골드/레드 리디자인) ─────────
   steps-section 버튼은 위 기본 스타일 유지, CTA 버튼만 .apply-button--cta 적용 */
.apply-button--cta {
    max-width: 760px;
    height: 144px;
    border-radius: 40px;
    font-weight: 800;
    font-size: 46px;
    background-size: 150% 150%;
    white-space: nowrap;
}

.apply-button--cta i {
    width: 66px;
    height: 66px;
    background-color: #1e1c1c;
    font-size: 40px;
}

.apply-button--cta.type-himo {
    color: #1e1c1c;
    /* 그레이디언트 오버레이: 139° → CSS 311deg, 어두운 노랑 → 밝은 노랑 */
    background: linear-gradient(311deg, #ffc600 0%, #ffd33c 100%);

    /* 경사와 엠보스: 내부 경사, 크기 6 / 부드럽게 5 */
    box-shadow:
            inset 0 2px 3px rgba(255, 255, 255, 0.55),  /* 밝은 영역(상단 하이라이트) */
            inset 0 -3px 6px rgba(120, 80, 0, 0.30),     /* 그림자(하단) */
            inset 0 0 0 1px rgba(120, 80, 0, 0.25);      /* 가장자리 라인 */
}

.apply-button--cta.type-himo i {
    color: #ffc600;
}

.apply-button--cta.type-himolady {
    max-width: 780px;
    /* 그레이디언트 오버레이: 139° → CSS 311deg, 어두운 적색 → 밝은 적색 */
    background: linear-gradient(311deg, #77011d 0%, #92233d 100%);

    /* 경사와 엠보스: 내부 경사, 크기 6 / 부드럽게 5 */
    box-shadow:
            inset 0 2px 3px rgba(255, 255, 255, 0.25),  /* 밝은 영역(상단 하이라이트) */
            inset 0 -3px 6px rgba(0, 0, 0, 0.45),        /* 그림자(하단) */
            inset 0 0 0 1px rgba(0, 0, 0, 0.25);         /* 가장자리 라인 */
}

.apply-button--cta.type-himolady i {
    background-color: #fff;
    color: #831630;
}

/* CTA 버튼: hover 시 배경 밝기 변화 제거(위치 이동만 유지) */
.apply-button--cta:hover {
    filter: none;
}

/* 체험 과정 섹션 버튼: 폭만 step 컨테이너(720px)와 동일하게 */
.steps-section .apply-button--cta {
    max-width: 720px;
}

/* 체험 과정 섹션 하이모 버튼: 골드 대신 블루 시안 */
.steps-section .apply-button--cta.type-himo {
    color: #fff;
    /* 그레이디언트 오버레이: 139° → CSS 311deg, 어두운 파랑 → 밝은 파랑 */
    background: linear-gradient(311deg, #0046ad 0%, #2e67bc 100%);

    /* 경사와 엠보스: 내부 경사, 크기 6 / 부드럽게 5 */
    box-shadow:
            inset 0 2px 3px rgba(255, 255, 255, 0.35),  /* 밝은 영역(상단 하이라이트) */
            inset 0 -3px 6px rgba(0, 20, 60, 0.45),      /* 그림자(하단) */
            inset 0 0 0 1px rgba(0, 20, 60, 0.30);       /* 가장자리 라인 */
}

.steps-section .apply-button--cta.type-himo i {
    background-color: #fff;
    color: #2e67bc;
}

/* 체험 과정 섹션 하이모레이디 버튼: 어두운 갈색 시안 */
.steps-section .apply-button--cta.type-himolady {
    /* 그레이디언트 오버레이: 139° → CSS 311deg, 어두운 갈색 → 밝은 갈색 */
    background: linear-gradient(311deg, #502c20 0%, #6a4b41 100%);

    /* 경사와 엠보스: 내부 경사, 크기 6 / 부드럽게 5 */
    box-shadow:
            inset 0 2px 3px rgba(255, 255, 255, 0.22),  /* 밝은 영역(상단 하이라이트) */
            inset 0 -3px 6px rgba(20, 8, 4, 0.45),       /* 그림자(하단) */
            inset 0 0 0 1px rgba(20, 8, 4, 0.30);        /* 가장자리 라인 */
}

.steps-section .apply-button--cta.type-himolady i {
    background-color: #fff;
    color: #502c20;
}

@media (max-width: 750px) {
    .cta-section { padding: calc(10 / 750 * 100vw) 0 calc(90 / 750 * 100vw); }
    .cta-title { font-size: calc(38 / 750 * 100vw); }
    .cta-caption { font-size: calc(18 / 750 * 100vw); }
    .cta-arrow { margin: calc(20 / 750 * 100vw) auto; }
    .cta-arrow img { width: calc(34 / 750 * 100vw); }

    .apply-button {
        max-width: calc(600 / 750 * 100vw);
        height: calc(94 / 750 * 100vw);
        border-radius: calc(20 / 750 * 100vw);
        font-size: calc(34 / 750 * 100vw);
        gap: 12px;
    }

    .apply-button i {
        width: calc(42 / 750 * 100vw);
        height: calc(42 / 750 * 100vw);
        font-size: calc(24 / 750 * 100vw);
    }

    .apply-button--cta {
        max-width: 100%;
        height: calc(114 / 750 * 100vw);
        border-radius: calc(35 / 750 * 100vw);
        font-size: calc(38 / 750 * 100vw);
        gap: calc(18 / 750 * 100vw);
    }

    .apply-button--cta i {
        width: calc(52 / 750 * 100vw);
        height: calc(52 / 750 * 100vw);
        font-size: calc(30 / 750 * 100vw);
    }
}

/* ===================== 3) 영상 섹션 ===================== */
.video-section {
    padding: 130px 0 120px;
    background-color: #0c0c0e;
    background-image: url('../images/bg-video-section.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.video-caption {
    color: #fff;
    font-family: 'SUIT', sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.04em;
}

.video-headline {
    color: var(--blue);
    font-family: 'SUIT', sans-serif;
    font-weight: 800;
    font-size: 50px;
    letter-spacing: -.045em;
}

.video-thumb {
    position: relative;
    max-width: 960px;
    margin: 20px auto 0;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.video-thumb .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .6);
    color: #fff;
    font-size: 36px;
    transition: transform .2s ease;
}

.video-thumb:hover .play-button {
    transform: translate(-50%, -50%) scale(1.08);
}

/* 혜택 카드 (영상 하단) */
.video-benefits {
    display: flex;
    max-width: 760px;
    margin: 36px auto 0;
    border-radius: 18px;
    background-color: rgba(255, 255, 255, .9);
    overflow: hidden;
}

.video-benefit {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 30px;
    text-align: left;
}

.video-benefit + .video-benefit::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, #a4c4f4 0 3px, transparent 3px 5px);
}

.vb-tag {
    display: inline-block;
    margin-bottom: .5em;
    padding: 4px 20px;
    border-radius: 999px;
    background-color: var(--blue);
    color: #fff;
    font-family: 'SUIT', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.vb-cond {
    font-family: 'SUIT', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.02em;
}

.vb-amount {
    font-family: 'Paperlogy', 'SUIT', sans-serif;
    font-weight: 700;
    font-size: 28px;
    white-space: nowrap;
    line-height: 1.2;
}

.vb-amount strong {
    display: inline-block;
    font-size: 1.6em;
    font-weight: 800;
    background: linear-gradient(180deg, #5a9cfc, var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transform-origin: center;
    animation: vb-amount-pulse 1.7s ease-in-out infinite;
}

/* 금액 강조: 커졌다 작아지는 펄스 반복 */
@keyframes vb-amount-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
    .vb-amount strong { animation: none; }
}

.vb-amount strong .unit {
    font-size: .625em;
}

.vb-note {
    color: #777;
    font-family: 'SUIT', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.vb-icon {
    position: absolute;
    right: 26px;
    top: 46px;
    width: 87px;
}

.vb-icon img {
    height: auto;
}

@media (max-width: 750px) {
    .video-section { padding: calc(90 / 750 * 100vw) 0; }
    .video-caption { font-size: calc(26 / 750 * 100vw); }
    .video-headline { font-size: calc(60 / 750 * 100vw); }

    .video-thumb { max-width: 100%; margin-top: calc(30 / 750 * 100vw); }
    .video-thumb .play-button {
        width: 56px;
        height: 56px;
        font-size: 30px;
    }

    .video-benefits { max-width: 600px; margin-top: calc(50 / 750 * 100vw); border-radius: calc(18 / 750 * 100vw); }
    .vb-tag { font-size: calc(18 / 750 * 100vw); }
    .vb-cond { font-size: calc(22 / 750 * 100vw); }
    .vb-amount { font-size: calc(23 / 750 * 100vw); }
    .vb-note { font-size: calc(13 / 750 * 100vw); }
    .vb-icon { width: calc(70 / 750 * 100vw); right: calc(21 / 750 * 100vw); top: calc(40 / 750 * 100vw); }
    .video-benefit { gap: calc(13 / 750 * 100vw); padding: calc(20 / 750 * 100vw) calc(24 / 750 * 100vw); }
    .vb-tag { padding: calc(4 / 750 * 100vw) calc(16 / 750 * 100vw); margin-bottom: calc(8 / 750 * 100vw); }
    .video-benefit + .video-benefit::before { top: calc(16 / 750 * 100vw); bottom: calc(16 / 750 * 100vw); }
}

/* ===================== 4) 체험 과정 ===================== */
.steps-section {
    padding: 140px 0;
    background-color: #fff;
    text-align: center;
}

/* 하이모레이디: 체험 과정 섹션 배경 */
.event-type-himolady .steps-section {
    background-color: #f5f0ee;
}

.steps-title-wrap {
    margin-bottom: 50px;
}

.steps-title {
    display: inline-block;
    padding: 8px 46px;
    border-radius: 999px;
    background-color: var(--blue);
    color: #fff;
    font-family: 'Paperlogy', 'SUIT', sans-serif;
    font-weight: 700;
    font-size: 34px;
}

/* 컨테이너 최대 폭 720px 기준 — 내부 요소는 cqw 로 비율 축소 */
.trial-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
    gap: 6px calc(16 / 720 * 100%);
    max-width: 720px;
    margin: 0 auto;
    container-type: inline-size;
}

.step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: calc(12 / 720 * 100cqw);
    padding: calc(24 / 720 * 100cqw) calc(14 / 720 * 100cqw);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

/* 카드별 원본 px 비율 — bg-card-step1~6 실측 크기 기준 (720px 컨테이너) */
.step-card.step-1 { width: calc(233 / 720 * 100cqw); height: calc(285 / 720 * 100cqw); }
.step-card.step-2 { width: calc(234 / 720 * 100cqw); height: calc(285 / 720 * 100cqw); }
.step-card.step-3 { width: calc(221 / 720 * 100cqw); height: calc(299 / 720 * 100cqw); margin-left: auto; }
.step-card.step-4 { width: calc(233 / 720 * 100cqw); height: calc(285 / 720 * 100cqw); }
.step-card.step-5 { width: calc(234 / 720 * 100cqw); height: calc(285 / 720 * 100cqw); }
.step-card.step-6 { width: calc(221 / 720 * 100cqw); height: calc(285 / 720 * 100cqw); }

/* 1·2번 카드 우측, 4·5번 카드 좌측 패딩 2배 */
.step-card.step-1,
.step-card.step-2 { padding-right: calc(28 / 720 * 100cqw); }
.step-card.step-4,
.step-card.step-5 { padding-left: calc(28 / 720 * 100cqw); }

/* DOM은 1~6 순서, 둘째 줄(4·5·6)만 역순 렌더(6→5→4) */
.step-card.step-4 { order: 3; }
.step-card.step-5 { order: 2; }
.step-card.step-6 { order: 1; }

/* --- STEP 순서대로 fade-in (스크롤 진입 시 .is-revealed) --- */
.step-card {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease, transform .5s ease;
}

.trial-steps.is-revealed .step-card {
    opacity: 1;
    transform: translateY(0);
}

.trial-steps.is-revealed .step-card.step-1 { transition-delay: 0s; }
.trial-steps.is-revealed .step-card.step-2 { transition-delay: .15s; }
.trial-steps.is-revealed .step-card.step-3 { transition-delay: .30s; }
.trial-steps.is-revealed .step-card.step-4 { transition-delay: .45s; }
.trial-steps.is-revealed .step-card.step-5 { transition-delay: .60s; }
.trial-steps.is-revealed .step-card.step-6 { transition-delay: .75s; }

@media (prefers-reduced-motion: reduce) {
    .step-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.step-label {
    font-family: 'Paperlogy', 'SUIT', sans-serif;
    font-weight: 700;
    font-size: calc(24 / 720 * 100cqw);
    color: var(--blue);
}

.step-card.active .step-label {
    color: #fff;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(120 / 720 * 100cqw);
}

.step-icon img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

@media (min-width: 751px) {
    .step-1 .step-icon img { width: calc(136 / 720 * 100cqw); }
    .step-2 .step-icon img { width: calc(126 / 720 * 100cqw); }
    .step-3 .step-icon img { width: calc(134 / 720 * 100cqw); }
    .step-4 .step-icon img { width: calc(124 / 720 * 100cqw); }
    .step-5 .step-icon img { width: calc(130 / 720 * 100cqw); }
    .step-6 .step-icon img { width: calc(106 / 720 * 100cqw); }
}

.step-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* 2줄 기준 높이 — 1줄 텍스트도 동일 높이 내 수직 중앙 정렬 */
    min-height: calc(1.35em * 2);
    font-family: 'SUIT', sans-serif;
    font-size: calc(22 / 720 * 100cqw);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.02em;
}

.step-card.active .step-text {
    color: #fff;
}

.steps-section .cta-arrow {
    margin: 50px 0;
}

@media (max-width: 750px) {
    .steps-section { padding: calc(90 / 750 * 100vw) 0; }
    .steps-section .cta-arrow { margin: calc(40 / 750 * 100vw) 0; }
    .steps-title-wrap { margin-bottom: calc(70 / 750 * 100vw); }
    .steps-title { font-size: calc(34 / 750 * 100vw); padding: calc(8 / 750 * 100vw) calc(46 / 750 * 100vw); }
}

/* ===================== 5) 블루 안내 ===================== */
.notice-section {
    position: relative;
    padding: 90px 0 60px;
    background-color: var(--blue);
    color: #fff;
    text-align: center;
}

/* 상단 중앙 삼각 포인터 */
.notice-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: #fff;
    transform: translate(-50%, -42px) rotate(45deg);
}

/* 하이모레이디: 상단 삼각 포인터 색상(steps 배경과 연결) */
.event-type-himolady .notice-section::before {
    background-color: #f5f0ee;
}

.notice-cases {
    display: flex;
    justify-content: center;
    gap: 90px;
}

.notice-case {
    flex: 1 1 0;
    max-width: 320px;
}

.notice-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

.notice-icon img {
    width: auto;
    height: auto;
}

.notice-case h4 {
    margin: 20px 0 14px;
    border-bottom: 2px solid rgba(255, 255, 255, .3);
    font-family: 'Paperlogy', 'SUIT', sans-serif;
    font-weight: 700;
    font-size: 40px;
    letter-spacing: -.025em;
}

.notice-case p {
    font-family: 'SUIT', sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.notice-refs {
    display: flex;
    flex-direction: column;
    gap: .25em;
    margin-top: 50px;
    color: #8cbafd;
    font-family: 'SUIT', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.5;
}

/* 하이모레이디: 안내 문구 색상 */
.event-type-himolady .notice-refs {
    color: #c5afa8;
}

@media (max-width: 750px) {
    .notice-section { padding: calc(60 / 750 * 100vw) 0; }
    .notice-section::before {
        width: calc(50 / 750 * 100vw);
        height: calc(50 / 750 * 100vw);
        border-radius: calc(10 / 750 * 100vw);
        transform: translate(-50%, calc(-36 / 750 * 100vw)) rotate(45deg);
    }
    .notice-cases { gap: calc(70 / 750 * 100vw); max-width: 500px; margin: 0 auto; }
    .notice-icon { height: calc(90 / 750 * 100vw); }
    .notice-icon img { width: calc(96 / 750 * 100vw); height: auto; }
    .notice-case h4 { font-size: calc(28 / 750 * 100vw); margin: calc(20 / 750 * 100vw) 0 calc(14 / 750 * 100vw); }
    .notice-case p { font-size: calc(20 / 750 * 100vw); }
    .notice-refs { font-size: max(12px, calc(16 / 750 * 100vw)); margin-top: calc(40 / 750 * 100vw); }
}

/* ===================== 비디오 팝업 모달 (재사용) ===================== */
.video-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 60px 20px 20px;
    background: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
    animation: fadeIn 0.3s ease-in-out;
}

.video-popup.active { display: block; }

.video-popup-content-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100%;
}

.video-popup-content {
    position: relative;
    width: 100%;
    max-width: 980px;
    min-height: 100%;
    animation: slideIn 0.3s ease-in-out;
}

.video-popup-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-popup-close:hover { transform: scale(1.1); }

.video-popup-title {
    margin-bottom: .5em;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    word-break: keep-all;
    text-align: center;
}

.video-container-wrap {
    position: relative;
    padding-top: calc(552 / 980 * 100%);
}

.lite-youtube-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: rgba(255, 255, 255, .4);
    overflow: hidden;
}

.video-popup lite-youtube {
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
}

.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top: 6px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideIn {
    from { opacity: 0; transform: scale(0.8) translateY(50px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 750px) {
    .video-popup-title { font-size: 14px; }
}

/* ===================== 하단 Contact (재사용) ===================== */
.contact-section {
    padding: 80px 20px;
    background-color: #1e1c1c;
    letter-spacing: 0;
}

.contact-section .grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* 그리드 내부 모든 폰트 SUIT 통일 */
.contact-section .grid-container,
.contact-section .grid-container * {
    font-family: 'SUIT', sans-serif;
}

.contact-section .grid-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.contact-section .card-item {
    height: 100%;
    padding: 40px;
    border-radius: 30px;
    background-color: #fff;
}

.contact-section .customer-center {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 활성 브랜드에 따라 고객센터 전환 (기본: 하이모) */
.contact-section .customer-center.type-himolady { display: none; }
.event-free-trial.brand-himolady .contact-section .customer-center.type-himo { display: none; }
.event-free-trial.brand-himolady .contact-section .customer-center.type-himolady { display: flex; }

/* (여성전용) 포인트 색상 */
.contact-section .customer-center .lady-only { color: var(--brown); }

.contact-section .customer-center h3 {
    margin-bottom: 1em;
    padding-top: 1em;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
}

.contact-section .customer-center .tel-number {
    margin-bottom: .5em;
    font-size: 45px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.contact-section .customer-center .details {
    margin-top: auto;
    padding-bottom: 1em;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

/* 하이모레이디: 대표번호 폰트 축소 */
.contact-section .customer-center.type-himolady .tel-number {
    font-size: 34px;
}

.contact-section .view-branches .logo { margin: 0 auto; }

.contact-section .view-branches.type-himo .logo {
    max-width: 145px;
}

.contact-section .view-branches.type-himolady .logo {
    max-width: 194px;
}

.contact-section .view-branches .text-wrap {
    margin-top: 1em;
    font-size: 18px;
    line-height: 1;
}

.contact-section .view-branches .text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.contact-section .view-branches .text .arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
}

.contact-section .view-branches.type-himo .text .arrow-icon { background-color: #000; }
.contact-section .view-branches.type-himolady .text .arrow-icon { background-color: #8b5e50; }

.contact-section .view-branches .arrow-icon i { transition: transform .2s ease-in-out; }
.contact-section .view-branches > a:hover .arrow-icon i { transform: translateX(2px); }

.contact-section .view-sns-channels {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-section .view-sns-channels .desc {
    margin-bottom: 1em;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
}

.contact-section .view-sns-channels h3 {
    margin-top: auto;
    margin-bottom: 1em;
    font-size: 20px;
    font-weight: 900;
}

.contact-section .view-sns-channels .sns-links {
    display: flex;
    justify-content: space-between;
    gap: 22px;
}

.contact-section .view-sns-channels .sns-links > li { max-width: 68px; }

@media (max-width: 1024px) {
    .contact-section { padding: calc(90 / 750 * min(100vw, 750px)) 0; }

    .contact-section .grid-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
        max-width: 600px;
        margin: 0 auto;
    }

    .contact-section .grid-item { gap: 15px; }

    .contact-section .card-item {
        padding: calc(50 / 750 * min(100vw, 750px));
        border-radius: calc(30 / 750 * min(100vw, 750px));
    }

    .contact-section .customer-center h3 { font-size: calc(32 / 750 * min(100vw, 750px)); }
    .contact-section .customer-center .tel-number { font-size: calc(70 / 750 * min(100vw, 750px)); }
    .contact-section .customer-center.type-himolady .tel-number { font-size: calc(62 / 750 * min(100vw, 750px)); }
    .contact-section .customer-center .details { font-size: calc(28 / 750 * min(100vw, 750px)); }
    .contact-section .view-branches .text-wrap { font-size: calc(26 / 750 * min(100vw, 750px)); }

    .contact-section .view-branches .text { gap: calc(10 / 750 * min(100vw, 750px)); }
    .contact-section .view-branches .text .arrow-icon {
        width: calc(40 / 750 * min(100vw, 750px));
        height: calc(40 / 750 * min(100vw, 750px));
    }

    .contact-section .view-branches.type-himo .logo { max-width: calc(200 / 750 * min(100vw, 750px)); }
    .contact-section .view-branches.type-himolady .logo { max-width: calc(270 / 750 * min(100vw, 750px)); }
    .contact-section .view-sns-channels .desc { font-size: calc(30 / 750 * min(100vw, 750px));}
    .contact-section .view-sns-channels h3 { font-size: calc(28 / 750 * min(100vw, 750px)); }
    .contact-section .view-sns-channels .sns-links { gap: 16px; }
    .contact-section .view-sns-channels .sns-links > li { max-width: 100%; }
}

/* ===================== 무료체험 신청 팝업 폼 (재사용) ===================== */
.popup-overlay {
    /* 팝업은 .event-free-trial 밖에 위치 → 브랜드 색상 변수 재정의 */
    --blue: #1874fb;
    --brown: #8b5e50;
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: scroll;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.show { display: block; opacity: 1; }

.popup-container-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100%;
}

.popup-container {
    position: relative;
    width: 100%;
    max-width: 570px;
    min-height: 100%;
    margin: 0 auto;
    padding: 50px 63px;
    border-radius: 30px;
    background-color: #1e1c1c;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.popup-container, .popup-container * {
    word-break: keep-all;
    word-wrap: break-word;
}

.popup-overlay.show .popup-container { transform: scale(1); }

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.close-button:hover { opacity: 1; }

.popup-title {
    margin-bottom: 1em;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
}

.form-group { margin-bottom: 30px; text-align: left; }

.form-row {
    display: flex;
    align-items: flex-end;
    gap: 44px;
}

.form-row .form-group { flex: 1; }

.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
}

.branch-select-container { margin-bottom: 30px; }

.branch-select-container .form-row { margin-bottom: 0; }

.branch-select-container .form-group { margin-bottom: 0; }

.branch-note {
    display: flex;
    gap: 2px;
    margin: 0 0 12px;
    color: #fff;
    font-family: 'SUIT', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
}

.branch-note::before {
    content: '*';
    flex-shrink: 0;
}

.required {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #f25656;
    font-size: 0;
}

.form-input, .form-select {
    width: 100%;
    padding: 8px 16px;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    background-color: #fff;
    color: #1e1c1c;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-select { padding-right: 30px; }
.form-input::placeholder { color: #888; }

.form-help {
    display: flex;
    gap: .5em;
    margin-top: 1em;
    color: #888;
    font-size: 13px;
    line-height: 1.4;
    word-break: keep-all;
    word-wrap: break-word;
}
.form-help::before {
    content: '*';
    flex-shrink: 0;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--blue);
}

/* 휴대폰 인증 완료 후 잠금된 입력란 (readonly) */
.form-input[readonly] {
    background-color: #f2f2f2;
    color: #999;
    opacity: 0.7;
    cursor: not-allowed;
}
.form-input[readonly]:focus { border-color: #d5d5d5; }

#himolady-popup-overlay .form-input:focus,
#himolady-popup-overlay .form-select:focus {
    border-color: var(--brown);
}

.form-select {
    background: #fff url('/assets/images/arrow-drop-down-line.svg') no-repeat right 6px center / 24px auto;
    cursor: pointer;
}

.form-select option { background-color: #fff; color: #1e1c1c; }

.terms-section { margin: 30px 0; }

.terms-text {
    margin-bottom: 1em;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
}

.terms-box {
    height: 80px;
    margin-bottom: 15px;
    padding: 12px 24px;
    border: 1px solid #ccc;
    overflow-y: auto;
}

.terms-content {
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    white-space: pre-line;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-label .checkbox-ui {
    position: relative;
    display: block;
    width: 14px;
    height: 14px;
    border: 1px solid #ccc;
}

.checkbox-label .checkbox-ui .ri-check-line { display: none; }

.checkbox:checked + .checkbox-label .checkbox-ui .ri-check-line {
    display: block;
    position: absolute;
    font-size: 20px;
    bottom: -8px;
    left: -4px;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 66px;
    border-radius: 10px;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
}

.submit-btn:disabled { opacity: .5; cursor: not-allowed; }

.submit-btn.type-himo {
    background: var(--blue);
}

.submit-btn.type-himolady {
    background: var(--brown);
}

@media (max-width: 750px) {
    .popup-title { font-size: 22px; }
    .popup-container { padding: 50px 20px; }
    .form-row { gap: 14px; }
    .terms-text { font-size: 15px; }
    .checkbox-label { font-size: 11px; }
    .submit-btn { height: 60px; font-size: 22px; }
    .form-label { font-size: 16px; }
    .branch-note { font-size: 12px; }
    .form-input::placeholder { font-size: 10px; }
    .form-input, .form-select { padding: 4px 12px; font-size: 14px; }
    .form-select { padding-right: 24px; }
    .form-help { font-size: 11px; }
}

/* ===================== 신청 완료 모달 (재사용) ===================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-container {
    position: relative;
    width: 100%;
    max-width: 570px;
    padding: 70px 40px 50px;
    border-radius: 30px;
    background-color: #1e1c1c;
    transform: translateY(50px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-container { transform: translateY(0); }

.modal-text {
    margin-bottom: 1em;
    color: #fff;
    font-size: 24px;
    line-height: 34px;
    text-align: center;
    word-break: keep-all;
}

.modal-text .line1 { display: block; }
.modal-text .line2 { display: block; }

.confirm-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 444px;
    height: 68px;
    margin: 0 auto;
    border-radius: 10px;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    cursor: pointer;
}

.type-himo .confirm-button {
    background-color: #1874fb; /* --blue */
}

.type-himolady .confirm-button {
    background-color: #8b5e50; /* --brown */
}

@media (max-width: 750px) {
    .modal-container { padding: 60px 20px 40px; }
    .modal-text { font-size: 16px; line-height: 1.5; }
    .confirm-button { height: 60px; font-size: 22px; }
}

/* ===================== 텐핑 전용: 휴대폰 번호 인증 UI ===================== */
/* 팝업은 .event-free-trial 밖 → .popup-overlay 로 스코프 */
.popup-overlay .cert-group .cert-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.popup-overlay .cert-group .cert-row + .cert-row {
    margin-top: 8px;
}

.popup-overlay .cert-group .cert-row .form-input {
    flex: 1 1 auto;
    min-width: 0;
}

.popup-overlay .cert-group .cert-send-btn,
.popup-overlay .cert-group .cert-verify-btn {
    flex: 0 0 auto;
    width: 96px;
    padding: 0;
    white-space: nowrap;
    text-align: center;
    border: 0;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

/* 인증번호 요청: 회색 */
.popup-overlay .cert-group .cert-send-btn {
    background: #6b6b6b;
}

/* 인증하기: 하이모 blue / 하이모레이디 brown */
.popup-overlay .cert-group .cert-verify-btn {
    background: var(--blue);
}

#himolady-popup-overlay .cert-group .cert-verify-btn {
    background: var(--brown);
}

.popup-overlay .cert-group .cert-send-btn:disabled,
.popup-overlay .cert-group .cert-verify-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.popup-overlay .cert-group .cert-message {
    margin-top: 6px;
    font-size: 13px;
    color: #f25656;
    min-height: 18px;
}

.popup-overlay .cert-group .cert-message.is-completed {
    color: #36c06a;
}
