/**
 * 파일명: style.css
 * 파일경로: /home/easyflyc/xn--v69ar42b8joqa.com/assets/css/
 * 기능: 메인 사이트 스타일 (테마: #A4193D + #FFDFB9)
 * 작성일: 2026-03-02
 * 수정일: 2026-03-02
 */

/* ── 기본 ── */
:root {
    --color-primary: #A4193D;
    --color-primary-dark: #8B1534;
    --color-primary-light: #C4264E;
    --color-accent: #FFDFB9;
    --color-accent-dark: #F5D0A0;
    --color-bg: #FFF9F2;
    --color-bg-alt: #FFF3E6;
    --color-bg-warm: #FFDFB9;
    --color-text: #1A1A1A;
    --color-text-light: #484848;
    --color-text-muted: #767676;
    --color-white: #FFFFFF;
    --color-border: #F0E0CC;
    --color-border-light: #F5EBE0;
}

* {
    box-sizing: border-box;
}

body {
    /* 1. 폰트 우선순위: 가변 폰트(Variable)를 최우선으로 설정 */
    font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 
                 system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 
                 sans-serif;

    /* 2. 텍스트 렌더링 최적화 (글자가 깨지거나 거칠게 보이는 현상 방지) */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    word-break: keep-all;      /* 한글 단어가 중간에 끊기지 않게 설정 */

	/* 3. 폰트 크기 및 기본 설정 */
    font-size: 16px;           /* PC 기준 가장 표준적이고 편안한 크기입니다 */
    font-weight: 400;
    line-height: 1.7;          /* 줄 간격을 조금 더 넓혀서 가독성을 높였습니다 */
    letter-spacing: -0.01em;   /* 자간을 너무 줄이지 않아 시원하게 보입니다 */
    word-break: keep-all;      /* 단어 단위로 줄바꿈되어 문장이 깔끔해짐 */
    
    /* 4. 색상 설정 (선택 사항) */
    color: #1A1A1A;            /* 완전한 검정(#000)보다 눈이 훨씬 편안합니다 */
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 700;          /* 제목은 확실히 두껍게 */
    letter-spacing: -0.03em;   /* 제목은 본문보다 자간을 더 줄여야 임팩트가 있습니다 */
    line-height: 1.3;          /* 제목은 줄 간격이 너무 넓으면 흩어져 보입니다 */
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

/* ── 네비게이션 ── */
.nav-main {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--color-primary);
    padding: 0;
    transition: box-shadow 0.2s;
}

.nav-main.scrolled {
    box-shadow: 0 2px 12px rgba(164, 25, 61, 0.1);
}

.nav-main .navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    text-decoration: none;
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-primary);
    border-radius: 8px;
    color: #fff;
}

.brand-icon i {
    width: 20px;
    height: 20px;
}

.brand-text {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.3px;
}

.brand-dot {
    font-weight: 500;
    color: var(--color-text-light);
}

.nav-main .nav-link {
    color: var(--color-text);
    font-weight: 500;
    font-size: 14px;
    padding: 20px 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    transition: color 0.15s;
}

.nav-icon {
    width: 15px;
    height: 15px;
    opacity: 0.5;
}

.nav-main .nav-link.active .nav-icon,
.nav-main .nav-link:hover .nav-icon {
    opacity: 1;
    color: var(--color-primary);
}

.nav-main .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-main .nav-link:hover::after,
.nav-main .nav-link.active::after {
    transform: scaleX(1);
}

.nav-main .dropdown-toggle::after {
    position: static;
    margin-left: 2px;
}

.nav-main .nav-link.active,
.nav-main .nav-link:hover {
    color: var(--color-primary);
    font-weight: 600;
}

.nav-link-cta {
    background: var(--color-accent);
    border-radius: 6px;
    margin: 12px 0 12px 8px;
    padding: 8px 14px !important;
    font-weight: 600 !important;
    color: var(--color-primary) !important;
}

.nav-link-cta::after {
    display: none !important;
}

/* 드롭다운 메뉴 */
.dropdown-menu-custom {
    border: none;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    padding: 8px;
    min-width: 200px;
    margin-top: 0;
}

.dropdown-menu-custom .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.dropdown-menu-custom .dropdown-item:hover,
.dropdown-menu-custom .dropdown-item:focus {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

.dropdown-icon {
    width: 15px;
    height: 15px;
    opacity: 0.5;
}

.dropdown-menu-custom .dropdown-item:hover .dropdown-icon {
    opacity: 1;
    color: var(--color-primary);
}

/* ── 히어로 ── */
.hero-section {
    background: linear-gradient(135deg, var(--color-accent) 0%, #FFE8CC 50%, var(--color-bg) 100%);
    padding: 52px 0 44px;
    text-align: center;
}

.hero-inner {
    max-width: 640px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 30px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.hero-section .hero-desc {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 8px;
    transition: background 0.2s;
}

.btn-hero-primary:hover,
.btn-hero-primary:focus {
    background: var(--color-primary-dark);
    color: #fff;
}

.btn-hero-outline {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 8px;
    border: 1.5px solid var(--color-primary);
    transition: background 0.2s;
}

.btn-hero-outline:hover,
.btn-hero-outline:focus {
    background: #FFF0F3;
    color: var(--color-primary);
}

/* ── 정의 블록 (SEO) ── */
.definition-block {
    background: var(--color-white);
    padding: 28px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.definition-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.definition-desc {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.85;
    margin-bottom: 0;
}

/* ── 섹션 공통 ── */
.section-block {
    padding: 48px 0;
}

.section-block:nth-child(even) {
    background: var(--color-white);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 28px;
}

.section-notice {
    padding: 24px 0;
}

.section-ad {
    padding: 8px 0;
}

.section-ad .adsense-wrap {
    min-height: 280px;
}



/* ── 사이트 안내 배너 ── */
.notice-banner {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px 24px;
    font-size: 13.5px;
    color: var(--color-text-light);
    line-height: 1.8;
}

.notice-icon {
    vertical-align: -3px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* ── 프리미엄 광고 안내 툴팁 ── */
.premium-info-wrap {
    position: relative;
}

.premium-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--color-accent);
    color: var(--color-primary);
    border: 1px solid var(--color-accent-dark);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

.premium-info-btn:hover {
    background: var(--color-accent-dark);
}

.premium-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

.premium-tooltip.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.premium-tooltip-header {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-border-light);
}

.premium-tooltip-body {
    padding: 12px 16px 16px;
}

.premium-tooltip-table {
    width: 100%;
    margin-bottom: 10px;
}

.premium-tooltip-table td {
    padding: 4px 0;
    font-size: 13px;
    color: var(--color-text);
}

.premium-tooltip-table td:last-child {
    text-align: right;
}

.premium-tooltip-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.premium-tooltip-list li {
    font-size: 12px;
    color: var(--color-text-light);
    padding: 2px 0;
    padding-left: 14px;
    position: relative;
}

.premium-tooltip-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.premium-tooltip-cta {
    display: block;
    text-align: center;
    background: var(--color-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
}

.premium-tooltip-cta:hover {
    background: var(--color-primary-dark);
    color: #fff;
}

/* ── 업체 카드 ── */
.biz-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: border-color 0.15s;
}

.biz-card:hover {
    border-color: var(--color-primary);
}

.biz-card.premium {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, #FFF8F2 0%, #FFF0E8 100%);
}

.biz-card.premium .biz-badge {
    display: inline-block;
}

.biz-badge {
    display: none;
    background: var(--color-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: 2px;
}

.biz-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    flex-shrink: 0;
}

.biz-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    flex: 1;
}

.biz-phone a {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
}

.biz-area {
    font-size: 14px;
    color: var(--color-text-light);
}

.biz-website a {
    font-size: 14px;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* ── 페이징 ── */
.pagination .page-link {
    color: var(--color-primary);
    border-color: var(--color-border);
    font-size: 14px;
}

.pagination .page-item.active .page-link {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.pagination .page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(164, 25, 61, 0.15);
}

/* ── 이용 방법 (HowTo) ── */
.howto-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.howto-step {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center;
}

.howto-step-num {
    width: 40px;
    height: 40px;
    margin: 0 auto 14px;
    background: var(--color-accent);
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.howto-step h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.howto-step p {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 0;
    line-height: 1.75;
}

/* ── FAQ 아코디언 ── */
.faq-section {
    background: var(--color-bg-alt);
}

.faq-section .accordion-item {
    background: var(--color-white);
    border: 1px solid var(--color-border) !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.faq-section .accordion-button {
    font-weight: 600;
    font-size: 16px;
    color: var(--color-text);
    background: var(--color-white);
    padding: 18px 20px;
    gap: 12px;
    align-items: center;
}

/* Q 번호 배지 */
.faq-q-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: var(--color-accent);
    color: var(--color-primary);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--color-primary);
    background: #FEF5F7;
    box-shadow: none;
    font-weight: 700;
}

.faq-section .accordion-button:not(.collapsed) .faq-q-num {
    background: var(--color-primary);
    color: #fff;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* 커스텀 +/- 아이콘 */
.faq-section .accordion-button::after {
    background-image: none !important;
    content: '+';
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    color: var(--color-text-muted);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none !important;
    flex-shrink: 0;
}

.faq-section .accordion-button:not(.collapsed)::after {
    content: '−';
    color: var(--color-primary);
    transform: none !important;
}

/* 답변 영역 */
.faq-section .accordion-body {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.85;
    background: #FEF5F7;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 20px 20px 20px;
}

/* A 레이블 배지 */
.faq-a-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    margin-top: 2px;
}

.faq-answer-text {
    flex: 1;
}

/* ── 업체 등록 섹션 ── */
.register-section {
    background: var(--color-bg-alt);
}

.register-split {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

/* 왼쪽 CTA 패널 */
.register-cta-panel {
    background: var(--color-primary);
    flex: 0 0 290px;
    padding: 44px 32px;
    display: flex;
    align-items: flex-start;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.register-cta-inner { width: 100%; }

.register-free-badge {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 18px;
    letter-spacing: 0.4px;
}

.register-cta-title {
    font-size: 19px;
    font-weight: 600;
    color: #fff;
    line-height: 1.45;
    margin-bottom: 10px;
}

.register-cta-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.75;
    margin-bottom: 26px;
}

.register-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.register-benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    padding: 5px 0;
}

.register-benefit-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 2px;
    stroke-width: 2.5;
}

/* 오른쪽 폼 패널 */
.register-form-panel {
    background: #fff;
    flex: 1;
    padding: 36px 40px;
}

.register-form-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.register-section .form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
}

.register-section .form-control,
.register-section .form-select {
    border-color: var(--color-border);
    font-size: 14px;
}

.register-section .form-control:focus,
.register-section .form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(164, 25, 61, 0.1);
}

/* ── 버튼 ── */
.btn-primary-custom {
    background: var(--color-primary);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 6px;
    font-size: 15px;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
    background: var(--color-primary-dark);
    color: #fff;
}

/* ── 광고 영역 ── */
.adsense-wrap {
    max-width: 728px;
    margin: 0 auto;
    text-align: center;
}

.adsense-block {
    background: var(--color-bg-alt);
    border: 1px dashed var(--color-border);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-ad-block {
    background: var(--color-bg-alt);
    border: 1px dashed var(--color-border);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 728px;
    margin: 0 auto;
}

.ad-placeholder-text {
    color: var(--color-text-muted);
    font-size: 12px;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ── 슬라이딩 문의 패널 ── */
.contact-panel {
    position: fixed;
    right: -380px;
    bottom: 0;
    width: 360px;
    max-width: calc(100vw - 20px);
    height: auto;
    max-height: calc(100vh - 80px);
    background: var(--color-white);
    border-radius: 12px 12px 0 0;
    box-shadow: -2px 0 20px rgba(0,0,0,0.12);
    z-index: 1000;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.contact-panel.open {
    right: 10px;
}

.contact-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
}

.contact-panel-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 2px;
    opacity: 0.8;
    display: flex;
}

.contact-panel-close:hover {
    opacity: 1;
}

.contact-panel-body {
    padding: 18px;
    flex: 1;
    overflow-y: auto;
}

.contact-panel-body .form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text);
}

.contact-panel-body .form-control {
    border-color: var(--color-border);
    font-size: 13px;
}

.contact-panel-body .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.15rem rgba(164, 25, 61, 0.1);
}

.contact-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

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

/* ── FAB 그룹 (Scroll to Top + 문의하기) ── */
.fab-group {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 990;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.fab-contact {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(164, 25, 61, 0.3);
    transition: background 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.fab-contact:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 4px 16px rgba(164, 25, 61, 0.4);
}

.fab-contact-label {
    line-height: 1;
}

/* ── Scroll to Top 버튼 ── */
#scrollTopBtn {
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

#scrollTopBtn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollTopBtn:hover {
    transform: translateY(-3px);
}

.scroll-top-bg {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 3px 12px rgba(164, 25, 61, 0.3);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

#scrollTopBtn:hover .scroll-top-bg {
    background: var(--color-primary-dark);
    box-shadow: 0 4px 16px rgba(164, 25, 61, 0.4);
}

.scroll-progress-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.scroll-progress-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.25);
    stroke-width: 3;
}

.scroll-progress-fill {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 113.1;
    stroke-dashoffset: 113.1;
    transition: stroke-dashoffset 0.12s linear;
}

.scroll-top-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    pointer-events: none;
    user-select: none;
}

.scroll-top-arrow {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.95);
    stroke-width: 2.8;
    display: block;
}

#scrollTopBtn:hover .scroll-top-arrow {
    animation: arrowBounce 0.45s ease forwards;
}

@keyframes arrowBounce {
    0%   { transform: translateY(0); }
    35%  { transform: translateY(-4px); }
    65%  { transform: translateY(-1px); }
    100% { transform: translateY(-2px); }
}

.scroll-top-pct {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1;
    letter-spacing: -0.3px;
}

/* ── 푸터 ── */
.site-footer {
    background: #A4193D;
    color: #ffffff;
    padding: 48px 0 0;
    font-size: 13px;
    line-height: 1.8;
    overflow: hidden; /* footer-bottom의 -9999px 음수 마진 오버플로우 방지 */
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-info {
    flex: 1;
}

.footer-brand {
    font-size: 18px;
    font-weight: 700;
    color: #FFDFB9;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.footer-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.85;
    margin-bottom: 10px;
    max-width: 620px;
}

.footer-contact {
    font-size: 13px;
    color: #FFDFB9;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.footer-links a {
    color: #FFDFB9;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 -9999px;
    padding-left: 9999px;
    padding-right: 9999px;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-powered-link {
    color: #FFDFB9;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 223, 185, 0.3);
    transition: color 0.2s;
}

.footer-powered-link:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.footer-admin-link {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.15);
    text-decoration: none;
}

/* ── 푸터 반응형 ── */
@media (max-width: 768px) {
    .site-footer {
        padding: 36px 0 0;
    }

    .footer-inner {
        flex-direction: column;
        gap: 28px;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px 20px;
    }
}



/* ── 콘텐츠 페이지 ── */
.content-body h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 32px 0 12px;
}

.content-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text);
    margin: 24px 0 10px;
}

.content-body p {
    font-size: 15px;
    margin-bottom: 14px;
}

.content-body ul,
.content-body ol {
    padding-left: 20px;
    margin-bottom: 14px;
}

.content-body li {
    font-size: 14px;
    margin-bottom: 4px;
}

/* ── 서비스 지역 체크 ── */
.area-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 4px;
}

.area-check-grid .form-check {
    margin: 0;
}

.area-check-grid .form-check-label {
    font-size: 13px;
}

/* ── 반응형 ── */
@media (max-width: 992px) {
    .nav-main .nav-link {
        padding: 10px 14px;
    }

    .nav-main .nav-link::after {
        display: none;
    }

    .nav-link-cta {
        margin: 4px 0;
        display: inline-flex;
        width: auto;
    }

    .dropdown-menu-custom {
        box-shadow: none;
        border: 1px solid var(--color-border-light);
        margin-top: 0;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 36px 0 28px;
    }

    .hero-section h1 {
        font-size: 24px;
    }

    .hero-section .hero-desc {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .section-block {
        padding: 32px 0;
    }

    .section-title {
        font-size: 19px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .howto-steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .howto-step {
        padding: 20px 18px;
    }

    .biz-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 16px;
    }

    .biz-info {
        gap: 10px;
    }

    .biz-name {
        font-size: 15px;
    }

    .banner-ad-block {
        min-height: 60px;
    }

    .contact-panel {
        width: calc(100vw - 20px);
        right: -100vw;
    }

    .contact-panel.open {
        right: 10px;
    }

    .fab-contact {
        padding: 8px 14px;
        font-size: 12px;
    }

    .premium-tooltip {
        right: auto;
        left: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .brand-icon {
        width: 32px;
        height: 32px;
    }

    .brand-icon i {
        width: 18px;
        height: 18px;
    }

    .brand-text {
        font-size: 16px;
    }
}

/* ── 아티클 페이지 ── */
.article-page {
    padding: 40px 0 60px;
}

.article-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 36px 40px;
}

.article-card h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-lead {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.article-intro {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 32px;
}

.article-section {
    margin-bottom: 36px;
}

.article-section h2 {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.article-section h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 18px;
    margin-bottom: 10px;
}

.article-section > p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.8;
}

.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.7;
}

.article-list li i {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.article-closing {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.8;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border-light);
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.article-back i {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .article-card {
        padding: 24px 20px;
    }

    .article-card h1 {
        font-size: 21px;
    }

    .article-section h2 {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .register-split {
        flex-direction: column;
        border-radius: 10px;
    }

    .register-cta-panel {
        flex: none;
        padding: 28px 24px;
    }

    .register-form-panel {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 21px;
    }

    .notice-banner {
        padding: 14px 16px;
        font-size: 12.5px;
    }

    .area-check-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }
}
