/* landing.css — v2: CSS 변수 + BEM 클래스 아키텍처 */

/* =============================================
   1. 디자인 토큰 (CSS 변수)
   ============================================= */

:root {
    --ld-primary: #e53935;
    --ld-primary-dark: #c62828;
    --ld-text: #333;
    --ld-text-sub: #666;
    --ld-bg: #fff;
    --ld-bg-alt: #f7f7f7;
    --ld-bg-dark: #222;
    --ld-border: #e5e5e5;
    --ld-max-w: 700px;
    --ld-radius-full: 50px;
    --ld-radius-card: 16px;
    --ld-transition: 0.25s ease;
}

/* =============================================
   2. 기본 레이아웃
   ============================================= */

body {
    font-family: "NeueHaasUnicaPro", "Noto Sans KR", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.landing * {
    box-sizing: border-box;
}

.landing ul,
.landing p,
.landing span {
    margin: 0;
    padding: 0;
}

.landing ul li {
    list-style: none;
}

.landing {
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing img,
.landing video {
    width: 100%;
    max-width: 100%;
    display: block;
}

.landing .landing-wr {
    width: 100%;
    max-width: var(--ld-max-w);
}

/* =============================================
   3. 배너 (공개: 고정 상단 / 에디터: 인라인)
   ============================================= */

.ld-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2001;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    background: linear-gradient(135deg, var(--ld-primary), var(--ld-primary-dark));
    color: #fff;
    letter-spacing: -0.01em;
}

.ld-banner a {
    color: #fff;
    text-decoration: none;
    transition: opacity var(--ld-transition);
}

.ld-banner a:hover {
    opacity: 0.85;
    text-decoration: underline;
}

/* 에디터 프리뷰: 인라인 (position:static) */
.ld-banner--inline {
    position: static;
}

/* =============================================
   4. 히어로 섹션
   ============================================= */

.ld-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-image: var(--bg-image);
}

/* 오버레이: ::before pseudo */
.ld-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: 0.3;
}

/* 높이 프리셋 */
.ld-hero--sm {
    min-height: 260px;
}

.ld-hero--md {
    min-height: 400px;
}

.ld-hero--lg {
    min-height: 520px;
}

.ld-hero--xl {
    min-height: 640px;
}

/* 오버레이 강도 */
.ld-hero--overlay-light::before {
    opacity: 0.15;
}

.ld-hero--overlay-medium::before {
    opacity: 0.3;
}

.ld-hero--overlay-dark::before {
    opacity: 0.5;
}

.ld-hero--overlay-heavy::before {
    opacity: 0.7;
}

/* 정렬 */
.ld-hero--left {
    text-align: left;
}

/* 히어로 내부 콘텐츠 */
.ld-hero__inner {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 40px 20px;
}

.ld-hero__title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.ld-hero__subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin: 0 0 28px;
    line-height: 1.6;
}

/* 히어로 버튼 (pill, 흰색) */
.ld-hero__btn {
    display: inline-block;
    padding: 14px 40px;
    background: #fff;
    color: var(--ld-text);
    border-radius: var(--ld-radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.02em;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform var(--ld-transition), box-shadow var(--ld-transition);
}

.ld-hero__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    color: var(--ld-text);
    text-decoration: none;
}

/* =============================================
   5. 텍스트 섹션
   ============================================= */

.ld-section {
    padding: 40px 20px;
    background-color: var(--ld-bg);
    color: var(--ld-text);
    font-size: 16px;
    text-align: left;
}

/* 테마 */
.ld-section--alt {
    background-color: var(--ld-bg-alt);
}

.ld-section--dark {
    background-color: var(--ld-bg-dark);
    color: #fff;
}

/* 정렬 */
.ld-section--center {
    text-align: center;
}

/* 여백 프리셋 */
.ld-section--spacing-sm {
    padding-top: 20px;
    padding-bottom: 20px;
}

.ld-section--spacing-md {
    padding-top: 40px;
    padding-bottom: 40px;
}

.ld-section--spacing-lg {
    padding-top: 64px;
    padding-bottom: 64px;
}

.ld-section--spacing-xl {
    padding-top: 96px;
    padding-bottom: 96px;
}

.ld-section__title {
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.ld-section__body {
    line-height: 1.8;
    letter-spacing: -0.01em;
}

/* =============================================
   6. 버튼 (공통)
   ============================================= */

.ld-btn {
    display: inline-block;
    border-radius: var(--ld-radius-full);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.5;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform var(--ld-transition), box-shadow var(--ld-transition), opacity var(--ld-transition);
}

.ld-btn:hover {
    text-decoration: none;
}

/* 크기 */
.ld-btn--sm {
    padding: 8px 20px;
    font-size: 14px;
}

.ld-btn--md {
    padding: 12px 32px;
    font-size: 16px;
}

.ld-btn--lg {
    padding: 16px 48px;
    font-size: 18px;
}

/* 스타일: primary (채움) */
.ld-btn--primary {
    background-color: var(--ld-primary);
    color: #fff;
    border-color: var(--ld-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ld-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: #fff;
}

/* 스타일: outline */
.ld-btn--outline {
    background: transparent;
    color: var(--ld-text);
    border-color: var(--ld-text);
}

.ld-btn--outline:hover {
    opacity: 0.75;
}

/* 스타일: white */
.ld-btn--white {
    background: #fff;
    color: var(--ld-text);
    border-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ld-btn--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: var(--ld-text);
}

/* =============================================
   7. CTA 래퍼
   ============================================= */

.ld-cta {
    padding: 0 20px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* 정렬 */
.ld-cta--left {
    text-align: left;
}

.ld-cta--right {
    text-align: right;
}

/* 여백 프리셋 */
.ld-cta--spacing-sm {
    margin-top: 12px;
    margin-bottom: 12px;
}

.ld-cta--spacing-md {
    margin-top: 20px;
    margin-bottom: 20px;
}

.ld-cta--spacing-lg {
    margin-top: 36px;
    margin-bottom: 36px;
}

/* =============================================
   8. 이미지
   ============================================= */

.ld-image img {
    display: block;
    width: 100%;
}

.ld-image--full {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    max-width: 100vw;
}

/* =============================================
   9. FAQ (아코디언)
   ============================================= */

.ld-faq {
    font-size: 15px;
}

.ld-faq__list {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--ld-border);
}

.ld-faq__item {
    line-height: 1.6;
    list-style: none;
}

.ld-faq__question {
    display: block;
    width: 100%;
    position: relative;
    padding: 20px 44px 20px 20px;
    border: none;
    border-top: 1px solid var(--ld-border);
    background: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-weight: 500;
    font-size: inherit;
    color: var(--ld-text);
    text-align: left;
    font-family: inherit;
    line-height: inherit;
}

.ld-faq__question::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.3s;
}

.ld-faq__question:hover {
    background-color: #fafafa;
}

/* 열림 상태 */
.ld-faq__item.open .ld-faq__question {
    background: var(--ld-bg-alt);
    color: #111;
    font-weight: 600;
}

.ld-faq__item.open .ld-faq__question::after {
    transform: translateY(-30%) rotate(-135deg);
    border-color: var(--ld-text);
}

.ld-faq__answer {
    display: none;
    padding: 16px 20px 24px;
    line-height: 1.8;
    color: var(--ld-text-sub);
    background: #fafafa;
    border-top: 1px solid #eee;
}

.ld-faq__item.open .ld-faq__answer {
    display: block;
}

.ld-faq__answer ul li {
    position: relative;
    padding-left: 12px;
}

.ld-faq__answer ul li::after {
    content: "";
    width: 4px;
    height: 4px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: 11px;
    left: 0;
}

/* =============================================
   10. 슬라이더 (Swiper)
   ============================================= */

.ld-slider .swiper {
    position: relative;
    overflow: hidden;
}

.ld-slider .swiper-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 10;
    pointer-events: none;
}

.ld-slider .swiper-prev,
.ld-slider .swiper-next {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.ld-slider .swiper-prev:hover,
.ld-slider .swiper-next:hover {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.ld-slider .swiper-prev img,
.ld-slider .swiper-next img {
    width: 18px;
    height: auto;
}

/* =============================================
   11. Vimeo 반응형 컨테이너
   ============================================= */

.vimeo-custom {
    position: relative;
    height: 0;
    padding-bottom: 100%;
}

.vimeo-custom iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vimeo-custom--01 {
    padding-bottom: 109% !important;
}

.vimeo-custom--02 {
    padding-bottom: 90% !important;
}

.vimeo-custom--03 {
    padding-bottom: 120.66% !important;
}

.vimeo-custom--04 {
    padding-bottom: 91% !important;
    margin-inline: 30px;
}

.vimeo-custom--04 .vimeo-movie iframe {
    width: 100% !important;
}

/* =============================================
   12. 팝업 버튼 (AOS 이미지)
   ============================================= */

.ld-popup-btn {
    cursor: pointer;
}

.ld-popup-btn.bg {
    background: var(--ld-bg-alt);
}

.ld-popup-btn img {
    display: block;
    width: 100%;
}

/* =============================================
   13. 하단 고정 CTA
   ============================================= */

.ld-fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background: #fff;
    border-top: 1px solid var(--ld-border);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    padding: 12px 20px;
    text-align: center;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s, opacity 0.35s, visibility 0.35s;
}

.ld-fixed-cta.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.ld-fixed-cta__promo {
    font-size: 13px;
    color: var(--ld-text-sub);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.ld-fixed-cta .btn_event {
    display: block;
    background: var(--ld-primary);
    color: #fff;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    padding: 12px 24px;
    border-radius: var(--ld-radius-card);
    font-family: "Noto Sans KR", "맑은 고딕", Verdana, Dotum, AppleGothic, sans-serif;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: background 0.2s;
}

.ld-fixed-cta .btn_event:hover,
.ld-fixed-cta .btn_event:focus {
    background: var(--ld-primary-dark);
}

/* =============================================
   14. 이벤트 팝업 (폼 모달)
   ============================================= */

.event_pop_bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.65);
}

#event_pop {
    position: relative;
    transform: none;
    padding: 0 0;
    width: auto;
    height: auto;
    overflow: visible;
    background: none;
    color: #3c3c3c;
    font-family: "Noto Sans KR", "맑은 고딕", Verdana, Dotum, AppleGothic, sans-serif;
    font-weight: 300;
    opacity: 0;
    visibility: hidden;
}

#event_pop.open {
    transform: none;
    opacity: 1;
    visibility: visible;
}

#event_pop .inwrap {
    overflow: visible;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 700px;
    padding: 23px 28px;
    background: #fff;
    border-radius: 25px;
    box-sizing: border-box;
    z-index: 2001;
}

#event_pop .inwrap form .ms-form-inner-data .ms-form-close {
    position: static;
    top: 15px;
    right: 15px;
    border-radius: 50%;
    padding: 5px;
    width: 30px;
    margin: 0 0 30px auto;
    cursor: pointer;
}

#event_pop .inwrap form .ms-form-inner-data .ms-form-close>svg {
    width: 25px;
}

#event_pop .inwrap form .ms-form-inner-data .ms-inner-text {
    text-align: center;
}

#event_pop .inwrap form .ms-form-inner-data .ms-inner-text .promotion {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #FF1F00;
    margin-bottom: 15px;
    font-family: "Neue Haas Unica Pro" !important;
}

#event_pop .inwrap form .ms-form-inner-data .ms-inner-text .leadCopy {
    font-size: 18px;
    letter-spacing: -0.03em;
    font-weight: 400;
}

#event_pop .inwrap form .ms-form-inner-data .ms-inner-text .ms-form-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px;
    line-height: 1.4;
}

#event_pop .inwrap form .ms-form-inner-data .frow {
    font-size: 0;
}

#event_pop .inwrap form .ms-form-inner-data .frow.info {
    margin-top: 35px;
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom {
    position: relative;
    margin: 15px auto 0;
    width: 215px;
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom .select-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    padding: 0 12px 0 15px;
    border: 0.75px solid #dfdfdf;
    border-radius: 5px;
    cursor: pointer;
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom .select-button>strong {
    display: block;
    width: calc(100% - 13px);
    font-size: 15px;
    font-weight: 400;
    color: #3c3c3c;
    white-space: nowrap;
    overflow: hidden;
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom .select-button>span>svg {
    width: 13px;
    stroke: rgba(60, 60, 60, 0.76);
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom.on .select-button>span>svg {
    transform: rotate(180deg);
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom .select-list {
    position: absolute;
    top: calc(100% - 5px);
    left: 0;
    width: 100%;
    padding: 13px 0;
    border: 0.75px solid #dfdfdf;
    border-radius: 5px;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition: .5s;
    z-index: 1;
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom.on .select-list {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 5px);
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom .select-list>li {
    padding: 7px 14px;
    margin-bottom: 6px;
    font-size: 15px;
    color: #3c3c3c;
    line-height: 1;
    font-weight: 400;
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom .select-list>li:last-child {
    margin-bottom: 0;
}

#event_pop .inwrap form .ms-form-inner-data .frow.select-custom .select-list>li.on {
    background: #f6f6f6;
}

#event_pop .inwrap form .ms-form-inner-data .frow.ms-number {
    margin-top: 40px;
}

#event_pop .inwrap form .ms-form-inner-data .frow input[type="text"] {
    width: 100%;
    height: 40px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #cccccc;
    font-size: 16px;
    color: #3c3c3c;
    background: #fff;
}

#event_pop .inwrap form .ms-form-inner-data .frow input[type="text"]::placeholder {
    color: #c8c8c8;
}

#event_pop .inwrap form .ms-form-inner-data .ms-checkbox-wr {
    margin-top: 56px;
}

#event_pop .inwrap form .ms-form-inner-data .ms-checkbox-wr .checkbox label {
    padding-left: 30px;
    font-weight: 400;
    font-size: 15px;
}

#event_pop .alert_msg {
    display: none;
    padding-top: 11px;
    font-size: 16px;
    color: #ff0000;
}

#event_pop .frow p.caution {
    font-size: 13px;
    color: #3c3c3c;
    line-height: 26px;
}

#event_pop .ms-submit-btn {
    width: 35.7vw !important;
    max-width: 250px !important;
    height: 10.8vw;
    max-height: 73px;
    margin: 60px auto 0;
}

#event_pop .ms-submit-btn input[type="submit"] {
    display: block;
    width: 100%;
    height: 100%;
    background: url(/assets/img/contents_submit_img_new_2.webp) no-repeat center center/100%;
    font-size: 0;
    cursor: pointer;
}

/* =============================================
   15. 체크박스
   ============================================= */

.checkbox {
    position: relative;
    height: 20px;
    letter-spacing: -0em;
}

.checkbox+.checkbox {
    margin-top: 10px;
}

.checkbox input {
    position: absolute;
    left: 0;
    top: 50%;
    width: 15px;
    height: 15px;
    margin-top: -8px;
    opacity: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: 0;
}

.checkbox label {
    padding-left: 37px;
    font-size: 16px;
    color: #3c3c3c;
    line-height: 20px;
}

.checkbox label:before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 15px;
    height: 15px;
    margin-top: -8px;
    border: 1px solid #636363;
    content: "";
}

.checkbox input:checked+label:before {
    border: 0;
    background: url("/assets/img/icon_checkbox.webp") no-repeat center;
    background-size: 100% auto;
}

.checkbox input:focus+label:before {
    outline: 1px dotted #000;
}

.checkbox.q1 {
    width: 49% !important;
    margin-top: 15px;
    display: inline-block;
}

/* =============================================
   16. 이벤트 버튼 (레거시 지원)
   ============================================= */

.landing .btn_event {
    display: block;
    background: #252525;
    color: #fff;
    width: 100%;
    text-align: center;
    line-height: 2.5;
    font-family: "Noto Sans KR", "맑은 고딕", Verdana, Dotum, AppleGothic, sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    border-radius: 40px;
    font-size: 16px;
    transition: background 0.2s;
}

.landing .btn_event:hover,
.landing .btn_event:focus {
    background: #000;
}

.landing .btn_event img {
    display: block;
    width: 100%;
}

/* =============================================
   17. 유틸리티
   ============================================= */

.displaynone {
    display: none !important;
}

/* =============================================
   18. 반응형
   ============================================= */

@media all and (max-width: 700px) {
    #event_pop .inwrap {
        height: 100%;
        border-radius: 0;
        padding: 30px 28px 0;
        overflow-y: scroll;
    }

    #event_pop .inwrap::-webkit-scrollbar {
        display: none;
    }

    .ld-slider .swiper-prev,
    .ld-slider .swiper-next {
        width: 36px;
        height: 36px;
    }

    .ld-slider .swiper-prev img,
    .ld-slider .swiper-next img {
        width: 14px;
    }

    .ld-slider .swiper-navigation {
        padding: 0 8px;
    }

    .ld-hero--lg {
        min-height: 400px;
    }

    .ld-hero--xl {
        min-height: 480px;
    }
}