@font-face {
    font-family: 'Pretendard';
    src: local('Pretendard');
}

html {
    scroll-behavior: smooth;
}

body {
    word-break: keep-all;
}

details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}

.ic { display: inline-flex; flex: none; }
.ic svg { width: 100%; height: 100%; display: block; }

.hero-gradient {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #FDFBF7 0%, #ffffff 100%);
}
.hero-gradient::before,
.hero-gradient::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}
.hero-gradient::before {
    width: 340px;
    height: 340px;
    top: -140px;
    right: -100px;
    background: radial-gradient(circle, rgba(194, 65, 12, 0.16) 0%, transparent 70%);
}
.hero-gradient::after {
    width: 280px;
    height: 280px;
    bottom: -120px;
    left: -80px;
    background: radial-gradient(circle, rgba(156, 107, 18, 0.14) 0%, transparent 70%);
}
.hero-gradient > * {
    position: relative;
    z-index: 1;
}

/* 히어로 배지 */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(194, 65, 12, 0.08);
    border: 1px solid rgba(156, 107, 18, 0.28);
    color: #9C6B12;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.hero-badge svg { width: 14px; height: 14px; flex: none; }

/* 통계/신뢰 칩 */
.stat-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff;
    border: 1px solid #E3E7EE;
    box-shadow: 0 2px 8px rgba(27, 42, 74, 0.06);
    color: #1E2B49;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
}
.stat-chip svg { width: 16px; height: 16px; flex: none; color: #C2410C; }

/* 비포/애프터 */
.ba-wrap { position: relative; }
.ba-figure { transition: transform .35s ease; }
.ba-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.ba-badge-before { background: rgba(27, 42, 74, 0.82); }
.ba-badge-after { background: rgba(194, 65, 12, 0.9); }
.ba-divider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2.75rem;
    height: 2.75rem;
    background: #1B2A4A;
    color: #F4E7C7;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #FDFBF7;
    box-shadow: 0 4px 14px rgba(27, 42, 74, 0.35);
    z-index: 10;
}
.ba-divider svg { width: 18px; height: 18px; }
@media (max-width: 640px) {
    .ba-divider { width: 2.2rem; height: 2.2rem; }
    .ba-divider svg { width: 14px; height: 14px; }
}

/* 서비스 카드 */
.nav-card { position: relative; overflow: hidden; }
.nav-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #C2410C, #9C6B12);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
    z-index: 6;
}
.nav-card:hover::before { transform: scaleX(1); }
.nav-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27,42,74,0) 45%, rgba(27,42,74,0.5) 100%);
    opacity: 0;
    transition: opacity .35s ease;
}
.nav-card:hover .nav-card-overlay { opacity: 1; }
.nav-card-arrow {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 2rem;
    height: 2rem;
    background: #FDFBF7;
    color: #1B2A4A;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(8px);
    transition: all .35s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.nav-card-arrow svg { width: 14px; height: 14px; }
.nav-card:hover .nav-card-arrow { opacity: 1; transform: translateY(0); }

/* FAQ */
.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    color: #C2410C;
}
.faq-icon svg { width: 20px; height: 20px; }
.faq-q-badge, .faq-a-badge {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}
.faq-q-badge { background: #1B2A4A; color: #F4E7C7; }
.faq-a-badge { background: #F4E7C7; color: #9C6B12; margin-right: 8px; }
.faq-item { transition: border-color .25s ease, box-shadow .25s ease; }

/* 공정 타임라인 */
ol.timeline {
    list-style: none;
    counter-reset: step;
    position: relative;
    padding-left: 0;
}
ol.timeline::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, #C2410C, #9C6B12 60%, #E3E7EE);
}
ol.timeline > li {
    counter-increment: step;
    position: relative;
    padding-left: 3rem;
    padding-bottom: 0.25rem;
}
ol.timeline > li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.2rem;
    height: 2.2rem;
    background: #1B2A4A;
    color: #F4E7C7;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 3px 8px rgba(27,42,74,0.25);
    z-index: 1;
}
ol.timeline > li .step-title {
    display: block;
    font-weight: 700;
    color: #9C6B12;
    margin-bottom: 2px;
}

/* 섹션 상단 포인트 라인 */
.section-alt {
    background: #F6F1E7;
    position: relative;
}
.section-alt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #C2410C, #9C6B12);
}

/* CTA 버튼 광택 */
.btn-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #C2410C 0%, #A8390D 100%);
}
.btn-cta::before,
.btn-dark::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg);
    transition: left .6s ease;
}
.btn-cta:hover::before, .btn-dark:hover::before { left: 130%; }
.btn-dark {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1E2B49 0%, #1B2A4A 100%);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
table th, table td {
    border: 1px solid #E3E7EE;
    padding: 0.75rem 1rem;
    text-align: left;
}
table th {
    background: #F6F1E7;
    color: #1B2A4A;
    font-weight: 700;
}
table tr:nth-child(even) td {
    background: #F7F8FA;
}

@media (max-width: 768px) {
    table {
        font-size: 0.82rem;
    }
    table th, table td {
        padding: 0.55rem 0.6rem;
    }
}
