/* ============================================
   헤더
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    border-bottom: 1px solid transparent;
    transition: all 0.25s ease;
}

.site-header.scrolled {
    border-bottom-color: var(--border-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.logo img {
    height: 24px;
}

.header-naver-search {
    display: none;
    align-items: center;
    gap: 8px;
    background-color: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: 100px;
    padding: 9px 18px 9px 8px;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .header-naver-search {
        display: inline-flex;
    }
}

.header-naver-search-logo {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 7px;
    background-color: #03c75a;
    color: #fff;
    font-weight: 900;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    padding: 130px 0 20px 0;
    background: linear-gradient(135deg, #659ffe 0%, #146cfd 32%, #0248fd 66%, #012b98 100%);
    color: #fff;
}

.hero::after {
    content: none;
}

.hero-decor {
    display: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1160px;
}

.hero .eyebrow {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 8px;
}

.hero h1 {
    font-size: 9rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.hero-desc {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 0;
}

.hero-flex {
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: left;
}

.hero-flex-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-flex-text {
    grid-area: text;
    position: relative;
    z-index: 2;
    padding-left: 30px;
    margin-top: 0;
}

.hero-flex-media {
    grid-area: media;
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mascot {
    display: block;
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
}

.hero-badges {
    grid-area: badges;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-left: 30px;
    margin-bottom: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-dark);
    background-color: #fff;
    border: none;
    padding: 14px 26px;
    border-radius: 100px;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.hero-badge i {
    color: var(--primary-color);
}

.hero .btn-primary {
    background-color: #fff;
    color: var(--primary-dark) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero .btn-primary:hover {
    background-color: var(--primary-light);
}

.hero .btn-outline {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.7);
}

.hero .btn-outline:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.24);
    color: #fff !important;
}

/* 상품권 이미지 무한 슬라이드 */
.hero-marquee {
    position: relative;
    z-index: 1;
    width: 60%;
    margin: 32px auto 44px auto;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: max-content;
    margin: 0 auto;
    animation: marquee-scroll 26s linear infinite;
}

.marquee-item {
    flex-shrink: 0;
    height: 110px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.marquee-item img {
    height: 100%;
    width: auto;
    max-width: 230px;
    object-fit: contain;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }

    .counsel-card-icon i,
    .live-dot,
    .naver-search-text strong.typewriter-caret::after,
    .sticky-btn-icon,
    .sticky-kakao::after,
    .kakao-guide-arrow,
    .kakao-guide-toggle,
    .hero h1 {
        animation: none;
    }
}

.hero-notice {
    grid-area: notice;
    display: inline-block;
    justify-self: start;
    margin-left: 30px;
    font-size: 1.2rem;
    line-height: 1.4;
    color: var(--text-muted);
    background-color: #fff;
    border: 1px solid var(--border-color);
    padding: 15px 26px;
    border-radius: 100px;
    max-width: 100%;
    margin-top: 0;
    white-space: nowrap;
}

/* 이전에는 이 pill 전체를 display:flex로 만들고 gap으로 아이콘/텍스트 간격을
   줬는데, flex는 "안내"(링크)와 "는"(뒤 텍스트) 사이에 실제 공백 문자가
   없어도 별개의 flex 아이템으로 취급해 gap만큼 강제로 틈을 벌려버렸습니다.
   (모바일에서는 이미 이 문제를 발견해 display:block으로 바꿔 해결했고,
   PC 버전도 동일한 원인이라 같은 방식으로 고쳤습니다.)
   아이콘 간격은 이제 gap 대신 margin으로 직접 줍니다. */
.hero-notice i {
    color: var(--accent-red);
    margin-right: 8px;
}

.hero-notice a {
    display: inline;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
}

.hero-stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    max-width: 1300px;
    margin: 28px auto 0 auto;
    background-color: #fff;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.hero-stat {
    text-align: center;
    padding: 40px 20px;
    border-right: 1px solid var(--border-color);
}

.hero-stat:last-child {
    border-right: none;
}

.hero-stat .stat-value {
    font-size: 2.1rem;
}

.hero-stat .stat-label {
    font-size: 1.04rem;
}

/* ============================================
   섹션 공통 배경 리듬
   ============================================ */
.faq,
.safety {
    padding: 64px 0;
    background-color: var(--bg-alt);
}

.services {
    padding: 0;
    background-color: var(--bg-alt);
}

.reviews,
.cta-banner,
.live-status-section {
    padding: 64px 0;
}

/* ============================================
   info-card (운영 원칙 / 안전 가이드)
   ============================================ */
.info-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 38px 30px;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.info-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.info-card p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   취급 상품권 (brand-grid)
   ============================================ */
.brands {
    padding: 64px 0;
    background-color: #fff;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1160px;
    margin: 0 auto;
}

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 20px 14px 22px 14px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.brand-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 14px;
}

.brand-card p {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.4;
}

.brand-card-more {
    background-color: var(--bg-alt);
    border-style: dashed;
    justify-content: center;
}

.brand-card-more-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.brand-card-more p {
    color: var(--text-muted);
    font-weight: 600;
}

@media (max-width: 900px) {
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .brand-card {
        padding: 16px 10px 18px 10px;
        border-radius: 14px;
    }

    .brand-card p {
        font-size: 0.85rem;
    }
}

/* ============================================
   service-card
   ============================================ */
.service-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.service-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

.service-mini-icons {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.service-mini-icons img {
    height: 22px;
    width: auto;
    max-width: 48px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background-color: #fff;
    padding: 2px 3px;
}

.card-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.card-link:hover i {
    transform: translateX(3px);
}

/* ============================================
   이용 절차
   ============================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step {
    text-align: center;
    padding: 20px;
    position: relative;
}

.step-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.step-icon img {
    width: 40px;
    height: 40px;
}

.step-time {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color);
    background-color: var(--primary-light);
    padding: 3px 12px;
    border-radius: 100px;
    margin-bottom: 10px;
}

.step-number {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 서비스 섹션 안에 통합된 이용 절차 (핑크 배너 스타일) */
.process-inline {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    padding: 68px 0;
    background-color: var(--primary-color);
}

.process-inline-title {
    text-align: center;
    font-weight: 800;
    font-size: 2.3rem;
    color: #fff;
    margin-bottom: 12px;
}

.process-inline-desc {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 52px;
}

.process-steps.compact .step {
    padding: 0;
}

.process-steps.compact .step-icon {
    width: 106px;
    height: 106px;
    background-color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    margin-bottom: 18px;
}

.process-steps.compact .step-icon img {
    width: 48px;
    height: 48px;
}

.process-steps.compact .step-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.process-steps.compact .step-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

/* 이용 절차 - 세로로 쌓인 큰 STEP 카드 (레퍼런스 벤치마킹: 한눈에 스캔되는 큼직한 단계 표시) */
.process-steps-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}

.process-step-row {
    display: flex;
    align-items: center;
    gap: 24px;
    background-color: #fff;
    border-radius: 20px;
    padding: 26px 30px;
    text-align: left;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
}

.process-step-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    background-color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

.process-step-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step-icon img {
    width: 30px;
    height: 30px;
}

.process-step-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 4px;
}

.process-step-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.process-step-text {
    min-width: 0;
    flex: 1;
}

@media (max-width: 640px) {
    .process-step-row {
        gap: 14px;
        padding: 20px;
        border-radius: 16px;
    }

    .process-step-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .process-step-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .process-step-icon img {
        width: 22px;
        height: 22px;
    }

    .process-step-title {
        font-size: 1.3rem;
    }

    .process-step-desc {
        font-size: 0.88rem;
        min-height: 3em;
    }
}

@media (max-width: 420px) {
    .process-step-row {
        flex-wrap: wrap;
        row-gap: 12px;
    }

    /* 배지는 항상 단독 줄로 먼저 줄바꿈되고, 아이콘과 텍스트는
       (아래 min-width:0 덕분에) 글자 수와 무관하게 항상 같은 줄에
       나란히 붙어 있습니다 - 카드마다 다르게 끊기지 않습니다. */
    .process-step-badge {
        order: -1;
        width: 100%;
        justify-content: flex-start;
    }

    /* 설명 글자 수가 카드마다 달라 1줄/2줄로 갈리는 것과 무관하게
       항상 2줄 높이만큼 자리를 확보해 카드 세로 높이를 통일시킵니다. */
    .process-step-desc {
        min-height: 3em;
    }
}

/* ============================================
   FAQ 아코디언
   ============================================ */
.accordion {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accordion-item {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 26px;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: left;
    color: var(--text-color);
}

.accordion-trigger > span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-trigger i {
    color: var(--text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.accordion-item.open .accordion-trigger i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

@media (max-width: 640px) {
    .accordion-trigger {
        padding: 18px 18px;
        gap: 10px;
        font-size: clamp(0.85rem, 3.8vw, 1.05rem);
        align-items: center;
    }

    .accordion-trigger > span {
        align-items: center;
    }
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.open .accordion-panel {
    max-height: 560px;
}

.accordion-panel p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0 26px 24px 26px;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 640px) {
    .accordion-panel p {
        padding: 0 18px 18px 18px;
        font-size: clamp(0.85rem, 3.8vw, 1.05rem);
    }
}

.faq-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.9rem;
}

.faq-q-badge {
    background-color: var(--primary-color);
    color: #fff;
}

.faq-a-badge {
    background-color: var(--bg-alt);
    color: var(--primary-dark);
    border: 1.5px solid var(--primary-color);
    margin-top: 2px;
}

/* ============================================
   이용 후기 / 이용 현황
   ============================================ */
.review-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 24px;
}

.review-stars {
    color: #ffb400;
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
    color: var(--text-color);
}

.review-name {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-badge {
    font-size: 0.72rem;
    background-color: var(--bg-alt);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 100px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.stats-row.three {
    grid-template-columns: repeat(3, 1fr);
}

.stat-card {
    text-align: center;
    padding: 22px 16px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.94rem;
    color: var(--text-muted);
}

/* ============================================
   고객센터 안내
   ============================================ */
.counsel {
    background-color: #fff;
    padding: 96px 0 0 0;
}

.counsel-inner {
    text-align: center;
}

.counsel-kicker {
    margin-top: -24px;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 1.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.counsel-title {
    font-size: 3.3rem;
}

.counsel-title-badge {
    display: inline-block;
    color: #fff;
    background: linear-gradient(120deg, var(--primary-color), var(--primary-dark));
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 1em;
    font-weight: 900;
    vertical-align: middle;
    margin: 0;
    white-space: nowrap;
}

.counsel-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 760px;
    margin: 0 auto;
}

.counsel-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 52px 34px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.counsel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
}

.counsel-card:hover .counsel-card-icon i {
    animation-play-state: paused;
}

.counsel-card-icon i {
    display: inline-block;
    animation: ctaIconPulse 1.8s ease-in-out infinite;
}

@keyframes ctaIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.22); }
}

.counsel-card-live {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
}

.counsel-card-phone .counsel-card-live {
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.counsel-card-kakao .counsel-card-live {
    background-color: rgba(0, 0, 0, 0.08);
    color: var(--kakao-text);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #2ecc71;
    animation: liveDotPulse 1.6s ease-out infinite;
}

@keyframes liveDotPulse {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.counsel-card-bignum {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.3;
}

.counsel-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1rem;
    margin-top: auto;
}

.counsel-card-phone {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.counsel-card-phone .counsel-card-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.counsel-card.counsel-card-phone h3,
.counsel-card-phone .counsel-card-bignum {
    color: #fff;
}

.counsel-card-phone .counsel-hours {
    color: rgba(255, 255, 255, 0.85);
}

.counsel-card-kakao {
    background-color: var(--kakao-yellow);
    border-color: var(--kakao-yellow);
    color: var(--kakao-text);
}

.counsel-card-kakao .counsel-card-icon {
    background-color: rgba(0, 0, 0, 0.08);
    color: var(--kakao-text);
}

.counsel-card.counsel-card-kakao h3,
.counsel-card-kakao .counsel-card-bignum {
    color: var(--kakao-text);
}

.counsel-card-kakao .counsel-hours {
    color: rgba(25, 22, 0, 0.72);
}

.counsel-card .btn {
    margin-top: auto;
}

.counsel-card-soon {
    border-style: dashed;
    background-color: #fff;
}

.counsel-card-soon .counsel-card-icon {
    background-color: var(--bg-alt);
    color: var(--text-muted);
}

.anti-fraud-banner {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 16px auto 0 auto;
    max-width: 1080px;
    text-align: center;
}

.anti-fraud-banner p {
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 0;
    white-space: nowrap;
}

.anti-fraud-banner .hl {
    color: var(--primary-dark);
    font-weight: 800;
}

.anti-fraud-banner .warn {
    display: inline-block;
    margin-top: 4px;
    font-size: 1.7rem;
    color: var(--accent-red);
    font-weight: 800;
}

@media (max-width: 640px) {
    .anti-fraud-banner p {
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .anti-fraud-banner {
        background: none;
        border: none;
        border-radius: 0;
        padding: 0 8px;
        margin: 16px auto 0 auto;
    }

    .anti-fraud-banner p {
        color: var(--text-color);
        font-weight: 700;
        font-size: clamp(0.7rem, 3.4vw, 1.05rem);
        line-height: 1.5;
        white-space: normal;
        text-align: center;
        margin-bottom: 0;
    }

    .anti-fraud-banner .hl {
        color: var(--primary-dark);
        font-weight: 800;
    }

    /* "사칭에 주의해주세요!" 줄은 글자 수가 훨씬 짧아 여유 폭이 많이 남으므로
       위 문장보다 눈에 띄게 크게 키워도 줄바꿈 없이 안전하게 들어갑니다. */
    .anti-fraud-banner .warn {
        display: inline-block;
        margin-top: 2px;
        font-size: clamp(0.95rem, 4.6vw, 1.3rem);
        color: var(--accent-red);
        font-weight: 800;
    }
}

.counsel-alert {
    max-width: 800px;
    margin: 32px auto 0 auto;
    background-color: var(--primary-light);
    border: 2px solid var(--primary-color);
    border-radius: 18px;
    padding: 26px 30px;
    text-align: center;
}

.counsel-alert-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.5;
}

.counsel-alert-desc {
    font-size: 1.08rem;
    color: var(--text-color);
    line-height: 1.6;
}

@media (max-width: 480px) {
    .counsel-alert {
        padding: 16px 18px;
    }

    .counsel-alert-title {
        font-size: 0.95rem;
    }

    .counsel-alert-desc {
        font-size: 0.85rem;
    }
}

.counsel-warn {
    max-width: 640px;
    margin: 28px auto 0 auto;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-red);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.counsel-warn i {
    margin-top: 4px;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .counsel-warn {
        font-size: 0.92rem;
    }
}

.counsel-warn i {
    margin-top: 2px;
    flex-shrink: 0;
}

.counsel-card-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    margin: 0 auto 20px auto;
}

.counsel-card h3 {
    color: var(--text-color);
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.counsel-hours {
    font-size: 1.02rem;
    color: var(--text-muted);
    margin-bottom: 26px;
}

@media (min-width: 769px) {
    .counsel-cards {
        max-width: 1040px;
        gap: 32px;
    }

    .counsel-card {
        padding: 44px 44px;
        border-radius: 26px;
    }

    .counsel-card-icon {
        width: 82px;
        height: 82px;
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .counsel-card h3 {
        font-size: 2.1rem;
        margin-bottom: 10px;
    }

    .counsel-card-bignum {
        font-size: 2.1rem;
        white-space: nowrap;
        margin-bottom: 8px;
    }

    .counsel-hours {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .counsel-card-cta {
        font-size: 1.15rem;
    }
}

.counsel-note {
    max-width: 640px;
    margin: 24px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
}

.counsel-note i {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.counsel-note span {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .counsel-note {
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .counsel-note span {
        text-align: center;
        width: 100%;
    }
}

/* ============================================
   고객센터 안내 섹션 내 하위 구획 공통
   ============================================ */
.counsel-divider {
    height: 1px;
    background-color: var(--border-color);
    max-width: 620px;
    margin: 48px auto 0 auto;
}

.counsel-subtitle {
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

/* 신뢰 확인 배너 (네이버 검색 유도 - 풀블리드 그린 배경) */
.naver-verify-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 32px;
    padding: 44px 0;
    background-color: #03c75a;
}

.naver-search-pill {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 780px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 100px;
    padding: 22px 32px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.naver-search-pill:hover {
    transform: translateY(-2px);
}

.naver-search-logo {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background-color: #03c75a;
    color: #fff;
    font-weight: 900;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.naver-search-text {
    flex: 1;
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-color);
}

.naver-search-text strong {
    font-weight: 800;
}

.naver-search-text strong.typewriter-caret::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 2px;
    background-color: var(--text-color);
    vertical-align: -0.15em;
    animation: naverCaretBlink 0.8s step-end infinite;
}

@keyframes naverCaretBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.naver-search-pill i {
    flex-shrink: 0;
    color: #03c75a;
    font-size: 1.5rem;
}

@media (max-width: 640px) {
    .naver-verify-banner {
        padding: 28px 0;
    }

    .naver-search-pill {
        padding: 16px 20px;
        gap: 12px;
    }

    .naver-search-logo {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .naver-search-text {
        font-size: clamp(0.8rem, 4vw, 1.02rem);
    }

    .naver-search-pill i {
        font-size: 1.2rem;
    }
}

/* 카카오톡 친구추가 방법 - 풀블리드 하이라이트 배경 (레퍼런스 벤치마킹: 눈에 띄는 색블록 처리) */
#kakao-guide {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    padding: 64px 0;
    background-color: var(--kakao-yellow);
}

#kakao-guide .eyebrow {
    color: var(--kakao-text);
}

#kakao-guide .section-desc {
    color: rgba(25, 22, 0, 0.72);
}

#kakao-guide .kakao-guide-toggle {
    background-color: #fff;
}

@media (max-width: 768px) {
    #kakao-guide {
        margin-top: 0;
        padding: 32px 0 44px 0;
    }

    #kakao-guide .section-desc {
        font-size: clamp(0.8rem, 4vw, 1rem);
    }

    .brand-desc-note {
        display: block;
        margin-top: 4px;
        white-space: nowrap;
        font-size: 0.85rem;
    }

}

.br-mobile {
    display: none;
}

@media (max-width: 768px) {
    .br-mobile {
        display: inline;
    }
}

/* ============================================
   실시간 현황 + 고객 후기 2열 레이아웃
   ============================================ */
.status-review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
    max-width: 1160px;
    margin: 28px auto 0 auto;
}

.status-review-grid .review-relay-card,
.status-review-grid .live-status-card {
    max-width: none;
    margin: 0;
}

@media (max-width: 900px) {
    .status-review-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   상품권 교환 실시간 현황 (레이아웃 초안 / 예시 데이터)
   카드 위젯 + 세로 릴레이(무한 스크롤) 리스트
   ============================================ */
.live-status-card {
    max-width: 900px;
    margin: 32px auto 0 auto;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    padding: 46px;
    text-align: left;
}

.live-status-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.live-status-header-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.live-status-header-text {
    flex: 1;
}

.live-status-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-color);
}

.live-status-subtitle {
    font-size: 1.02rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.live-status-viewport {
    height: 400px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}

.live-status-track {
    /* 이동은 js/main.js의 공용 타이머가 두 트랙(실시간 현황·후기)을
       같은 박자로 동시에 제어합니다. */
    transform: translateY(0%);
}

.live-status-row {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 142px;
    padding: 20px 4px;
    border-bottom: 1px dashed var(--border-color);
    box-sizing: border-box;
}

.live-status-icon-placeholder {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-status-icon-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-status-body {
    flex: 1;
    min-width: 0;
}

.live-status-desc {
    display: block;
    font-size: 1.08rem;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 10px;
}

.live-status-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.live-status-name {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.live-status-status {
    font-size: 0.95rem;
    font-weight: 700;
    color: #16a34a;
    background-color: #dcfce7;
    padding: 8px 18px;
    border-radius: 100px;
}

@media (max-width: 640px) {
    .live-status-card {
        padding: 30px;
    }

    .live-status-row {
        gap: 14px;
        min-height: 124px;
    }

    .live-status-icon-placeholder {
        width: 42px;
        height: 42px;
    }

    .live-status-header {
        gap: 12px;
        margin-bottom: 18px;
    }

    .live-status-header-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .live-status-title {
        font-size: clamp(1.05rem, 4.6vw, 1.3rem);
        white-space: nowrap;
    }

    .live-status-subtitle {
        font-size: clamp(0.72rem, 3.4vw, 0.9rem);
        white-space: normal;
    }

    .live-status-desc {
        font-size: 0.98rem;
    }

    .live-status-name {
        font-size: 0.9rem;
    }

    .live-status-status {
        font-size: 0.82rem;
        padding: 6px 13px;
    }
}

/* 모바일 전용 접기/펼치기 토글 - 데스크톱에서는 숨겨지고 항상 펼쳐진 상태입니다 */
.kakao-guide-toggle {
    display: none;
}

.kakao-guide-collapse {
    max-height: none;
    overflow: visible;
}

#kakao-guide .content {
    max-width: 1360px;
}

.kakao-guide-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    max-width: 1360px;
    margin: 0 auto;
}

.kakao-guide-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--kakao-text);
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: kakaoArrowNudge 1.6s ease-in-out infinite;
}

@keyframes kakaoArrowNudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

@keyframes kakaoArrowNudgeDown {
    0%, 100% { transform: rotate(90deg) translateY(0); }
    50% { transform: rotate(90deg) translateY(4px); }
}

.kakao-guide-item {
    padding: 18px;
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.kakao-guide-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(255, 111, 129, 0.22);
    border-color: var(--primary-color);
}

.kakao-guide-img-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    container-type: inline-size;
    transition: transform 0.35s ease;
}

.kakao-guide-item:hover .kakao-guide-img-wrap {
    transform: scale(1.03);
}

.kakao-guide-item img {
    width: 100%;
    display: block;
}

/* 3단계 이미지 위, 실제 전화번호/이름을 보여주는 안내 박스
   (container query 단위를 사용해 카드 크기와 무관하게 항상 비율대로 커지고,
   두 박스 사이 간격도 항상 일정 비율로 유지되어 겹치지 않습니다) */
.kakao-guide-fill {
    position: absolute;
    left: 8%;
    width: 82%;
    display: flex;
    align-items: center;
    transform: translateY(-50%);
    padding: 7px 16px;
    background-color: #fff;
    border: 1.5px solid var(--accent-red);
    border-radius: 10px;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    pointer-events: none;
    line-height: 1.3;
}

@supports (container-type: inline-size) {
    .kakao-guide-fill {
        padding: clamp(5px, 2.2cqw, 9px) clamp(9px, 4.4cqw, 17px);
        font-size: clamp(12px, 5.4cqw, 19px);
    }
}

.kakao-guide-fill-phone {
    top: 34%;
}

.kakao-guide-fill-name {
    top: 46%;
}

@media (max-width: 900px) {
    .kakao-guide-fill {
        font-size: 0.9rem;
        padding: 6px 13px;
    }
}

@media (max-width: 768px) {
    .kakao-guide-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        max-width: 340px;
        margin: 8px auto 0 auto;
        padding: 14px 20px;
        background-color: #fff;
        border: 1.5px solid var(--primary-color);
        border-radius: 100px;
        color: var(--primary-color);
        font-size: 0.95rem;
        font-weight: 700;
        animation: kakaoToggleGlow 1.4s ease-in-out infinite;
    }

    .kakao-guide-toggle.open {
        animation: none;
        box-shadow: none;
        transform: none;
        background-color: #fff;
    }

    .kakao-guide-toggle i {
        transition: transform 0.25s ease;
    }

    .kakao-guide-toggle.open i {
        transform: rotate(180deg);
    }

    @keyframes kakaoToggleGlow {
        0% {
            box-shadow: 0 0 0 0 rgba(255, 111, 129, 0.55), 0 4px 10px rgba(255, 111, 129, 0.25);
            transform: scale(1);
        }
        60% {
            box-shadow: 0 0 0 14px rgba(255, 111, 129, 0), 0 4px 10px rgba(255, 111, 129, 0.25);
            transform: scale(1.045);
        }
        100% {
            box-shadow: 0 0 0 14px rgba(255, 111, 129, 0), 0 4px 10px rgba(255, 111, 129, 0.25);
            transform: scale(1);
        }
    }

    .kakao-guide-collapse {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .kakao-guide-collapse.open {
        max-height: 3000px;
        padding-top: 20px;
    }

    .kakao-guide-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
        gap: 4px;
    }

    .kakao-guide-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
        margin: 0 auto;
        animation: kakaoArrowNudgeDown 1.6s ease-in-out infinite;
    }

    /* font-size/padding은 @supports (container-type) 블록의 cqw 기반 값이
       카드 실제 폭에 비례해 항상 알맞게 스케일되므로 여기서 고정값으로 덮어쓰지 않습니다. */
}

/* ============================================
   하단 상담 배너 (전화번호 강조 + 카카오톡 상담 CTA)
   ============================================ */
.cta-banner {
    background-color: var(--primary-light);
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-banner-eyebrow {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.cta-banner-phone {
    display: block;
    font-size: 2.9rem;
    font-weight: 800;
    color: var(--accent-red);
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    white-space: nowrap;
}

.cta-banner-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.cta-banner-badge {
    font-size: 1rem;
    color: var(--text-muted);
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 9px;
    padding: 8px 16px;
}

.cta-banner-badge strong {
    color: var(--text-color);
    font-weight: 700;
    margin-left: 4px;
}

.cta-banner-note {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.cta-banner-btns {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: nowrap;
    min-width: 220px;
}

.cta-banner-btn {
    flex-shrink: 0;
    border-radius: 100px;
}

.cta-banner-btns .btn-outline {
    background-color: #fff;
    border-color: #fff;
}

.cta-banner-btns .btn-outline:hover {
    border-color: var(--primary-color);
}

/* ============================================
   고객 후기 (카드 위젯 + 세로 릴레이 무한 스크롤)
   ============================================ */
.review-relay-card {
    max-width: 900px;
    margin: 28px auto 0 auto;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    padding: 46px;
    text-align: left;
}

.review-relay-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.review-relay-header-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.review-relay-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-color);
}

.review-relay-subtitle {
    font-size: 1.02rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.review-relay-viewport {
    height: 400px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}

.review-relay-track {
    /* 이동은 js/main.js의 공용 타이머가 두 트랙(실시간 현황·후기)을
       같은 박자로 동시에 제어합니다. */
    transform: translateY(0%);
}

.review-relay-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 142px;
    padding: 20px 4px;
    border-bottom: 1px dashed var(--border-color);
    box-sizing: border-box;
}

.review-relay-stars {
    color: #f5a623;
    font-size: 0.98rem;
    margin-bottom: 8px;
}

.review-relay-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.08rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 10px;
}

.review-relay-foot {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-relay-name {
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .review-relay-card {
        padding: 30px;
    }

    .review-relay-row {
        min-height: 124px;
    }

    .review-relay-header {
        gap: 12px;
        margin-bottom: 18px;
    }

    .review-relay-header-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .review-relay-title {
        font-size: clamp(1.05rem, 4.6vw, 1.3rem);
        white-space: nowrap;
    }

    .review-relay-subtitle {
        font-size: clamp(0.72rem, 3.4vw, 0.9rem);
        white-space: normal;
    }

    .review-relay-text {
        font-size: 0.98rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: #111114;
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 100px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.footer-logo img {
    height: 32px;
}

/* 미래뱅크는 흰색 워드마크 로고 파일이 따로 없어서, 정사각 아이콘 +
   흰색 텍스트 조합으로 대체합니다. */
.footer-logo-lockup {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-lockup img {
    height: 36px;
    width: 36px;
}

.footer-logo-lockup span {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
}

.footer-links {
    display: flex;
    gap: 24px;
    font-size: 0.98rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-info {
    font-size: 0.92rem;
    line-height: 1.8;
}

.footer-info .copyright {
    color: rgba(255, 255, 255, 0.35);
    margin-top: 4px;
}

/* ============================================
   하단 고정 CTA: 전화 / 카카오톡 상담
   ============================================ */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    height: 66px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.14);
}

.sticky-btn {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 10px;
    font-size: 1.08rem;
    font-weight: 700;
    overflow: hidden;
}

.sticky-btn-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.sticky-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.28);
    animation: ctaIconPulse 1.8s ease-in-out infinite;
}

.sticky-phone {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff !important;
}

.sticky-phone:hover .sticky-btn-icon {
    animation-play-state: paused;
}

.sticky-kakao {
    background-color: var(--kakao-yellow);
    color: var(--kakao-text) !important;
}

.sticky-kakao .sticky-btn-icon {
    background-color: rgba(0, 0, 0, 0.1);
}

.sticky-kakao:hover .sticky-btn-icon {
    animation-play-state: paused;
}

.sticky-kakao::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    animation: stickyShine 3.2s ease-in-out infinite;
}

@keyframes stickyShine {
    0% { left: -60%; }
    35%, 100% { left: 130%; }
}


/* ============================================
   반응형
   ============================================ */
@media (max-width: 900px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .counsel-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .counsel-card {
        padding: 28px 24px;
        border-radius: 18px;
    }

    .counsel-card-live {
        top: 10px;
        right: 10px;
        padding: 4px 9px;
        font-size: 0.68rem;
    }

    .live-dot {
        width: 6px;
        height: 6px;
    }

    .counsel-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .counsel-card h3 {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }

    .counsel-card-bignum {
        font-size: 1.6rem;
        white-space: nowrap;
        margin-bottom: 4px;
    }

    .counsel-hours {
        font-size: 0.9rem;
        margin-bottom: 14px;
    }

    .counsel-card-cta {
        font-size: 0.92rem;
    }

    .hero-marquee {
        width: 75%;
    }

    .marquee-item {
        height: 90px;
        padding: 12px 16px;
    }

    .marquee-item img {
        max-width: 190px;
    }
}

@media (max-width: 768px) {
    .info-card {
        text-align: center;
    }

    .info-card-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .section-title {
        font-size: clamp(1.15rem, 4.9vw, 1.7rem);
        white-space: nowrap;
        letter-spacing: -0.02em;
    }

    .counsel-title-badge {
        padding: 3px 8px;
        border-radius: 6px;
    }

    .counsel-title {
        font-size: clamp(1.35rem, 7.1vw, 2rem) !important;
        white-space: nowrap !important;
    }

    .counsel-kicker {
        font-size: clamp(0.85rem, 4.3vw, 1.1rem);
        white-space: nowrap;
        margin-top: 0;
    }

    .hero {
        padding: 100px 0 28px 0;
    }

    .hero .eyebrow {
        font-size: 1.15rem;
    }

    .hero h1 {
        font-size: 5.6rem;
        line-height: 1;
        letter-spacing: -0.02em;
        white-space: normal;
        margin-bottom: 10px;
    }

    .hero-desc {
        font-size: clamp(0.95rem, 4.6vw, 1.2rem);
        white-space: normal;
    }

    .hero-flex {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "badges"
            "text"
            "media"
            "notice";
        text-align: center;
        gap: 14px;
    }

    .hero-flex-left {
        display: contents;
    }

    .hero-notice {
        justify-self: stretch;
        width: 100%;
        margin-left: 0;
    }

    .hero-flex-text,
    .hero-badges {
        padding-left: 0;
    }

    .hero-flex-text {
        margin-top: 0;
    }

    .hero-mascot {
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-badges {
        justify-content: center;
        gap: 8px;
    }

    .hero-badge {
        font-size: 0.76rem;
        padding: 7px 12px;
    }

    .hero-marquee {
        width: 90%;
        margin: 10px auto 24px auto;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
        mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    }

    .marquee-track {
        gap: 16px;
    }

    .marquee-item {
        height: 70px;
        padding: 10px 14px;
        border-radius: 8px;
    }

    .marquee-item img {
        max-width: 150px;
    }

    /* 줄바꿈 없이 항상 한 줄로 고정 - 화면 폭이 좁아질수록 글자 크기가
       비례해서 작아지도록 clamp()을 320px(가장 좁은 지원 폭) 기준으로
       "이 텍스트가 그 폭에서 한 줄에 다 들어가는 최대 크기"를 역산해서
       설정했습니다. 아이콘도 폰트 크기가 아니라 텍스트에 비례하는 em
       단위로 바꿔서 텍스트가 작아지면 아이콘도 같이 작아집니다. */
    .hero-notice {
        display: block;
        white-space: nowrap;
        text-align: center;
        line-height: 1.55;
        border-radius: 18px;
        padding: 10px 14px;
        margin-top: 20px;
        font-size: clamp(0.62rem, 2.6vw, 0.88rem);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .hero-notice i {
        font-size: 0.85em;
        margin-right: 6px;
        vertical-align: -1px;
    }

    .hero-stats-bar {
        display: none;
    }

    .hero-stat {
        padding: 16px 8px;
    }

    .hero-stat .stat-value {
        font-size: 1.35rem;
    }

    .hero-stat .stat-label {
        font-size: 0.8rem;
    }

    .safety,
    .faq,
    .reviews,
    .cta-banner,
    .live-status-section {
        padding: 44px 0;
    }

    .counsel {
        padding: 44px 0 0 0;
    }

    .services {
        padding: 0;
    }

    .process-inline {
        margin-top: 0;
        padding: 36px 0;
    }

    .process-inline-title {
        font-size: 1.85rem;
    }

    .process-inline-desc {
        font-size: clamp(1.05rem, 5.5vw, 1.35rem);
        margin-bottom: 36px;
    }

    .cta-banner-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cta-banner-info {
        width: 100%;
    }

    .cta-banner-badges {
        justify-content: center;
        width: 100%;
    }

    .cta-banner-badge {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        width: 100%;
        box-sizing: border-box;
        padding: 12px 16px;
        font-size: clamp(0.78rem, 3.8vw, 0.98rem);
        text-align: center;
        white-space: normal;
    }

    .cta-banner-badge-label {
        display: block;
    }

    .cta-banner-badge strong {
        display: block;
        margin-left: 0;
        white-space: nowrap;
    }

    .cta-banner-phone {
        font-size: clamp(1.5rem, 8.5vw, 2.2rem);
    }

    .cta-banner-btns {
        width: 100%;
        flex-direction: column;
    }

    .cta-banner-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .header-cta {
        display: none;
    }

    .header-naver-search {
        font-size: 0.86rem;
        padding: 7px 14px 7px 7px;
    }

    .header-naver-search-logo {
        width: 22px;
        height: 22px;
        font-size: 0.8rem;
    }

    .sticky-cta {
        height: 60px;
        border-radius: 16px 16px 0 0;
    }

    .sticky-btn {
        gap: 7px;
        padding: 0 6px;
        font-size: clamp(0.72rem, 3.6vw, 1rem);
    }

    .sticky-btn-icon {
        width: 28px;
        height: 28px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 8px;
        column-gap: 14px;
        font-size: clamp(0.76rem, 3.6vw, 0.95rem);
    }

    .footer-info {
        font-size: clamp(0.72rem, 3.2vw, 0.88rem);
        line-height: 1.7;
    }

    /* 하단 고정 CTA 바 여백은 body의 padding-bottom이 이미 확보하고 있어서
       푸터 자체의 하단 여백(원래 100px)까지 더해지면 검은 여백이 과도하게 남습니다. */
    .site-footer {
        padding: 40px 0 32px 0;
    }
}

@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 30px 16px;
    }

    .process-steps.compact .step-icon {
        width: 84px;
        height: 84px;
    }

    .process-steps.compact .step-icon img {
        width: 38px;
        height: 38px;
    }

    .stats-row,
    .stats-row.three {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   스크롤 등장 효과 (Fade Up / Fade Down)
   히어로는 첫 화면에서 바로 보여야 하므로 제외하고,
   나머지 섹션은 아래로 스크롤하면 아래에서 위로(Fade Up),
   위로 스크롤해 다시 만나면 위에서 아래로(Fade Down) 서서히 나타납니다.
   box-shadow는 카드 자체의 hover 트랜지션과 겹치지 않도록 함께 명시했습니다.
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.2s ease;
}

.reveal.is-hidden-up {
    transform: translateY(-28px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.2s ease;
}

.reveal-stagger.is-hidden-up > * {
    transform: translateY(-28px);
}

.reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.47s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.54s; }

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================
   팝업 배너: 카카오톡 고객센터 변경 안내
   ============================================ */
.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: rgba(15, 12, 14, 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.popup-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.popup-banner {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background-color: #fff;
    border-radius: 28px;
    padding: 56px 52px 44px 52px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    transform: translateY(16px) scale(0.97);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.popup-overlay.is-visible .popup-banner {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.popup-close:hover {
    background-color: var(--bg-alt);
    color: var(--text-color);
}

.popup-icon {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    font-size: 1.9rem;
}

/* 배경 원만 애니메이션을 걸어 커졌다 작아졌다 하고,
   가운데 삼각형/느낌표 아이콘은 별개 레이어(z-index 위)라 크기 고정됩니다. */
.popup-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: var(--primary-light);
    animation: popupIconPulse 1.4s ease-in-out infinite;
    z-index: 0;
}

.popup-icon i {
    position: relative;
    z-index: 1;
}

@keyframes popupIconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.18);
    }
}

.popup-title {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--text-color);
    margin-bottom: 14px;
}

.popup-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 32px;
}

.popup-desc strong {
    color: var(--primary-dark);
    font-weight: 800;
}

.popup-compare {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}

.popup-compare-item {
    --avatar-size: 188px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 202px;
}

/* 배지가 잘리는 문제 방지: 원형으로 자르는 overflow:hidden은
   .popup-compare-avatar에만 걸어두고, 배지는 그 바깥의 이
   래퍼를 기준으로 위치시켜서 클리핑되지 않게 합니다. */
.popup-compare-avatar-wrap {
    position: relative;
    width: var(--avatar-size);
    height: var(--avatar-size);
}

.popup-compare-avatar {
    position: relative;
    width: 100%;
    height: 100%;
    /* 미래뱅크 로고 자체가 원형(링+m) 아이콘이라 사각형-내접원 계산이
       필요 없습니다 - 원 안에 원이라 모서리 잘림 위험이 없어서,
       약간의 여백만 주고 최대한 크게 보이도록 8%로 설정합니다. */
    padding: 8%;
    box-sizing: border-box;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-compare-item.is-ok .popup-compare-avatar {
    background-color: #fff;
    border: 3px solid #22c55e;
    position: relative;
    z-index: 1;
}

/* 정상 고객센터(O) 쪽에만 초록 그라데이션 광채가 바깥으로 은은하게
   번져나가는 효과를 줘서, 고객이 "찾아야 할 진짜 프로필"을 시각적으로
   각인하게 합니다. 딱딱한 링 대신 부드럽게 퍼지는 느낌만 미미하게. */
.popup-compare-item.is-ok .popup-compare-avatar-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.35) 0%, rgba(34, 197, 94, 0.12) 55%, rgba(34, 197, 94, 0) 75%);
    z-index: 0;
    pointer-events: none;
    animation: popupOkGlow 2.4s ease-in-out infinite;
}

@keyframes popupOkGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.55;
    }
    50% {
        transform: scale(1.35);
        opacity: 0.9;
    }
}

/* about-1.png(아이콘+MODUBANK 글자 포함 원본)를 그대로 사용합니다.
   object-fit:contain + 위쪽 padding 덕분에 잘리는 부분 없이
   이미지 전체(글자 포함)가 원 안에 다 들어옵니다. */
.popup-compare-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.popup-compare-avatar-empty {
    background-color: var(--bg-alt);
    border: 3px dashed #c7c7cc;
    color: #b5b5ba;
    font-size: 3.4rem;
}

.popup-compare-badge {
    position: absolute;
    top: -8px;
    right: 0px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    border: 3.5px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    z-index: 1;
}

.popup-badge-ok {
    background-color: #22c55e;
}

.popup-badge-bad {
    background-color: var(--accent-red);
}

.popup-compare-label {
    margin-top: 12px;
    font-size: 1.08rem;
    font-weight: 700;
}

.popup-compare-item.is-ok .popup-compare-label {
    color: #16a34a;
}

.popup-compare-item.is-bad .popup-compare-label {
    color: var(--accent-red);
}

.popup-cta {
    width: 100%;
    margin-bottom: 16px;
}

/* 버튼 텍스트 양옆 화살표가 안쪽(텍스트 쪽)으로 살짝 튕겨 들어오며
   "여기를 누르세요"라는 느낌을 주는 미세한 유도 애니메이션.
   아이콘 폰트와 한글 텍스트는 기본 line-height가 서로 달라서
   같은 line-height(1)로 맞춰 세로 중심을 일치시킵니다. */
.popup-cta-arrow {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    font-size: 0.85em;
}

.popup-cta-text {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.popup-cta-arrow-left {
    animation: popupCtaArrowLeft 1.3s ease-in-out infinite;
}

.popup-cta-arrow-right {
    animation: popupCtaArrowRight 1.3s ease-in-out infinite;
}

@keyframes popupCtaArrowLeft {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.75;
    }
    50% {
        transform: translateX(5px);
        opacity: 1;
    }
}

@keyframes popupCtaArrowRight {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.75;
    }
    50% {
        transform: translateX(-5px);
        opacity: 1;
    }
}

.popup-hide-today {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
}

.popup-hide-today input {
    width: 15px;
    height: 15px;
    cursor: pointer;
}

@media (max-width: 480px) {
    .popup-banner {
        padding: 32px 22px 24px 22px;
        border-radius: 20px;
    }

    .popup-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .popup-title {
        font-size: clamp(1.15rem, 5.6vw, 1.35rem);
        margin-bottom: 10px;
    }

    .popup-desc {
        font-size: clamp(0.82rem, 3.8vw, 0.92rem);
        margin-bottom: 20px;
    }

    .popup-compare {
        gap: 14px;
        margin-bottom: 20px;
    }

    .popup-compare-item {
        --avatar-size: 100px;
        width: 45%;
        max-width: 150px;
    }

    .popup-compare-avatar-empty {
        font-size: 2rem;
    }

    .popup-compare-label {
        margin-top: 9px;
        font-size: clamp(0.76rem, 3.6vw, 0.95rem);
    }

    .popup-compare-badge {
        top: -6px;
        right: 0px;
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
        border-width: 2.5px;
    }

    .popup-hide-today {
        font-size: clamp(0.76rem, 3.4vw, 0.88rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .popup-overlay,
    .popup-banner {
        transition: none;
    }

    .popup-icon::before {
        animation: none;
    }

    .popup-compare-item.is-ok .popup-compare-avatar-wrap::after {
        animation: none;
        opacity: 0;
    }

    .popup-cta-arrow-left,
    .popup-cta-arrow-right {
        animation: none;
    }
}
