.event-free-trial {
    --content-width-value: 1274;
    --himo-section-bg-color: #101946;
    --himo-card-bg-color: #152055;
    --himolady-section-bg-color: #1f0b08;
    --himolady-card-bg-color: #321d19;

    color: #000;
    letter-spacing: -.02em;
    font: 400 16px/1.5 'SUIT', 'Pretendard', sans-serif;
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
}

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

.event-banner-area {
    position: relative;
    padding-top: min(720px, calc(720 / 1600 * 100vw));
    background: #fff url('../images/banner.jpg') no-repeat center / contain;
}

@media (max-width: 1920px) {
    .event-banner-area {
        -webkit-background-size: cover;
        background-size: cover;
    }
}

@media (max-width: 750px) {
    .event-banner-area {
        padding-top: calc(846 / 750 * 100%);
        background-image: url('../images/m-banner.jpg');
    }
}

/* 탭 기능 영역 container */
.tab-container {
    background-color: var(--himo-section-bg-color);
}

/* 탭 메뉴 */
.tabs {
    display: flex;
}

.tab-item {
    flex: 1;
    background-color: #fff;
    color: #000;
    font-size: min(30px, calc(30 / var(--content-width-value) * 100vw));
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-align: center;
}

.tab-item.active {
    background-color: #0b0e1e;
    color: #fff;
    font-weight: 800;
}

.tab-item > div {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: calc(var(--content-width-value) / 2 * 1px);
    width: 100%;
    height: 95px;
}

.tab-item:nth-child(1) > div {
    margin-left: auto;
}

.tab-item:nth-child(2) > div {
    margin-right: auto;
}

@media (max-width: 750px) {
    .tab-item {
        font-size: max(10px, calc(20 / 750 * 100vw));
        line-height: 1.4;
    }

    .tab-item > div {
        height: max(47px, calc(94 / 750 * 100vw));
    }
}

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

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

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

.event-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 70px;
    color: #fff;
    font-size: 56px;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 750px) {
    .event-title {
        margin-bottom: max(25px, calc(50 / 750 * 100vw));
        font-size: max(20px, calc(40 / 750 * 100vw));
    }

    .event-title img {
        max-width: max(186px, calc(372 / 750 * 100vw));
    }
}

.old-campaign-event-section {
    padding: 40px 20px 160px;
    background-color: var(--himo-section-bg-color);
}

@media (max-width: 750px) {
    .old-campaign-event-section {
        padding: max(15px, calc(30 / 750 * 100vw)) 20px max(50px, calc(100 / 750 * 100vw));
    }
}

.video-list {
    display: flex;
    gap: 43px;
}

.video-item {
    flex: 1;
    position: relative;
    cursor: pointer;
    transition: transform .3s ease-in-out;
}

.video-item:hover {
    transform: translateY(-16px);
}

.video-item img {
    border-radius: 20px;
}

.video-item .play-button {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 4px solid #fff;
    color: #fff;
    font-size: 50px;
    opacity: .8;
    transition: opacity .3s ease-in-out;
}

.video-item:hover .play-button {
    opacity: 1;
}

.video-item .play-button i {
    transform: translateX(2px);
}

@media (max-width: 750px) {
    .video-list {
        flex-direction: column;
        align-items: center;
        gap: max(21px, calc(42 / 750 * 100vw));
    }

    .video-item {
        max-width: max(201px, calc(402 / 750 * 100vw));
    }

    .video-item .play-button {
        width: max(48px, calc(96 / 750 * 100vw));
        height: max(48px, calc(96 / 750 * 100vw));
        font-size: max(25px, calc(50 / 750 * 100vw));
        border-width: max(2px, calc(4 / 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 컨테이너 */
.lite-youtube-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: rgba(255, 255, 255, .4);
    overflow: hidden;
}

/* lite-youtube 커스텀 스타일 */
.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 fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@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: max(14px, calc(28 / 750 * 100vw));
    }
}

.campaign-event-sub-title {
    margin-top: .75em;
    color: #fff;
    font-size: 38px;
    line-height: 42px;
    font-weight: 700;
    text-align: center;
}

.campaign-event-title-wrap {
    margin-bottom: 50px;
    text-align: center;
}

.campaign-event-title-wrap p {
    color: #fff;
    font-size: 39px;
    font-weight: 900;
}

.campaign-event-title-wrap h3 {
    color: #0078ff;
    font-size: 70px;
    font-weight: 800;
    line-height: 77px;
}

@media (max-width: 750px) {
    .campaign-event-sub-title {
        font-size: max(12px, calc(24 / 750 * 100vw));
        line-height: 1.16;
    }

    .campaign-event-title-wrap {
        margin-bottom: max(25px, calc(50 / 750 * 100vw));
        text-align: center;
    }

    .campaign-event-title-wrap p {
        font-size: max(12px, calc(24 / 750 * 100vw));
    }

    .campaign-event-title-wrap h3 {
        font-size: max(23px, calc(46 / 750 * 100vw));
        line-height: 1.3;
    }
}

.current-event-section {
    padding: 100px 20px 160px;
}

@media (max-width: 750px) {
    .current-event-section {
        padding: max(50px, calc(100 / 750 * 100vw)) 20px;
    }
}

.current-event-section.event-type-himo {
    background-color: var(--himo-section-bg-color);
}

.current-event-section.event-type-himolady {
    background-color: var(--himolady-section-bg-color);
}

.current-event-section.event-type-himo .card-section {
    background-color: var(--himo-card-bg-color);
}

.current-event-section.event-type-himolady .card-section {
    background-color: var(--himolady-card-bg-color);
}

.card-section {
    border-radius: 50px;
}

.card-section-group {
    display: flex;
    flex-direction: column;
    gap: 160px;
}

@media (max-width: 750px) {
    .card-section {
        border-radius: max(14px, calc(28 / 750 * 100vw));
    }

    .card-section-group {
        gap: max(40px, calc(80 / 750 * 100vw));
    }
}

.event-section-title-group {
    padding: 90px 0 66px;
    text-align: center;
}

@media (max-width: 750px) {
    .event-section-title-group {
        padding: max(30px, calc(60 / 750 * 100vw)) 0 max(20px, calc(40 / 750 * 100vw));
    }
}

.event-section-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 234px;
    height: 66px;
    padding: 0 40px;
    border-radius: 33px;
    color: #fff;
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

@media (max-width: 750px) {
    .event-section-title {
        min-width: max(82px, calc(164 / 750 * 100vw));
        height: max(23px, calc(46 / 750 * 100vw));
        padding: 0 max(20px, calc(40 / 750 * 100vw));
        border-radius: max(12px, calc(24 / 750 * 100vw));
        font-size: max(13px, calc(26 / 750 * 100vw));
    }
}

.event-type-himo .event-section-title {
    background-color: #0078ff;
}

.event-type-himolady .event-section-title {
    background-color: #ee7f30;
}

.event-info-section {
    position: relative;
    min-height: 574px;
    padding-top: 24px;
}

.event-info-wrap {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1058px;
    height: 686px;
    margin: 0 auto;
    text-align: center;
}

.event-info {
    height: 100%;
    margin: 0 -20px;
}

.event-info .bg-content {
    width: 100%;
    height: 100%;
    padding-top: 160px;
}

.event-type-himo .event-info .bg-content {
    background: url('../images/receipt.png') no-repeat center / cover;
}

.event-type-himolady .event-info .bg-content {
    background: url('../images/lady/receipt.png') no-repeat center / cover;
}

.event-info .inner {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.event-info .row-item {
    position: relative;
}

.event-info .row-item .balloon {
    position: absolute;
    top: -133px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 166px;
    height: 166px;
    background: url('../images/balloon.png') no-repeat center / contain;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    text-align: center;
}

.event-info .row-item h3 {
    font-weight: 900;
    font-size: 45px;
}

.event-info .row-item div {
    font-size: 30px;
    font-weight: 700;
    line-height: 32px;
}

.event-info .row-item ol {
    counter-reset: row-num;
}

.event-info .row-item ol > li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    counter-increment: row-num;
}

.event-info .row-item ol > li::before {
    content: counter(row-num);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #000;
    border-radius: 50%;
    color: #fff;
    font-size: 25px;
    font-weight: 700;
}

@media (max-width: 750px) {
    .event-info-section {
        min-height: max(200px, calc(400 / 750 * 100vw));
        margin-bottom: max(30px, calc(60 / 750 * 100vw));
    }

    .event-info-wrap {
        max-width: 100%;
        height: max(239px, calc(478 / 750 * 100vw));
    }

    .event-info .bg-content {
        padding-top: max(50px, calc(100 / 750 * 100vw));
    }

    .event-info .inner {
        gap: max(12px, calc(24 / 750 * 100vw));
        max-width: max(245px, calc(490 / 750 * 100vw));
    }

    .event-info .row-item .balloon {
        top: min(-45px, calc(-90 / 750 * 100vw));
        right: max(10px, calc(20 / 750 * 100vw));
        width: max(58px, calc(116 / 750 * 100vw));
        height: max(58px, calc(116 / 750 * 100vw));
        font-size: max(10px, calc(20 / 750 * 100vw));
    }

    .event-info .row-item h3 {
        font-size: max(16px, calc(32 / 750 * 100vw));
    }

    .event-info .row-item div {
        font-size: max(10px, calc(20 / 750 * 100vw));
        line-height: 1.2;
    }

    .event-info .row-item ol > li::before {
        width: max(10px, calc(20 / 750 * 100vw));
        height: max(10px, calc(20 / 750 * 100vw));
        font-size: max(8px, calc(14 / 750 * 100vw));
    }
}

.how-to-section {
    padding: 0 20px;
}

.how-to-desc {
    color: #fff;
    font-size: 54px;
    font-weight: 700;
    line-height: 70px;
    text-align: center;
}

.event-type-himo .how-to-desc strong {
    color: #0077fe;
}

.event-type-himolady .how-to-desc strong {
    color: #ee7f30;
}

.reference-text {
    margin-top: 1em;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    text-align: center;
}

@media (max-width: 750px) {
    .how-to-desc {
        font-size: max(19px, calc(38 / 750 * 100vw));
        line-height: 1.2;
    }

    .reference-text {
        font-size: max(10px, calc(20 / 750 * 100vw));
        line-height: 1.2;
    }
}

.trial-cases {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 1138px;
    margin: 0 auto;
    padding: 70px 0 10px;
}

.trial-case-item {
    flex: 1;
    padding: 0 40px;
    border-radius: 30px;
    color: #fff;
    text-align: center;
}

.event-type-himo .trial-case-item {
    background-color: var(--himo-section-bg-color);
}

.event-type-himolady .trial-case-item {
    background-color: var(--himolady-section-bg-color);
}

.trial-case-item h4 {
    padding: .75em 0 .5em;
    border-bottom: 1px solid #8f94a9;
    font-size: 34px;
    font-weight: 700;
    line-height: 50px;
}

.trial-case-item div {
    padding: 1.5em 0;
    font-size: 26px;
    font-weight: 500;
    line-height: 32px;
}

@media (max-width: 750px) {
    .trial-cases {
        gap: max(10px, calc(20 / 750 * 100vw));
        padding: max(35px, calc(70 / 750 * 100vw)) 20px max(15px, calc(30 / 750 * 100vw));
    }

    .trial-case-item {
        padding: 0 max(12px, calc(24 / 750 * 100vw));
        border-radius: max(8px, calc(16 / 750 * 100vw));
    }

    .trial-case-item h4 {
        font-size: max(12px, calc(24 / 750 * 100vw));
        line-height: 1.5;
    }

    .trial-case-item div {
        font-size: max(11px, calc(22 / 750 * 100vw));
        line-height: 1.5;
    }
}

.open-trial-form-button-wrap {
    display: flex;
    justify-content: center;
    margin-top: 70px;
    padding-bottom: 90px;
}

.open-trial-form-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 816px;
    height: 126px;
    border-radius: 30px;
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    background-position: 0 0;
    transition: background-position 0.5s ease;
}

.event-type-himo .open-trial-form-button {
    background: linear-gradient(to left, #9538f3, #5f79f4, #24c8f4);
}

.event-type-himolady .open-trial-form-button {
    background: linear-gradient(to left, #ef2b60, #ed6743, #ef8927);
}

.open-trial-form-button:hover {
    background-size: 200% 100%;
    background-position: 100% 0;
}

@media (max-width: 750px) {
    .open-trial-form-button-wrap {
        margin-top: max(30px, calc(60 / 750 * 100vw));
        padding-bottom: max(50px, calc(100 / 750 * 100vw));
    }

    .open-trial-form-button {
        max-width: max(280px, calc(580 / 750 * 100vw));
        height: max(60px, calc(88 / 750 * 100vw));
        border-radius: max(8px, calc(16 / 750 * 100vw));
        font-size: max(18px, calc(34 / 750 * 100vw));
    }
}

.event-step-section {
    padding-bottom: 16px;
}

.trial-steps {
}

.trial-steps .flip-item {
    position: relative;
    width: 241px;
}

.trial-steps .flip-item .img-wrap {
    position: relative;
    padding-top: 100%;
}

.trial-steps .flip-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    padding-top: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(-180deg);
}

.flip-card.disabled:hover .flip-card-inner {
    transform: none;
    cursor: default;
}

.flip-card-front, .flip-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 6px 14.79px 2.21px rgba(5, 9, 35, 0.73);
}

.flip-card-back {
    transform: rotateY(-180deg);
}

.flip-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.trial-steps .step-text {
    margin-top: 1em;
    color: #0078ff;
    font-size: min(24px, calc(24 / var(--content-width-value) * 100vw));
    font-weight: 900;
    line-height: 1.333334;
    text-transform: uppercase;
}

.event-type-himo .trial-steps .step-text {
    color: #0078ff;
}

.event-type-himolady .trial-steps .step-text {
    color: #ee7f30;
}

.trial-steps p {
    color: #fff;
    font-size: min(24px, calc(24 / var(--content-width-value) * 100vw));
    font-weight: 500;
    line-height: 1.333334;
}

.trial-steps-wrap {
    position: relative;
    max-width: calc(980 / var(--content-width-value) * 100%);
    margin-top: 100px;
}

.trial-steps-wrap > .inner {
    position: relative;
    width: 100%;
    padding-top: calc(776 / 980 * 100%);
    margin-left: calc(186 / 980 * 100%);
}

.event-type-himo .trial-steps-wrap > .inner {
    background: url('../images/route.png') no-repeat center / contain;
}

.event-type-himolady .trial-steps-wrap > .inner {
    background: url('../images/lady/route.png') no-repeat center / contain;
}

.trial-steps > li {
    position: absolute;
    width: calc(241 / 980 * 100%);
    text-align: center;
}

.trial-steps > li:nth-child(1) {
    left: calc(-130 / 980 * 100%);
    top: calc(-60 / 776 * 100%);
}

.trial-steps > li:nth-child(2) {
    left: calc(226 / 980 * 100%);
    top: calc(-60 / 776 * 100%);
}

.trial-steps > li:nth-child(3) {
    left: calc(580 / 980 * 100%);
    top: calc(-60 / 776 * 100%);
}

.trial-steps > li:nth-child(4) {
    left: calc(790 / 980 * 100%);
    top: calc(200 / 776 * 100%);
}

.trial-steps > li:nth-child(5) {
    left: calc(456 / 980 * 100%);
    top: calc(318 / 776 * 100%);
}

.trial-steps > li:nth-child(6) {
    left: calc(92 / 980 * 100%);
    top: calc(318 / 776 * 100%);
}

@media (max-width: 750px) {
    .trial-steps-wrap {
        margin-top: max(40px, calc(80 / 750 * 100vw));
        max-width: max(328px, calc(656 / 750 * 100vw));
    }

    .trial-steps-wrap > .inner {
        padding-top: max(266px, calc(532 / 750 * 100vw));
        margin-left: max(10px, calc(20 / 750 * 100vw));
    }

    .event-type-himo .trial-steps-wrap > .inner {
        background-image: url('../images/m-route.png');
    }

    .event-type-himolady .trial-steps-wrap > .inner {
        background-image: url('../images/lady/m-route.png');
    }

    .trial-steps .flip-item {
        width: max(84px, calc(168 / 750 * 100vw));
    }

    .trial-steps > li {
        width: calc(168 / 656 * 100%);
    }

    .trial-steps .step-text,
    .trial-steps p {
        font-size: max(8px, calc(16 / 750 * 100vw));
    }

    .trial-steps > li:nth-child(1) {
        left: calc(16 / 656 * 100%);
        top: calc(-50 / 532 * 100%);
    }

    .trial-steps > li:nth-child(2) {
        left: calc(242 / 656 * 100%);
        top: calc(-50 / 532 * 100%);
    }

    .trial-steps > li:nth-child(3) {
        left: calc(468 / 656 * 100%);
        top: calc(-50 / 532 * 100%);
    }

    .trial-steps > li:nth-child(4) {
        left: calc(468 / 656 * 100%);
        top: calc(220 / 532 * 100%);
    }

    .trial-steps > li:nth-child(5) {
        left: calc(240 / 656 * 100%);
        top: calc(220 / 532 * 100%);
    }

    .trial-steps > li:nth-child(6) {
        left: calc(30 / 656 * 100%);
        top: calc(260 / 532 * 100%);
    }
}

.contact-section {
    padding: 80px 20px;
    background-color: #0b0e1e;
    letter-spacing: 0;
}

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

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

.contact-section .card-item {
    height: 100%;
    padding: min(40px, calc(40 / var(--content-width-value) * 100vw));
    border-radius: 30px;
    background-color: #fff;
}

/* 하이모 고객센터 연락처 */
.contact-section .customer-center {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-section .customer-center h3 {
    margin-bottom: 1em;
    font-size: min(24px, calc(24 / var(--content-width-value) * 100vw));
    font-weight: 900;
    line-height: 1;
}

.contact-section .customer-center .tel-number {
    margin-bottom: .5em;
    font-size: min(60px, calc(60 / var(--content-width-value) * 100vw));
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.contact-section .customer-center .details {
    margin-top: auto;
    font-size: min(20px, calc(20 / var(--content-width-value) * 100vw));
    font-weight: 600;
    line-height: 1.5;
}

/* 지점 확인하기 */
.contact-section .view-branches .logo {
    margin: 0 auto;
}

.contact-section .view-branches.type-himo .logo {
    max-width: min(145px, calc(145 / var(--content-width-value) * 100vw));
}

.contact-section .view-branches.type-himolady .logo {
    max-width: min(194px, calc(194 / var(--content-width-value) * 100vw));
}

.contact-section .view-branches .text-wrap {
    margin-top: 1em;
    font-size: min(18px, calc(18 / var(--content-width-value) * 100vw));
    line-height: 1;
}

.contact-section .view-branches .text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: min(12px, calc(12 / var(--content-width-value) * 100vw));
}

.contact-section .view-branches .text .arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(28px, calc(28 / var(--content-width-value) * 100vw));
    height: min(28px, calc(28 / var(--content-width-value) * 100vw));
    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);
}

/* SNS 채널 */
.contact-section .view-sns-channels {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-section .view-sns-channels .desc {
    margin-bottom: 1em;
    font-size: min(22px, calc(22 / var(--content-width-value) * 100vw));
    font-weight: 600;
    line-height: 1.5;
}

.contact-section .view-sns-channels h3 {
    margin-top: auto;
    margin-bottom: 1em;
    font-size: min(20px, calc(20 / var(--content-width-value) * 100vw));
    font-weight: 900;
}

.contact-section .view-sns-channels .sns-links {
    display: flex;
    justify-content: center;
    gap: min(22px, calc(22 / var(--content-width-value) * 100vw));
}

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

@media (max-width: 750px) {
    .contact-section {
        padding: max(35px, calc(70 / 750 * 100vw)) 20px;
    }

    .contact-section .grid-container {
        display: flex;
        flex-direction: column;
        gap: max(15px, calc(30 / 750 * 100vw));
        max-width: max(306px, calc(612 / 750 * 100vw));
        margin: 0 auto;
    }

    .contact-section .grid-item {
        gap: max(15px, calc(30 / 750 * 100vw));
    }

    .contact-section .card-item {
        padding: max(40px, calc(80 / 750 * 100vw)) max(30px, calc(60 / 750 * 100vw));
        border-radius: max(15px, calc(30 / 750 * 100vw));
    }

    .contact-section .customer-center h3 {
        font-size: max(17px, calc(34 / 750 * 100vw));
    }

    .contact-section .customer-center .tel-number {
        font-size: max(42px, calc(84 / 750 * 100vw));
    }

    .contact-section .customer-center .details {
        font-size: max(14px, calc(28 / 750 * 100vw))
    }

    .contact-section .view-branches .text-wrap {
        font-size: max(13px, calc(26 / 750 * 100vw));
    }

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

    .contact-section .view-branches.type-himo .logo {
        max-width: max(104px, calc(208 / 750 * 100vw))
    }

    .contact-section .view-branches.type-himolady .logo {
        max-width: max(138px, calc(276 / 750 * 100vw))
    }

    .contact-section .view-sns-channels .desc {
        font-size: max(16px, calc(32 / 750 * 100vw));
    }

    .contact-section .view-sns-channels h3 {
        font-size: max(14px, calc(28 / 750 * 100vw));
    }

    .contact-section .view-sns-channels .sns-links {
        gap: max(16px, calc(32 / 750 * 100vw));
    }

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

/* 무료체험 신청 팝업 폼 */

/* 팝업 오버레이 */
.popup-overlay {
    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: #0b0e1e;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.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;
}

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

.form-input, .form-select {
    width: 100%;
    padding: 4px 16px;
    border: 1px solid #ccc;
    border-radius: 0;
    background-color: transparent;
    color: #fff;
    font-size: 16px;
    transition: background-color 0.2s;
}

.form-select {
    padding-right: 30px;
}

.form-input::placeholder {
    color: #888;
}

.form-input:focus, .form-select:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
}

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

.form-select option {
    background-color: #0b0e1e;
    color: #fff;
}

/* 약관 동의 */
.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 {
}

.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: linear-gradient(to left, #9538f3, #5f79f4, #24c8f4);
}

.submit-btn.type-himolady {
    background: linear-gradient(to left, #ef2b60, #ed6743, #ef8927);
}

@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;
    }

    .form-input::placeholder {
        font-size: 10px;
    }

    .form-input, .form-select {
        padding: 4px 12px;
        font-size: 14px;
    }

    .form-select {
        padding-right: 24px;
    }
}

/* 신청 완료 모달 팝업 */
/* 모달 오버레이 */
.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: #0b0e1e;
    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: linear-gradient(to left, #9538f3, #5f79f4, #24c8f4);
}

.type-himolady .confirm-button {
    background: linear-gradient(to left, #ef2b60, #ed6743, #ef8927);
}

@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;
    }
}