@charset "UTF-8";
/* ===== RESET & ROOT VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #f0f4f9;
    --text-primary: #111827;
    --text-muted: #6b7280;
    --primary-purple: #7e118e;
    --primary-purple-hover: #9434de;
    --light-purple: #f9f0ff;
    --card-bg: #ffffff;
    --card-hover-bg: #fafaff;
    --border-light: rgba(0, 0, 0, 0.1);

    /* Colors from photo */
    --mcst-blue: #1b73da;
    --mcst-blue-hover: #1b73da;
    --mcst-dark-blue: #01376a;
    --purple-banner-bg: #3088ef;
    --card-highlight-bg: #01376a;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    --card-shadow-hover: 0 20px 45px rgba(48, 136, 239, 0.12);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 웹 접근성: 스킵 링크 & 스크린리더 */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 99999;
    padding: 12px 24px;
    background-color: var(--primary-purple);
    color: #ffffff;
    font-weight: 700;
    font-size: 17px;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s ease-in-out;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.skip-link:focus,
.skip-link:focus-visible {
    top: 0;
    outline: 3px solid #f59e0b;
}

/* Typography & Base */
body.photo-layout-theme,
button,
input,
select,
textarea {
    font-family: 'Paperlogy', sans-serif;
}

body.photo-layout-theme {
    background-color: #fff;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: 80px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol,
li {
    list-style: none;
}

button {
    cursor: pointer;
    background: transparent;
    border: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2.5px solid var(--primary-purple) !important;
    outline-offset: 2px !important;
}

.search-field select:focus-visible,
.search-field input:focus-visible {
    outline: none !important;
}

.search-bar-pill:focus-within {
    box-shadow: 0 0 0 3px rgba(126, 17, 142, 0.25), 0 18px 48px rgba(48, 136, 239, 0.22);
}

/* ===== HEADER & NAVIGATION ===== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #fff;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.header-inner {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.logo-text-divider {
    width: 1px;
    height: 18px;
    background-color: #d1d5db;
    margin: 0 2px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .sys-name {
    font-size: 27px;
    font-weight: 600;
    color: #1f2937;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.logo-text .sys-name .purple-text {
    font-weight: 900;
    color: #1f2937;
}

.logo-text .sys-name .sys-strong {
    font-weight: 900;
    color: var(--primary-purple);
}

.gnb>ul {
    display: flex;
    gap: 70px;
    align-items: center;
}

.gnb>ul>li {
    position: relative;
}

.gnb>ul>li>a {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    position: relative;
    padding: 24px 0;
    display: inline-block;
    transition: var(--transition);
}

.gnb>ul>li>a:hover,
.gnb>ul>li>a.active {
    color: var(--primary-purple);
}

.gnb>ul>li>a::after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-purple);
    border-radius: 2px;
    transition: var(--transition);
}

.gnb>ul>li>a:hover::after,
.gnb>ul>li>a.active::after {
    width: 100%;
}

/* ===== 2뎁스 데스크톱 서브메뉴 ===== */
.sub-nav-menu {
    position: absolute;
    top: calc(100% - 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #ffffff;
    min-width: 160px;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s ease-out;
    z-index: 1010;
}

.has-subnav:hover .sub-nav-menu,
.has-subnav:focus-within .sub-nav-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.sub-nav-menu li {
    width: 100%;
}

.sub-nav-menu a {
    display: block;
    padding: 8px 14px;
    font-size: 16.5px;
    font-weight: 600;
    color: #4b5563;
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap;
    text-align: left;
}

.sub-nav-menu a:hover,
.sub-nav-menu a:focus {
    background-color: var(--light-purple);
    color: var(--primary-purple);
    font-weight: 700;
}

.sub-nav-menu a::after {
    display: none !important;
}

.util-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-util {
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    color: #4b5563;
    transition: var(--transition);
}

.btn-util:hover {
    background-color: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
}

.btn-highlight {
    background-color: var(--text-primary);
    color: #ffffff !important;
}

.btn-highlight:hover {
    background-color: #374151;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== V8 HAMBURGER BUTTON & MOBILE GNB ===== */
.v8-hamburger-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(126, 17, 142, 0.08);
    border: 1px solid rgba(126, 17, 142, 0.15);
    color: var(--primary-purple);
    cursor: pointer;
    transition: var(--transition);
    z-index: 100001;
    padding: 0;
    position: relative;
}

.v8-hamburger-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    transition: transform 0.25s ease;
}

.v8-hamburger-btn .icon-menu {
    display: block;
}

.v8-hamburger-btn .icon-close {
    display: none;
}

.v8-hamburger-btn:hover {
    background-color: var(--primary-purple);
    color: #ffffff;
    transform: scale(1.05);
}

#main-header.gnb-open .v8-hamburger-btn {
    background-color: #f3f4f6;
    border-color: #e5e7eb;
    color: #111827;
}

#main-header.gnb-open .v8-hamburger-btn:hover {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    color: #ffffff;
    transform: rotate(90deg);
}

#main-header.gnb-open .v8-hamburger-btn .icon-menu {
    display: none !important;
}

#main-header.gnb-open .v8-hamburger-btn .icon-close {
    display: block !important;
}

.v8-mobile-gnb {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    padding: 24px 24px 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    overflow-y: auto;
}

.mobile-gnb-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 44px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 16px;
}

.mobile-gnb-title {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}

.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#main-header.gnb-open .v8-mobile-gnb {
    transform: translateX(0);
}

#main-header.gnb-open .mobile-menu-backdrop {
    display: block;
    opacity: 1;
}

.v8-mobile-nav>ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.v8-mobile-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.v8-mobile-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    font-size: 18.5px;
    font-weight: 700;
    color: #1f2937;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    min-height: 44px;
}

.v8-mobile-link:hover {
    background-color: #f8fafc;
    color: var(--primary-purple);
}

.v8-mobile-item.open>.v8-mobile-link {
    color: var(--primary-purple);
    font-weight: 800;
}

.mobile-arrow {
    transition: transform 0.25s ease;
    color: #94a3b8;
    flex-shrink: 0;
}

.v8-mobile-item.open .mobile-arrow {
    transform: rotate(180deg);
    color: var(--primary-purple);
}

/* 2뎁스 모바일 서브메뉴 */
.v8-mobile-sub {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 0 8px 12px;
    background-color: transparent;
    margin: 2px 0 4px 10px;
    border-left: 1.5px solid #e2e8f0;
}

.v8-mobile-sub[hidden] {
    display: none;
}

.v8-mobile-sub a {
    display: block;
    padding: 8px 12px;
    font-size: 16.5px;
    font-weight: 500;
    color: #475569;
    border-radius: 4px;
    transition: var(--transition);
}

.v8-mobile-sub a:hover {
    color: var(--primary-purple);
    font-weight: 700;
    background-color: rgba(126, 17, 142, 0.04);
}

.v8-nav-divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.08);
    margin: 12px 0;
}

.v8-nav-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 6px;
}

.v8-btn-login {
    background-color: #f3f4f6;
    color: #1f2937 !important;
    text-align: center;
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: 10px;
    font-size: 16px;
    display: block;
}

.v8-btn-signup {
    background-color: var(--primary-purple);
    color: #ffffff !important;
    text-align: center;
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: 10px;
    font-size: 16px;
    display: block;
}

/* ===== MAIN CONTAINER ===== */
.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* ===== HERO & MAIN SERVICE GRID SECTION ===== */
.hero-grid-section {
    width: 100%;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

/* Left Hero Area: Title + Cards (Span 8) */
.left-hero-area {
    grid-column: span 8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
}

.title-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.title-block .sub-intro {
    font-size: 20px;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.title-block .main-title {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.title-block .main-title span {
    color: var(--primary-purple);
    display: block;
}

.procedure-link {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-purple);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.procedure-link i {
    transition: var(--transition);
}

.procedure-link:hover {
    color: var(--primary-purple-hover);
}

.procedure-link:hover i {
    transform: translateX(5px);
}

/* 6 Cards Grid */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    flex-grow: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-cards-grid>li {
    list-style: none;
    display: flex;
    width: 100%;
}

.service-cards-grid>li>.service-card {
    width: 100%;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    border: 1px solid var(--border-light);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 120px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(92, 27, 196, 0.15);
    background-color: var(--card-hover-bg);
}

.service-card .card-text h3 {
    font-size: 22px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 9px;
}

.service-card .card-text p {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.35;
    word-break: keep-all;
}

.card-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    margin-top: 8px;
    transition: var(--transition);
    flex-shrink: 0;
}

.card-icon-circle svg {
    width: 25px;
    height: 25px;
}

/* Card Icon Circle Colors */
.icon-cyan {
    background-color: #e0f2fe;
    color: #0284c7;
}

.icon-teal {
    background-color: #ccfbf1;
    color: #0f766e;
}

.icon-indigo {
    background-color: #e0e7ff;
    color: #4f46e5;
}

.icon-blue {
    background-color: #dbeafe;
    color: #2563eb;
}

.icon-gray {
    background-color: #f3f4f6;
    color: #4b5563;
}

.icon-white {
    background-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Card 1: Highlighted Accent Card */
.highlighted-accent-card {
    background-color: #9434de !important;
    border: none;
    box-shadow: 0 10px 30px rgba(148, 52, 222, 0.2);
    transition: var(--transition);
}

.highlighted-accent-card:hover {
    transform: scale(1.05) !important;
    background-color: #9434de !important;
    box-shadow: 0 10px 30px rgba(148, 52, 222, 0.2) !important;
}

.highlighted-accent-card .card-text h3 {
    color: #ffffff;
}

.highlighted-accent-card .card-text p {
    color: rgba(255, 255, 255, 0.85);
}

.service-card:hover .card-icon-circle {
    transform: scale(1.1);
}

/* Right Area: Purple Notice Banner (Span 4) */
.right-hero-area {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.purple-notice-banner {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.purple-notice-banner a {
    display: block;
    width: 100%;
    height: 100%;
}

.purple-notice-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.purple-notice-banner:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(92, 27, 196, 0.15);
}

.purple-notice-banner:hover img {
    transform: scale(1.03);
}

/* ===== 배너 Swiper 호환 및 컨트롤 바 (1/2 분수 페이징 + 다크 배지 배경 + 정지/재생 버튼) ===== */
.purple-notice-banner .swiper,
.purple-notice-banner .swiper-container,
.purple-notice-banner .swiper-wrapper,
.purple-notice-banner .swiper-slide {
    width: 100%;
    height: 100%;
}

.purple-notice-banner .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.purple-notice-banner .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 배너 우측 하단 컨트롤 바 */
.banner-control-bar {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #111827;
    border-radius: 100px;
    padding: 4px 8px 4px 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.banner-control-bar:hover {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(255, 255, 255, 0.38);
}

/* 1/2 분수 페이징 넘버 */
.purple-notice-banner .swiper-pagination,
.banner-control-bar .swiper-pagination {
    position: static;
    width: auto;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1;
    letter-spacing: 0.02em;
    user-select: none;
}

.purple-notice-banner .swiper-pagination-current {
    color: #ffffff;
    font-weight: 800;
}

.purple-notice-banner .swiper-pagination-total {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.purple-notice-banner .pagination-divider {
    margin: 0 4px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

/* 배너 자동재생 정지/재생 버튼 */
.banner-autoplay-toggle {
    position: static;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FFF;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    flex-shrink: 0;
}

.banner-autoplay-toggle:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: scale(1.08);
}

.banner-autoplay-toggle svg {
    display: block;
    width: 13px;
    height: 13px;
}

.banner-autoplay-toggle:focus-visible {
    outline: 2px solid #ffffff !important;
    outline-offset: 2px !important;
}

/* ===== SEARCH SECTION ===== */
.search-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-heading {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
}

.search-bar-pill {
    background-color: #ffffff;
    border-radius: 100px;
    padding: 12px 16px 12px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 12px 36px rgba(48, 136, 239, 0.12);
    border: 2px solid var(--primary-purple);
    transition: var(--transition);
}

.search-bar-pill:hover {
    box-shadow: 0 18px 48px rgba(48, 136, 239, 0.22);
    transform: translateY(-2px);
}

.search-field {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-right: 20px;
}

.field-label {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 4px;
    letter-spacing: 0.03em;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    display: none !important;
}

.search-field select {
    display: none;
}

/* 커스텀 셀렉트 트리거 (헤더) */
.custom-select-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    user-select: none;
    padding-right: 24px;
    position: relative;
    font-family: 'Paperlogy', sans-serif;
}

.custom-select-arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid #4b5563;
    border-bottom: 2px solid #4b5563;
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.25s ease;
    pointer-events: none;
}

.select-wrapper.open .custom-select-arrow {
    transform: translateY(-20%) rotate(225deg);
    border-color: var(--primary-purple);
}

/* 커스텀 드롭다운 목록 패널 (PC에서 시원한 패딩과 Paperlogy 폰트 적용) */
.custom-select-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: -12px;
    min-width: calc(100% + 24px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 6px;
    max-height: 280px;
    overflow-y: auto;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.select-wrapper.open .custom-select-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.custom-select-opt {
    padding: 12px 16px;
    font-size: 17px;
    font-weight: 500;
    color: #374151;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: 'Paperlogy', sans-serif;
    word-break: keep-all;
}

.custom-select-opt:hover,
.custom-select-opt.selected,
.custom-select-opt.active-option {
    background-color: var(--light-purple);
    color: var(--primary-purple);
    font-weight: 700;
}

/* 모바일 뷰 (768px 이하) */
@media (max-width: 768px) {
    .select-wrapper>select {
        display: block !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        z-index: 10;
        cursor: pointer;
    }

    .custom-select-panel {
        display: none !important;
    }
}

.search-field input {
    background: transparent;
    border: none;
    color: #111827;
    font-size: 18px;
    font-weight: 500;
    outline: none;
    width: 100%;
}

.search-field input::placeholder {
    color: #525e6f;
}

.divider {
    width: 1px;
    height: 35px;
    background-color: rgba(0, 0, 0, 0.08);
    margin: 0 24px;
}

.btn-search-submit {
    background-color: var(--primary-purple);
    color: #ffffff;
    border: none;
    border-radius: 100px;
    padding: 16px 36px;
    font-size: 18px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-search-submit svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.btn-search-submit:hover {
    background-color: #001f3d;
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ===== CUSTOMER CENTER & FAQ SECTION ===== */
.customer-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.customer-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

/* Left FAQ Section (Span 8) */
.faq-area {
    grid-column: span 8;
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--border-light);
    box-shadow: var(--card-shadow);
}

.faq-area .area-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--bg-main);
    padding-bottom: 16px;
}

.faq-area .area-head h3 {
    font-size: 22px;
    font-weight: 800;
    color: #1f2937;
}

.btn-more-faq {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.btn-more-faq:hover {
    color: var(--primary-purple-hover);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border-bottom: 1px solid #f1f5f9;
    transition: var(--transition);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 12px 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.q-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #0b2240;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 20px;
    margin-right: 16px;
    flex-shrink: 0;
}

.q-text {
    font-size: 20px;
    font-weight: 600;
    color: #374151;
    flex-grow: 1;
    transition: var(--transition);
}

.faq-question:hover .q-text {
    color: var(--primary-purple);
}

.arrow-icon {
    font-size: 16px;
    color: #0b2240;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .arrow-icon {
    transform: rotate(180deg);
    color: var(--primary-purple);
}

.faq-answer[hidden] {
    display: none;
}

.faq-answer {
    display: block;
}

.answer-inner {
    padding: 0 25px 20px 45px;
    font-size: 18px;
    color: #6b7280;
    line-height: 1.6;
}

/* Right Contact Box (Span 4) */
.contact-area {
    grid-column: span 4;
}

.contact-box-card {
    height: 100%;
    background-color: #0b2240;
    border-radius: var(--radius-lg);
    padding: 30px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(11, 34, 64, 0.15);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-box-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(11, 34, 64, 0.25);
}

.contact-box-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
    color: #fff;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 30px;
}

.method-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.method-details {
    display: flex;
    flex-direction: column;
}

.method-details .label {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
}

.method-details .value {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-top: 2px;
}

.method-details .sub-val {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

.contact-footer-btn {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    transition: var(--transition);
}

.contact-footer-btn:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* ===== FOOTER ===== */
#main-footer {
    background-color: #111111;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 0 20px;
    width: 100%;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Family site를 개인정보처리방침과 같은 줄로 이동 - 좌우 양끝 정렬 */
.footer-top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal-links {
    display: flex;
    gap: 28px;
}

.footer-top-nav a {
    font-size: 17.5px;
    font-weight: 700;
    color: #94a3b8;
    transition: var(--transition);
}

.footer-top-nav a:hover {
    color: var(--primary-purple);
}

.footer-top-nav .privacy-policy {
    color: #ffffff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.logo-copyright-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

/* 웹접근성 인증마크(WA) - main.jsp_bk20260828 이식 (2026.09.01), Family site 이동 후 단독 배치 + 사이즈 확대 (2026.09.03) */
.footer-wa-wrap {
    display: flex;
    align-items: center;
    align-self: center;
    /* .footer-content 내에서 세로 가운데 정렬 (2026.09.03) */
}

.footer-wa-mark {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.logo-copyright-wrap p {
    font-size: 15px;
    color: #94a3b8;
}

/* 2026.08.29: footer Family Site - 원본과 동일한 드롭다운 방식. 구 CSS는 #footer로 스코프돼 있어 신규 footer(#main-footer)엔 안 먹혀 새로 정의 */
.footer-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-actions .dropdown {
    position: relative;
    display: inline-block;
}

.footer-actions .dropbtn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    color: #94a3b8;
    background-color: #1e232b;
    cursor: pointer;
    min-width: 180px;
    text-align: left;
    transition: var(--transition);
}

.footer-actions .dropbtn::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;
    transform: rotate(45deg);
    transition: transform 0.25s ease, border-color 0.25s ease;
    margin-left: 12px;
}

.footer-actions .dropbtn:hover,
.footer-actions .dropbtn.active {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.footer-actions .dropbtn:hover::after,
.footer-actions .dropbtn.active::after {
    border-color: #ffffff;
}

.footer-actions .dropbtn.active::after {
    transform: rotate(-135deg);
}

.footer-actions .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #1e232b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    z-index: 5;
    overflow: hidden;
}

.footer-actions .dropdown-content li a {
    display: block;
    padding: 10px 16px;
    font-size: 15px;
    color: #cbd5e1;
}

.footer-actions .dropdown-content li a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom .copyright {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* 1200px 이하: 작은 데스크톱 & 대형 태블릿 가로 */
@media (max-width: 1200px) {
    .logo-text .sys-name {
        font-size: 25px;
    }

    .gnb>ul {
        gap: 20px;
    }

    .gnb>ul>li>a {
        font-size: 19px;
    }

    .title-block .main-title {
        font-size: 34px;
    }

    .service-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .service-card {
        padding: 14px 16px;
    }

    .service-card .card-text h3 {
        font-size: 18.5px;
    }

    .service-card .card-text p {
        font-size: 15px;
    }
}

/* 1024px 이하: 일반 태블릿 & 아이패드 */
@media (max-width: 1024px) {
    .logo-text .sys-name {
        font-size: 23px;
    }

    .gnb,
    .util-menu {
        display: none !important;
    }

    .v8-hamburger-btn {
        display: flex !important;
    }

    .v8-mobile-gnb {
        display: block;
    }

    .header-inner {
        justify-content: space-between !important;
    }

    .grid-layout {
        gap: 24px;
    }

    .left-hero-area {
        grid-column: span 12;
        gap: 16px;
    }

    .service-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .right-hero-area {
        grid-column: span 12;
        width: 100%;
        margin-top: 4px;
    }

    .purple-notice-banner {
        width: 100%;
        max-width: 100%;
        height: 420px;
        aspect-ratio: auto;
        border-radius: var(--radius-md);
    }

    .purple-notice-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }

    .faq-area {
        grid-column: span 12;
    }

    .contact-area {
        grid-column: span 12;
    }
}

/* 768px 이하: 태블릿 세로 및 대형 스마트폰 */
@media (max-width: 768px) {
    body.photo-layout-theme {
        padding-top: 70px;
    }

    #main-header {
        height: 70px;
    }

    .logo-text .sys-name {
        font-size: 22px;
    }

    .logo-img {
        height: 28px;
    }

    .header-inner {
        padding: 0 16px;
    }

    .content-container {
        padding: 24px 16px;
        gap: 36px;
    }

    .title-block .main-title {
        font-size: 28px;
    }

    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .purple-notice-banner {
        width: 100%;
        height: 380px;
        aspect-ratio: auto;
    }

    .search-bar-pill {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 24px;
        gap: 16px;
    }

    .divider {
        display: none;
    }

    .search-field {
        width: 100%;
        padding-right: 0;
    }

    .btn-search-submit {
        width: 100%;
        justify-content: center;
    }

    .contact-box-card {
        padding: 24px 20px;
    }

    .contact-box-card h3 {
        margin-bottom: 14px;
        padding-bottom: 8px;
    }

    .customer-grid {
        gap: 16px;
    }

    .faq-area {
        padding: 20px;
    }

    .faq-question {
        padding: 14px 0;
    }

    .q-badge {
        width: 26px;
        height: 26px;
        font-size: 17px;
        margin-right: 12px;
    }

    .q-text {
        font-size: 18px;
        line-height: 1.4;
    }

    .answer-inner {
        font-size: 16.5px;
        padding: 0 10px 16px 38px;
        line-height: 1.55;
    }

    /* 모바일 푸터 레이아웃 위치 변경 (패밀리사이트와 WA마크 1줄 가로 배치) */
    .footer-inner {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        gap: 20px !important;
        align-items: center !important;
    }

    .footer-top-nav,
    .footer-content {
        display: contents !important;
    }

    /* 1. 개인정보처리방침 / 이용약관 / 찾아오시는 길 */
    .footer-legal-links {
        grid-row: 1 !important;
        grid-column: 1 / -1 !important;
    }

    .footer-top-nav a {
        font-size: 16.5px;
        white-space: nowrap;
    }

    /* 2 & 3. 문체부 로고 + 주소 및 연락처 (2줄 구성) */
    .logo-copyright-wrap {
        grid-row: 2 !important;
        grid-column: 1 / -1 !important;
    }

    /* 4. 웹접근성 인증마크(좌) & 패밀리사이트 셀렉트박스(우) 한 줄 가로 배치 */
    .footer-wa-wrap {
        grid-row: 3 !important;
        grid-column: 1 / 2 !important;
        align-self: center !important;
        justify-self: start !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .footer-actions {
        grid-row: 3 !important;
        grid-column: 2 / 3 !important;
        align-self: center !important;
        justify-self: end !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .footer-actions .dropdown,
    .footer-actions .dropbtn {
        width: auto !important;
        min-width: 150px !important;
    }

    /* 5. Copyright */
    .footer-bottom {
        grid-row: 4 !important;
        grid-column: 1 / -1 !important;
    }

    .footer-wa-wrap {
        justify-content: flex-start;
    }
}

/* 480px 이하: 일반 스마트폰 */
@media (max-width: 480px) {
    .logo-text .sys-name {
        font-size: 20px;
    }

    .logo-img {
        height: 24px;
    }

    .title-block .main-title {
        font-size: 29px;
    }

    .contact-box-card {
        padding: 24px 20px;
    }

    .contact-box-card h3 {
        margin-bottom: 10px;
        padding-bottom: 6px;
        font-size: 20px;
    }

    .service-card {
        padding: 14px 12px;
        min-height: 105px;
    }

    .service-card .card-text h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .service-card .card-text p {
        font-size: 15px;
        line-height: 1.3;
    }

    .card-icon-circle {
        width: 34px;
        height: 34px;
        margin-top: 6px;
    }

    .card-icon-circle svg {
        width: 20px;
        height: 20px;
    }

    /* 모바일 소형 화면 FAQ 폰트 최적화 */
    .q-badge {
        width: 24px;
        height: 24px;
        font-size: 16px;
        margin-right: 10px;
    }

    .q-text {
        font-size: 17px;
        line-height: 1.35;
    }

    .answer-inner {
        font-size: 15.5px;
        padding: 0 4px 14px 34px;
        line-height: 1.5;
    }

    /* 모바일 소형 화면 푸터 메뉴 줄바꿈 방지 */
    .footer-top-nav {
        width: 100%;
    }

    .footer-legal-links {
        gap: 16px;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .footer-top-nav a {
        font-size: 15.5px;
        letter-spacing: -0.02em;
        white-space: nowrap;
    }
}

/* 360px 이하: 초소형 스마트폰 */
@media (max-width: 360px) {
    .footer-legal-links {
        gap: 10px;
    }

    .footer-top-nav a {
        font-size: 14.5px;
        letter-spacing: -0.03em;
    }
}