/* ============================================================
 * Landing Page (post_landing) — Lifetime Warranty 시안 기반
 * Breakpoints: Mobile ≤768 / Tablet 769~1180 / PC ≥1181
 * ============================================================ */

.landing_page { width: 100%; }
.landing_page .inner { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }

/* common.css 글로벌 .heading {max-width: 98rem; margin: 0 auto;} 와 충돌 방지.
 * 글로벌 max-width 가 살아있으면 PC 에서 h2 가 980px 로 좁아지면서 좌측 정렬되어
 * text-align:center 가 시각적으로 안 먹는 듯 보임 (텍스트는 좁은 박스 안에서만 중앙).
 * landing 섹션의 .heading 은 부모 컨테이너 풀폭을 사용하고 각 섹션 규칙이 margin/padding 을 정의함. */
.landing_page .heading,
.landing_page .subheading {
    max-width: none;
    margin: 0;
}

/* PC/MO 이미지 토글 (SENA 컨벤션) */
.landing_page .pc { display: block; }
.landing_page .mo { display: none; }
@media (max-width: 768px) {
    .landing_page .pc { display: none; }
    .landing_page .mo { display: block; }
}

/* 공통 버튼 — 패딩/폰트 모두 CSS 변수로 (기본값 = medium 사이즈) */
.landing_page .btn {
    display: inline-block;
    padding: var(--btn-py, 14px) var(--btn-px, 36px);
    font-size: var(--btn-fs, 14px);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 999px;
    transition: opacity .2s, background .2s, color .2s;
    cursor: pointer;
}
/* 사이즈 프리셋 — CSS 변수만 변경 (font-size 까지 일괄 조정) */
.landing_page .btn-size-small  { --btn-py: 10px; --btn-px: 24px; --btn-fs: 12px; }
.landing_page .btn-size-medium { /* 기본값 그대로 */ }
.landing_page .btn-size-large  { --btn-py: 18px; --btn-px: 48px; --btn-fs: 16px; }

.landing_page .btn-filled  { background: #000; color: #fff; border: 1px solid #000; }
.landing_page .btn-outline { background: transparent; color: #fff; border: 1px solid #fff; }
.landing_page .btn-filled:hover  { opacity: 0.85; }
.landing_page .btn-outline:hover { background: #fff; color: #000; }

/* light theme 안에서 버튼 색 반전 */
.landing_page .theme-light .btn-outline { color: #000; border-color: #000; }
.landing_page .theme-light .btn-outline:hover { background: #000; color: #fff; }
.landing_page .theme-light .btn-filled { background: #000; color: #fff; border-color: #000; }

/* 아이콘 동반 버튼 — 텍스트 + 아이콘 가로 정렬 */
.landing_page .btn-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
/* 아이콘 — 텍스트 폰트 크기에 1:1 매칭 (em 단위로 자동 스케일) */
.landing_page .btn-icon {
    width: 1em;
    height: 1em;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}
/* 텍스트 밑줄 — .btn-text 에만 적용해 아이콘은 밑줄 X */
.landing_page .btn-underline .btn-text { text-decoration: underline; text-underline-offset: 3px; }

/* 모바일 자동 축소 — hardcoded 값으로 var() 보다 우선 (source order) */
@media (max-width: 768px) {
    .landing_page .btn { padding: 12px 28px; font-size: 13px; }
    .landing_page .btn-size-small { padding: 10px 22px; font-size: 12px; }
    .landing_page .btn-size-large { padding: 14px 32px; font-size: 14px; }
}

/* ────────────────────────────────────────────────────────────
 * 1. landing-hero
 * ──────────────────────────────────────────────────────────── */
.landing-hero {
    position: relative;
    width: 100%;
    min-height: var(--landing-hero-min-pc, 480px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.landing-hero .bg { position: absolute; inset: 0; z-index: 1; }
.landing-hero .bg .pc, .landing-hero .bg .mo { width: 100%; height: 100%; }
.landing-hero .bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.landing-hero .overlay {
    position: absolute; inset: 0; z-index: 2;
    background: rgba(0, 0, 0, var(--landing-hero-overlay, 0.2));
}
.landing-hero .inner {
    position: relative; z-index: 3;
    text-align: center;
}
.landing-hero.text-white .title,
.landing-hero.text-white .subtitle { color: #fff; }
.landing-hero.text-black .title,
.landing-hero.text-black .subtitle { color: #000; }
.landing-hero .title {
    font-size: var(--hero-title-fs, 64px);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0 0 16px;
    line-height: 1.1;
}
.landing-hero .subtitle {
    font-size: var(--hero-subtitle-fs, 18px);
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}
@media (max-width: 1180px) {
    .landing-hero .title { font-size: 48px; }
    .landing-hero .subtitle { font-size: 16px; }
}
@media (max-width: 768px) {
    .landing-hero { min-height: var(--landing-hero-min-mo, 360px); }
    .landing-hero .title { font-size: 32px; letter-spacing: 0.03em; }
    .landing-hero .subtitle { font-size: 14px; }
}

/* ────────────────────────────────────────────────────────────
 * 2. landing-feature-centered
 * ──────────────────────────────────────────────────────────── */
.landing-feature-centered { padding: 80px 0; background: #fff; }
.landing-feature-centered .text {
    text-align: center;
    max-width: 960px;
    margin: 0 auto 40px;
    padding: 0 20px;
    box-sizing: border-box;
}
.landing-feature-centered .eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #888;
    margin: 0 0 12px;
    text-align: center;
}
.landing-feature-centered .heading {
    font-size: var(--feature-heading-fs, 48px);
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.3;
    text-align: center;
}
.landing-feature-centered .body {
    font-size: var(--feature-body-fs, 18px);
    line-height: 1.7;
    color: #444;
    margin: 0 0 24px;
    text-align: center;
}
.landing-feature-centered .link a {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-decoration: underline;
}
/* .media 는 .inner (1180px) 밖으로 나옴 — 1480px 까지 넓게 잡음.
 * 1920px 화면에서 이미지 영역 ≈ 1440px (1480 - 40 padding) 차지. */
.landing-feature-centered .media {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
}
.landing-feature-centered .media img {
    width: 100%;
    height: auto;
    display: block;
}
.landing-feature-centered .media figcaption {
    position: absolute;
    right: 44px;                /* 20px (.media padding) + 24px (이미지 우측 안쪽 여백) */
    bottom: 24px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
@media (max-width: 1180px) {
    .landing-feature-centered { padding: 60px 0; }
    .landing-feature-centered .heading { font-size: 36px; }
}
@media (max-width: 768px) {
    .landing-feature-centered { padding: 40px 0; }
    .landing-feature-centered .heading { font-size: 24px; }
    .landing-feature-centered .body { font-size: 14px; }
    .landing-feature-centered .media { padding: 0 16px; }
    .landing-feature-centered .media figcaption {
        right: 28px;            /* 16px padding + 12px 안쪽 여백 */
        bottom: 12px;
        padding: 6px 10px;
        font-size: 10px;
    }
}

/* ────────────────────────────────────────────────────────────
 * 3. landing-banner-cta
 *   - 검정 밴드: 풀폭 배경 (텍스트는 .inner 1180px 내부 정렬)
 *   - 하단 이미지: 1180px 컨테이너 + 좌우 20px 패딩 (시안 좌우 여백 매칭)
 * ──────────────────────────────────────────────────────────── */
/* 배경은 섹션 전체에 적용 — band + media 영역 모두 같은 테마 컬러로 통일.
 * 이미지 좌우 여백 부분도 배경색이 채워져 시각적으로 한 덩어리로 묶임. */
.landing-banner-cta { width: 100%; }
.landing-banner-cta.theme-dark  { background: #000; color: #fff; }
.landing-banner-cta.theme-light { background: #fff; color: #000; }
.landing-banner-cta .band { padding: 80px 0; text-align: center; }
/* 글로벌 .inner (1180px) 보다 넓게 — 1920px 화면에서 텍스트 영역 1440px (1480 - 40 padding) */
.landing-banner-cta .band .inner { max-width: 1480px; }
.landing-banner-cta .band .heading {
    font-size: var(--cta-heading-fs, 48px);
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.3;
    text-align: center;
    color: inherit;
}
.landing-banner-cta .band .subheading {
    font-size: var(--cta-subheading-fs, 18px);
    line-height: 1.7;
    margin: 0 auto 32px;
    max-width: 1440px;
    opacity: 0.9;
    text-align: center;
    color: inherit;
}
.landing-banner-cta .band .cta { text-align: center; margin: 0; }
.landing-banner-cta .media {
    width: 100%;
    max-width: 1480px;             /* 1920 화면에서 이미지 영역 ≈ 1440px (1480 - 40 padding) */
    margin: 0 auto;
    padding: 40px 20px;            /* 상하 모두 패딩 — 이미지 하단이 섹션 끝에 붙어 잘려 보이는 현상 방지 */
    box-sizing: border-box;
    overflow: visible;
}
/* .pc / .mo 컨테이너: 어떤 부모도 잘라내지 않도록 명시 */
.landing-banner-cta .media > .pc,
.landing-banner-cta .media > .mo {
    width: 100%;
    height: auto;
    overflow: visible;
    line-height: 0;                /* 인라인 baseline 갭 제거 */
}
.landing-banner-cta .media img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    display: block;
    object-fit: contain;           /* 절대 잘리지 않음 — 비율 유지하며 컨테이너 안에 담김 */
}
@media (max-width: 1180px) {
    .landing-banner-cta .band { padding: 60px 0; }
    .landing-banner-cta .band .heading { font-size: 36px; }
    .landing-banner-cta .media { padding: 32px 20px; }
}
@media (max-width: 768px) {
    .landing-banner-cta .band { padding: 40px 20px; }
    .landing-banner-cta .band .heading { font-size: 24px; }
    .landing-banner-cta .band .subheading { font-size: 14px; }
    .landing-banner-cta .media { padding: 24px 16px; }
}

/* ────────────────────────────────────────────────────────────
 * 4. landing-steps
 *   - 시안: 흰 배경 섹션, step 카드도 배경/테두리 없음 (아이콘 + 텍스트만)
 *   - .step_item 은 flex column 으로 아이콘/타이틀/설명을 중앙정렬
 * ──────────────────────────────────────────────────────────── */
.landing-steps { padding: 80px 0; background: #fff; }
/* 글로벌 .inner (1180px) 보다 넓게 — 시안: 1920px 화면에서 스텝 영역 1440px (1480 - 40 padding) */
.landing-steps .inner { max-width: 1480px; }
.landing-steps .hgroup { text-align: center; margin: 0 0 48px; }
.landing-steps .heading {
    font-size: var(--steps-heading-fs, 32px);
    font-weight: 700;
    margin: 0 0 12px;
    text-align: center;
}
.landing-steps .subheading {
    font-size: 16px;
    color: #666;
    margin: 0;
    text-align: center;
}
.landing-steps .step_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0 0 48px;
}
/* 카드 배경 색상 옵션 — 시안의 라운드 박스 형태 */
.landing-steps .step_list.has-card-bg {
    padding: 48px 32px;
    border-radius: 20px;
}
.landing-steps .step_item {
    background: transparent;
    padding: 24px 16px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}
.landing-steps .step_item .icon {
    width: 48px;
    height: 48px;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.landing-steps .step_item .icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.landing-steps .step_item .title {
    font-size: var(--steps-title-fs, 30px);
    font-weight: 700;
    margin: 0 0 10px;
    width: 100%;
    text-align: center;
    color: #111;
}
.landing-steps .step_item .description {
    font-size: var(--steps-description-fs, 18px);
    line-height: 1.6;
    color: #666;
    margin: 0;
    width: 100%;
    text-align: center;
}
.landing-steps .cta { text-align: center; margin: 0; }
@media (max-width: 1180px) {
    .landing-steps { padding: 60px 0; }
    .landing-steps .step_list { grid-template-columns: repeat(2, 1fr); }
    .landing-steps .heading { font-size: 26px; }
}
@media (max-width: 768px) {
    .landing-steps { padding: 40px 0; }
    .landing-steps .step_list { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
    .landing-steps .step_list.has-card-bg { padding: 24px 16px; border-radius: 16px; }
    .landing-steps .heading { font-size: 22px; }
    .landing-steps .step_item { padding: 16px; }
}

/* ────────────────────────────────────────────────────────────
 * 5. landing-quote-overlay
 * ──────────────────────────────────────────────────────────── */
.landing-quote-overlay { position: relative; width: 100%; overflow: hidden; }
.landing-quote-overlay .media { position: relative; width: 100%; }
.landing-quote-overlay .media img { width: 100%; height: auto; display: block; }
.landing-quote-overlay .media .overlay-grad {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 50%);
    pointer-events: none;
}
.landing-quote-overlay .text-overlay {
    position: absolute;
    z-index: 2;
    width: 100%;
    max-width: 720px;
    padding: 40px;
    box-sizing: border-box;
}
/* 위치 클래스: 배치 좌표 + 텍스트 정렬 자동 매칭 (좌→좌정렬, 우→우정렬, 중앙→중앙정렬) */
.landing-quote-overlay.pos-top-left      .text-overlay { top: 0; left: 0; text-align: left; }
.landing-quote-overlay.pos-top-right     .text-overlay { top: 0; right: 0; text-align: right; }
.landing-quote-overlay.pos-center-left   .text-overlay { top: 50%; left: 0; transform: translateY(-50%); text-align: left; }
.landing-quote-overlay.pos-center-right  .text-overlay { top: 50%; right: 0; transform: translateY(-50%); text-align: right; }
.landing-quote-overlay.pos-center        .text-overlay { top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.landing-quote-overlay.pos-bottom-left   .text-overlay { bottom: 0; left: 0; text-align: left; }
.landing-quote-overlay.pos-bottom-right  .text-overlay { bottom: 0; right: 0; text-align: right; }

/* Custom 위치: 가로 X%, 세로 Y% 자유 지정. transform 으로 박스 자체 anchor 보정 → 0% = 좌단, 50% = 중앙, 100% = 우단 */
.landing-quote-overlay.pos-custom .text-overlay {
    top:  calc(var(--pos-y, 50) * 1%);
    left: calc(var(--pos-x, 50) * 1%);
    transform: translate(calc(var(--pos-x, 50) * -1%), calc(var(--pos-y, 50) * -1%));
    text-align: var(--pos-text-align, center);
}
.landing-quote-overlay.text-white .quote,
.landing-quote-overlay.text-white .author { color: #fff; }
.landing-quote-overlay.text-black .quote,
.landing-quote-overlay.text-black .author { color: #000; }
.landing-quote-overlay .quote {
    font-size: var(--quote-fs, 28px);
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 12px;
}
.landing-quote-overlay .author {
    font-size: var(--quote-author-fs, 14px);
    margin: 0;
    opacity: 0.85;
}
@media (max-width: 768px) {
    .landing-quote-overlay .quote { font-size: 18px; }
    .landing-quote-overlay .text-overlay { padding: 24px; }

    /* mo-stacked: 텍스트를 이미지 아래로 분리 (가독성 ↑) */
    .landing-quote-overlay.mo-stacked .text-overlay {
        position: static;
        max-width: 100%;
        background: #111;
        color: #fff;
        transform: none;
    }
    .landing-quote-overlay.mo-stacked .text-overlay .quote,
    .landing-quote-overlay.mo-stacked .text-overlay .author { color: #fff; }
    .landing-quote-overlay.mo-stacked .media .overlay-grad { display: none; }
}

/* ────────────────────────────────────────────────────────────
 * 6. landing-faq
 *   - 헤더 검정 바와 본문 모두 1180px 컨테이너 내부에 정렬
 *   - 배경색은 .faq-header > .inner 에 부여 (전체 폭 채움 방지)
 *   - text-{auto|white|black} = 헤더 글자색 옵션
 * ──────────────────────────────────────────────────────────── */
.landing-faq { padding: 0 0 80px; }
.landing-faq .faq-header { padding: 0; text-align: center; }
/* 글로벌 .inner (1180px) 보다 넓게 — 시안: 1920px 화면에서 헤더 배경 폭 1340px */
.landing-faq .faq-header .inner {
    max-width: 1340px;
    padding: 32px 20px;
    box-sizing: border-box;
}
.landing-faq .faq-header.theme-dark .inner  { background: #000; }
.landing-faq .faq-header.theme-light .inner { background: #fff; border-bottom: 1px solid #eee; }
.landing-faq .faq-header .heading {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.02em;
    text-align: center;
}
/* heading 글자색: auto = 배경 반전, white/black = 명시 */
.landing-faq .faq-header.text-auto.theme-dark  .heading { color: #fff; }
.landing-faq .faq-header.text-auto.theme-light .heading { color: #000; }
.landing-faq .faq-header.text-white .heading { color: #fff; }
.landing-faq .faq-header.text-black .heading { color: #000; }
.landing-faq .faq-header .subheading {
    font-size: 24px;
    line-height: 1.5;
    margin: 16px 0 0;
    text-align: center;
    opacity: 0.85;
}
.landing-faq .faq-header.text-auto.theme-dark  .subheading { color: #fff; }
.landing-faq .faq-header.text-auto.theme-light .subheading { color: #000; }
.landing-faq .faq-header.text-white .subheading { color: #fff; }
.landing-faq .faq-header.text-black .subheading { color: #000; }

.landing-faq .faq-body { padding: 24px 0 0; }
.landing-faq .faq_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* 시안: 각 FAQ 항목 = 라운드 카드.
 *   - 질문(question) 영역: 연회색 #f5f5f5
 *   - 답변(answer) 영역  : 흰색 (펼쳐지면 시각적으로 분리됨)
 *   - .faq_item 자체에는 배경 두지 않음. 각 영역이 자기 배경을 가짐.
 *   - border-radius + overflow:hidden 으로 두 영역의 모서리도 둥글게 클립. */
.landing-faq .faq_item {
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
}
.landing-faq .faq_item .question {
    position: relative;
    background: #f5f5f5;
}
.landing-faq .faq_item .question a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    text-decoration: none;
    color: #111;
    font-size: 15px;
    line-height: 1.5;
}
.landing-faq .faq_item .q-text { flex: 1; padding-right: 24px; text-align: left; }
.landing-faq .faq_item .q-arrow {
    position: relative;
    width: 14px; height: 14px;
    flex-shrink: 0;
}
.landing-faq .faq_item .q-arrow::before,
.landing-faq .faq_item .q-arrow::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    background: #111;
    transition: transform .25s, opacity .25s;
}
.landing-faq .faq_item .q-arrow::before {
    width: 14px; height: 2px;
    transform: translate(-50%, -50%);
}
.landing-faq .faq_item .q-arrow::after {
    width: 2px; height: 14px;
    transform: translate(-50%, -50%);
}
.landing-faq .faq_item.on .q-arrow::after {
    transform: translate(-50%, -50%) scaleY(0);
    opacity: 0;
}
.landing-faq .faq_item .answer {
    overflow: hidden;
    background: #fff;
}
.landing-faq .faq_item .answer .block {
    padding: 18px 24px 20px;       /* 상단 padding 추가 → 질문 회색과 답변 흰색 사이 시각 분리 */
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    text-align: left;
}
.landing-faq .faq_item .answer .block p { margin: 0 0 12px; }
.landing-faq .faq_item .answer .block a { color: #000; text-decoration: underline; }

@media (max-width: 1180px) {
    .landing-faq .faq-header .heading { font-size: 36px; }
    .landing-faq .faq-header .subheading { font-size: 18px; margin-top: 12px; }
}
@media (max-width: 768px) {
    .landing-faq { padding: 0 0 40px; }
    .landing-faq .faq-header .inner { padding: 20px; }
    .landing-faq .faq-header .heading { font-size: 24px; }
    .landing-faq .faq-header .subheading { font-size: 14px; margin-top: 8px; }
    .landing-faq .faq-body { padding: 16px 0 0; }
    .landing-faq .faq_list { gap: 8px; }
    .landing-faq .faq_item .question a { padding: 14px 18px; font-size: 14px; }
    .landing-faq .faq_item .answer .block { padding: 14px 18px 16px; }
}
