/* ========================================
   새출발솔루션 - 메인 스타일시트
   ======================================== */

/* ── Reset ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ── CSS Variables ── */
:root {
    /* Primary */
    --primary: #1B6BFF;
    --primary-dark: #0A4FD4;
    --primary-light: #E8F0FE;

    /* Secondary */
    --secondary: #00C473;
    --secondary-dark: #00A35E;

    /* Neutral */
    --white: #FFFFFF;
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-500: #868E96;
    --gray-700: #495057;
    --gray-900: #212529;

    /* Accent */
    --accent-gold: #FFB800;
    --accent-red: #FF4757;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-hover: 0 12px 40px rgba(27,107,255,0.15);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transition */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;

    --leading-tight: 1.3;
    --leading-normal: 1.6;
    --leading-relaxed: 1.8;
}

/* ── Base ── */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont,
                 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
                 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    color: var(--gray-700);
    line-height: var(--leading-normal);
    background: #f5f6f8;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: var(--leading-tight);
}

/* ── Layout ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

section.bg-gray {
    background: var(--gray-50);
}

section.bg-primary-light {
    background: var(--primary-light);
}

/* ── Section Title ── */
.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: var(--text-3xl);
    margin-bottom: 12px;
}

.section-title p {
    font-size: var(--text-lg);
    color: var(--gray-500);
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--text-base);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: #fff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-lg {
    padding: 18px 48px;
    font-size: var(--text-lg);
    border-radius: var(--radius-md);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.header .btn-header-cta {
    padding: 10px 24px;
    font-size: var(--text-sm);
    background: transparent;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.7);
}

.header .btn-header-cta:hover {
    background: #fff;
    color: var(--gray-900) !important;
}

.header.scrolled .btn-header-cta {
    background: #063671;
    color: #fff !important;
    border-color: #063671;
}

.header.scrolled .btn-header-cta:hover {
    background: #042a5a;
    border-color: #042a5a;
}

/* ── Cards ── */
.card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-card {
    text-align: center;
    border-top: 3px solid transparent;
    display: block;
}

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

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

.service-card h3 {
    font-size: var(--text-xl);
    margin-bottom: 12px;
}

.service-card p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin-bottom: 20px;
}

.service-card .more {
    color: var(--primary);
    font-weight: 600;
    font-size: var(--text-sm);
}

/* ── Header ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 로고 */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 36px;
}

.logo .logo-dark {
    display: none;
}

.header.scrolled .logo .logo-white {
    display: none;
}

.header.scrolled .logo .logo-dark {
    display: block;
}

.logo-text {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--primary);
}

.header.scrolled .logo-text {
    color: var(--primary);
}

/* GNB */
.gnb {
    display: flex;
    align-items: center;
    gap: 32px;
}

.gnb > a,
.gnb > .dropdown > a {
    font-size: var(--text-base);
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    padding: 8px 0;
}

.header.scrolled .gnb > a,
.header.scrolled .gnb > .dropdown > a {
    color: var(--gray-900);
}

.gnb > a:hover,
.gnb > .dropdown > a:hover {
    color: #063671;
}

.gnb > a.active,
.gnb > .dropdown > a.active {
    color: #063671;
}

/* 드롭다운 */
.gnb .dropdown {
    position: relative;
}

.gnb .dropdown > a i {
    font-size: 10px;
    margin-left: 4px;
}

.gnb .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: -16px;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    min-width: 160px;
    z-index: 100;
}

.gnb .dropdown:hover .dropdown-menu {
    display: block;
}

.gnb .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: var(--text-sm);
    color: var(--gray-700) !important;
    white-space: nowrap;
}

.gnb .dropdown-menu a:hover {
    background: var(--gray-50);
    color: #063671 !important;
}

/* 헤더 우측 */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone {
    font-weight: 700;
    color: #fff;
    font-size: var(--text-sm);
}

.header.scrolled .header-phone {
    color: var(--primary);
}

.header-phone i {
    margin-right: 4px;
}

/* 모바일 헤더 우측 */
.mobile-header-right {
    display: none;
    align-items: center;
    gap: 12px;
}

.mobile-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-900);
    border: 1.5px solid var(--gray-900);
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.mobile-cta-btn:hover {
    background: var(--gray-900);
    color: #fff;
}

/* 햄버거 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

.header.scrolled .hamburger span {
    background: var(--gray-900);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 모바일 메뉴 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    z-index: 999;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 16px 0;
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--gray-900);
    border-bottom: 1px solid var(--gray-200);
}

.mobile-nav a:hover {
    color: var(--primary);
}

/* ── Sub Banner ── */
.sub-banner {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.sub-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55));
}

.sub-banner .content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.sub-banner h2 {
    font-size: var(--text-4xl);
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.sub-banner .breadcrumb {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.8);
}

.sub-banner .breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.sub-banner .breadcrumb a:hover {
    color: #fff;
}

.sub-banner .breadcrumb i {
    font-size: 10px;
    margin: 0 8px;
}

.sub-banner .breadcrumb span.current {
    color: #fff;
    font-weight: 600;
}

/* ── Hero Section (Full-viewport Slider) ── */
.hero-section {
    margin-top: 0;
    padding: 0;
    position: relative;
}

.hero-swiper {
    width: 100%;
    height: 100vh;
    min-height: 600px;
}

.hero-swiper .swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding-top: 28vh;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.35) 100%);
}

.hero-swiper .container {
    width: 100%;
    max-width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    margin: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 700px;
    padding-top: 0;
    text-align: left;
}

.hero-sub {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
}

.hero-content h1 {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 28px;
    color: #fff;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: var(--text-base);
    opacity: 0.75;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

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

.hero-btn-outline:hover {
    background: #fff !important;
    color: var(--primary) !important;
    border-color: #fff !important;
}

/* 히어로 슬라이드 텍스트 애니메이션 */
.hero-swiper .swiper-slide .hero-sub,
.hero-swiper .swiper-slide .hero-content h1,
.hero-swiper .swiper-slide .hero-desc,
.hero-swiper .swiper-slide .hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-swiper .swiper-slide-active .hero-sub {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.hero-swiper .swiper-slide-active .hero-content h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.hero-swiper .swiper-slide-active .hero-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.hero-swiper .swiper-slide-active .hero-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

/* 히어로 하단 컨트롤 바 */
.hero-controls {
    position: absolute;
    bottom: 40px;
    left: 5%;
    z-index: 10;
}

.hero-controls-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-arrow {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-arrow:hover {
    color: #fff;
}

.hero-fraction {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
    font-size: var(--text-sm);
    font-weight: 600;
    font-family: 'Pretendard', sans-serif;
    letter-spacing: 1px;
}

.hero-current {
    font-size: 1.1rem;
    min-width: 24px;
    text-align: right;
}

.hero-total {
    font-size: 1.1rem;
    min-width: 24px;
    opacity: 0.5;
}

.hero-bar {
    display: block;
    width: 120px;
    height: 2px;
    background: rgba(255,255,255,0.25);
    position: relative;
    border-radius: 1px;
    overflow: hidden;
}

.hero-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 1px;
    transition: width 0.3s ease;
}

/* 자동재생 중 프로그레스 바 애니메이션 */
.hero-bar-fill.animating {
    transition: none;
    animation: heroBarProgress 5s linear forwards;
}

@keyframes heroBarProgress {
    from { width: 0%; }
    to { width: 100%; }
}

.hero-pause {
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    margin-left: 4px;
}

.hero-pause:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

/* ── Performance Section (Dark) ── */
.perf-section {
    background: #ebeef2;
    padding: 120px 0;
}

.perf-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.perf-intro {
    position: sticky;
    top: 120px;
}

.perf-label {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 700;
    color: #063671;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.perf-heading {
    font-size: 3.6rem;
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1.3;
    margin-bottom: 28px;
}

.perf-desc {
    font-size: var(--text-base);
    color: var(--gray-500);
    line-height: 2;
}

.perf-list {
    border-top: 1px solid var(--gray-200);
}

.perf-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 48px 0;
    border-bottom: 1px solid var(--gray-200);
}

.perf-number {
    font-size: 5.5rem;
    font-weight: 900;
    color: #063671;
    letter-spacing: -3px;
    line-height: 1;
}

.perf-detail h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.perf-detail p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.7;
}

/* ── Service Section (4-column) ── */
.svc-section {
    padding: 80px 0;
    background: #f5f6f8;
}

.svc-header {
    margin-bottom: 48px;
}

.svc-header h2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1.4;
    margin-bottom: 16px;
}

.svc-header h2 span {
    color: #063671;
}

.svc-header p {
    font-size: var(--text-base);
    color: var(--gray-500);
}

.svc-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.svc-col {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 24px 24px;
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.svc-col:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(27,107,255,0.1);
    border-color: var(--primary);
}

.svc-col__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.svc-col__gif {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.svc-col__head h3 {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--gray-900);
}

.svc-col__tags {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.svc-col__tags span {
    display: block;
    text-align: center;
    padding: 10px 16px;
    background: var(--primary-light);
    color: var(--gray-700);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: background 0.25s ease, color 0.25s ease;
}

.svc-col:hover .svc-col__tags span {
    background: #dce8ff;
}

.svc-col__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    margin-top: 24px;
}

.svc-col__foot p {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.5;
}

.svc-col__foot i {
    font-size: 16px;
    color: var(--primary);
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary);
    border-radius: 50%;
    transition: background 0.25s ease, color 0.25s ease;
}

.svc-col:hover .svc-col__foot i {
    background: var(--primary);
    color: #fff;
}

/* ── Cases Section ── */
/* ── Diff Section (차별점) ── */
.diff-section {
    background: #ebeef2;
    padding: 120px 0;
}

.diff-header {
    text-align: center;
    margin-bottom: 72px;
}

.diff-label {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 700;
    color: #063671;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.diff-header h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1.4;
    margin-bottom: 20px;
}

.diff-header p {
    font-size: var(--text-base);
    color: var(--gray-500);
}

.diff-circles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.diff-circle {
    aspect-ratio: 1;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.diff-circle:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 40px rgba(6,54,113,0.1);
    border-color: #063671;
}

.diff-circle h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.5;
    margin-bottom: 24px;
}

.diff-circle p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.8;
    text-decoration: underline;
    text-decoration-color: var(--gray-200);
    text-underline-offset: 4px;
}

/* ── Services Grid ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ── Stats Section ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
}

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

.stat-item .stat-number {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-item .stat-label {
    font-size: var(--text-sm);
    color: var(--gray-500);
    font-weight: 500;
}

.stat-item .stat-desc {
    font-size: var(--text-xs);
    color: var(--gray-500);
    margin-top: 4px;
}

/* ── Marquee Logo Section ── */
.marquee-section {
    padding: 60px 0;
    background: #f5f6f8;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.marquee-track {
    overflow: hidden;
    position: relative;
}

.marquee-track::before,
.marquee-track::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee-track::before {
    left: 0;
    background: linear-gradient(to right, #f5f6f8, transparent);
}

.marquee-track::after {
    right: 0;
    background: linear-gradient(to left, #f5f6f8, transparent);
}

.marquee-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
}

.marquee-left .marquee-inner {
    animation: marqueeLeft 30s linear infinite;
}

.marquee-right .marquee-inner {
    animation: marqueeRight 30s linear infinite;
}

.marquee-inner img {
    height: 72px;
    width: auto;
    object-fit: contain;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.marquee-inner img:hover {
    opacity: 1;
}

@keyframes marqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ── Closing CTA Banner ── */
.closing-cta {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 160px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.closing-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.closing-content {
    position: relative;
    z-index: 1;
}

.closing-content h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
}

.closing-content p {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 40px;
}

.closing-btn {
    display: inline-block;
    padding: 16px 48px;
    border: 1px solid #fff;
    color: #fff;
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    transition: background 0.3s ease, color 0.3s ease;
}

.closing-btn:hover {
    background: #fff;
    color: var(--gray-900);
}

/* ── 탑버튼 ── */
.btn-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1100;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #063671;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 12px rgba(6, 54, 113, 0.3);
}

.btn-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-top:hover {
    background: #0a4ab8;
    box-shadow: 0 6px 20px rgba(6, 54, 113, 0.4);
}

/* ── Quick Form (상담 페이지용) ── */
.quick-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: var(--text-base);
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #063671;
    box-shadow: 0 0 0 3px rgba(6,54,113,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

/* ── Footer ── */
.footer {
    background: #111;
    color: rgba(255,255,255,0.5);
    padding: 72px 0 0;
}

/* 상단: 로고 + 네비 */
.ft-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ft-logo img {
    height: 26px;
    opacity: 0.9;
}

.ft-nav {
    display: flex;
    gap: 36px;
}

.ft-nav a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
}

.ft-nav a:hover {
    color: #fff;
}

.ft-sns {
    display: flex;
    gap: 12px;
}

.ft-sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ft-sns a:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* 중단: 연락처 3컬럼 */
.ft-contact-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding: 48px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ft-contact-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.ft-contact-item p {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.ft-contact-item .ft-sub {
    color: rgba(255,255,255,0.35);
    font-size: var(--text-xs);
    margin-top: 4px;
}

/* 하단: 법적정보 */
.ft-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 28px 0 36px;
}

.ft-legal-links {
    margin-bottom: 10px;
}

.ft-privacy {
    color: rgba(255,255,255,0.6);
    font-size: var(--text-xs);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 1px;
    transition: color 0.3s ease;
}

.ft-privacy:hover {
    color: #fff;
}

.ft-biz-info {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
}

.ft-biz-info span {
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    letter-spacing: -0.2px;
}

.ft-copy {
    font-size: 11px;
    color: rgba(255,255,255,0.2);
}

/* ── Mobile CTA ── */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 16px;
    z-index: 999;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: var(--text-base);
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(6,54,113,0.35);
    transition: var(--transition);
}

.mobile-cta:hover {
    background: #052d5e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6,54,113,0.45);
}

/* ── Popup ── */
.site-popup {
    position: fixed;
    z-index: 10000;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.site-popup.pos-left { top: 100px; left: 50px; }
.site-popup.pos-center { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.site-popup.pos-right { top: 100px; right: 50px; }

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

.site-popup .popup-close {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: var(--text-sm);
    background: var(--gray-100);
}

.site-popup .popup-close a {
    cursor: pointer;
    color: var(--gray-700);
}

.site-popup .popup-close a:hover {
    color: var(--gray-900);
}

/* ── Badge ── */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: var(--text-xs);
    font-weight: 600;
}

/* ── Pagination ── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 32px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    color: var(--gray-700);
    transition: var(--transition);
}

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

/* ── Consulting Page ── */
/* ── Consulting Page ── */
.consulting-section {
    padding: 100px 0 120px;
    background: #f5f6f8;
}

.consulting-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}

/* 좌측 안내 */
.consulting-info-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #063671;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.consulting-info-heading {
    font-size: 2.4rem;
    font-weight: 800;
    color: #111;
    line-height: 1.4;
    margin-bottom: 20px;
}

.consulting-info-desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

.consulting-contact-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.consulting-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.consulting-contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #063671;
    color: #fff;
    border-radius: 10px;
    font-size: 18px;
    flex-shrink: 0;
}

.consulting-contact-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

.consulting-contact-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.consulting-info-note {
    padding-top: 24px;
    border-top: 1px solid #ddd;
}

.consulting-info-note p {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.7;
}

/* 우측 폼 */
.consulting-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px 44px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.consulting-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid #063671;
}

.consulting-form-wrap .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.consulting-form-wrap .form-group {
    margin-bottom: 16px;
}

.form-group .required {
    color: var(--accent-red);
    margin-left: 2px;
}

.radio-group,
.checkbox-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.radio-group label,
.checkbox-group label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 0;
    user-select: none;
}

.radio-group label:hover,
.checkbox-group label:hover {
    border-color: #063671;
    color: #063671;
}

.radio-group input,
.checkbox-group input {
    display: none;
}

.radio-group input:checked + span,
.radio-group label:has(input:checked),
.checkbox-group label:has(input:checked) {
    background: #063671;
    color: #fff;
    border-color: #063671;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-sm);
    color: var(--gray-700);
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #063671;
}

.consulting-submit-btn {
    width: 100%;
    padding: 16px;
    background: #063671;
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.consulting-submit-btn:hover {
    background: #042a5a;
}

/* ── Greeting Page ── */
/* 배너 tall */
.sub-banner--tall {
    height: 400px;
}

/* 인사말 */
.greeting-wrap {
    padding: 100px 0 120px;
    background: #f7f7f7;
}

.greeting-layout {
    display: grid;
    grid-template-columns: 50% 1fr;
    gap: 80px;
    align-items: center;
}

.greeting-photo img {
    width: 100%;
    display: block;
}

.greeting-text {
    padding: 20px 0;
}

.greeting-title {
    font-size: 2.9rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

.greeting-quote {
    font-size: 1.3rem;
    font-weight: 700;
    color: #063671;
    margin-bottom: 36px;
    line-height: 1.6;
}

.greeting-body {
    font-size: 1.15rem;
    line-height: 2;
    color: #333;
    letter-spacing: -0.2px;
    font-weight: 400;
}

.greeting-body p {
    margin-bottom: 32px;
}

.greeting-body p:last-child {
    margin-bottom: 0;
}

.text-brand {
    color: #063671;
    font-weight: 600;
}

.greeting-sign {
    margin-top: 52px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
    text-align: right;
}

/* 서브배너 어둡게 */
.sub-banner--dark::before {
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.65));
}

/* About CTA 배너 */
.about-cta {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 140px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-cta-sub {
    font-size: var(--text-base);
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}

.about-cta h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 36px;
    line-height: 1.4;
    letter-spacing: -1px;
}

/* 핵심역량 섹션 */
.about-strength {
    padding: 100px 0;
    background: #ebeef2;
}

.strength-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.strength-label {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 700;
    color: #063671;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.strength-heading {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1.35;
    letter-spacing: -1px;
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.strength-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.strength-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(6,54,113,0.08);
    border-color: #063671;
}

.strength-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #063671;
    margin-bottom: 20px;
}

.strength-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.strength-card p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.8;
}

.core-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.value-card {
    text-align: center;
    padding: 32px;
}

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

/* ── Location Page ── */
.location-section {
    padding: 60px 0 80px;
}

.location-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

.map-container {
    width: 100%;
    height: 520px;
    overflow: hidden;
    margin-bottom: 0;
}

.map-container iframe,
.map-container #map {
    width: 100%;
    height: 100%;
}

.location-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 2px solid #111;
}

.location-info-col {
    padding: 32px 0;
}

.location-info-col:first-child {
    padding-right: 40px;
    border-right: 1px solid var(--gray-200);
}

.location-info-col:last-child {
    padding-left: 40px;
}

.location-info-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.location-info-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
}

.location-info-row i {
    color: var(--gray-500);
    width: 20px;
    text-align: center;
    font-size: 16px;
    flex-shrink: 0;
}

/* ── Services Detail ── */
.service-detail-intro {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 40px;
    margin-bottom: 48px;
    border-left: 4px solid var(--primary);
}

.service-detail-intro p {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-detail-card {
    padding: 32px;
}

.service-detail-card .icon {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 16px;
}

.service-detail-card h3 {
    font-size: var(--text-xl);
    margin-bottom: 8px;
}

.service-detail-card p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin-bottom: 8px;
}

.service-detail-card .detail {
    font-size: var(--text-xs);
    color: var(--gray-500);
}

.target-list {
    list-style: none;
    padding: 0;
}

.target-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: var(--text-base);
}

.target-list li i {
    color: var(--secondary);
}

/* ── Cert Table ── */
.cert-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: var(--text-sm);
}

.cert-table th,
.cert-table td {
    padding: 12px 16px;
    text-align: center;
    border: 1px solid var(--gray-200);
}

.cert-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

.cert-table tr:nth-child(even) {
    background: var(--gray-50);
}

/* ── Services Full Card ── */
.service-full-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    padding: 32px;
    margin-bottom: 24px;
    align-items: start;
}

.service-full-card .icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    font-size: 32px;
    color: var(--primary);
}

.service-full-card h3 {
    font-size: var(--text-xl);
    margin-bottom: 8px;
}

.service-full-card p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin-bottom: 12px;
}

.service-full-card .tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.service-full-card .tags span {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: var(--text-xs);
    color: var(--gray-700);
}

.service-full-card .card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: var(--text-sm);
}

/* ── Service Zigzag ── */
.service-zigzag {
    padding: 120px 0 100px;
}

.service-zigzag .container {
    max-width: 1600px;
}

.zigzag-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
    text-decoration: none;
    color: inherit;
}

.zigzag-item:last-child {
    margin-bottom: 0;
}

.zigzag-item--reverse {
    direction: rtl;
}

.zigzag-item--reverse > * {
    direction: ltr;
}

.zigzag-image {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.zigzag-image img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
    transition: transform 0.5s ease;
}

.zigzag-item:hover .zigzag-image img {
    transform: scale(1.03);
}

.zigzag-label {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #063671;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.zigzag-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 24px;
    line-height: 1.3;
}

.zigzag-desc {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 0;
}

.zigzag-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.zigzag-checklist li {
    font-size: 1.05rem;
    color: #333;
    padding: 8px 0;
    font-weight: 500;
}

.zigzag-checklist li i {
    color: #063671;
    margin-right: 10px;
    font-size: 0.9rem;
}

/* ── Process Section ── */
.process-section {
    padding: 100px 0 120px;
    background: #EDF1F5;
}

.process-header {
    margin-bottom: 60px;
}

.process-heading {
    font-size: 2.4rem;
    font-weight: 800;
    color: #111;
    line-height: 1.4;
    margin-bottom: 24px;
}

.process-heading strong {
    color: #063671;
}

.process-sub {
    font-size: 1rem;
    color: #555;
    line-height: 1.9;
    padding-left: 20px;
    border-left: 3px solid #ccc;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.process-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    transition: var(--transition);
}

.process-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.process-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #063671;
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.process-card-top h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
}

.process-card > p {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.7;
}

.process-icon {
    position: absolute;
    right: 28px;
    bottom: 28px;
    width: 48px;
    height: 48px;
}

.process-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ── Service CTA ── */
.service-cta {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    text-align: center;
}

.service-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.service-cta-content {
    position: relative;
    z-index: 1;
}

.service-cta-content h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.service-cta-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
}

.service-cta-btn {
    display: inline-block;
    padding: 16px 48px;
    background: #063671;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
}

.service-cta-btn:hover {
    background: #042a5a;
    transform: translateY(-2px);
}

/* ── Modal ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.modal .modal-icon {
    font-size: 48px;
    color: var(--secondary);
    margin-bottom: 16px;
}

.modal h3 {
    font-size: var(--text-xl);
    margin-bottom: 8px;
}

.modal p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin-bottom: 24px;
}

/* ── Privacy Popup ── */
.privacy-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 10002;
    align-items: center;
    justify-content: center;
}

.privacy-popup.active {
    display: flex;
}

.privacy-content {
    background: #fff;
    border-radius: 12px;
    max-width: 420px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

.privacy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.privacy-header h3 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--gray-900);
}

.privacy-close {
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    font-size: 15px;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.privacy-close:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.privacy-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.privacy-body p {
    font-size: var(--text-sm);
    color: var(--gray-600, #666);
    line-height: 1.7;
}

.privacy-body p strong {
    color: var(--gray-900);
}

.privacy-footer {
    padding: 0 24px 22px;
}

.privacy-confirm {
    display: block;
    width: 100%;
    padding: 11px;
    background: var(--gray-900);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.privacy-confirm:hover {
    background: var(--gray-700);
}
