<?php
/**
 * 법무법인 세웅 — lawonk.com 동일 디자인 레이어
 * brown-theme.css(컴포넌트) 위에 로드
 */
@charset "utf-8";

:root {
    --sw-primary: #567898;
    --sw-primary-dark: #456580;
    --sw-primary-light: #6b8fad;
    --sw-dark: #212121;
    --sw-gray: #666666;
    --sw-gray-light: #999999;
    --sw-border: #e5e5e5;
    --sw-bg: #ffffff;
    --sw-bg-soft: #f7f9fb;
    --header-h: 72px;
    --container: 1200px;
    --font: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

/* ===== 기본 ===== */
body {
    font-family: var(--font) !important;
    color: var(--sw-dark);
    background: var(--sw-bg) !important;
}

body:not(.gc-home) {
    padding-top: var(--header-h);
}

body.gc-home {
    padding-top: 0;
}

.gc-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== 헤더 (lawonk 오버레이) ===== */
.gc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    transition: background 0.3s, box-shadow 0.3s;
}

.gc-header-home {
    background: transparent;
    box-shadow: none;
}

.gc-header-home.scrolled,
body.header-scrolled .gc-header-home {
    background: #fff !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06) !important;
}

.gc-header-sub,
.gc-header-sub.scrolled,
body.header-scrolled .gc-header-sub {
    background: #fff !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06) !important;
}

.gc-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: auto;
}

.gc-logo img {
    height: 44px;
    width: auto;
    filter: none !important;
    transition: opacity 0.25s;
}

.gc-logo .logo-dark { display: block; }
.gc-logo .logo-light { display: none; }

.gc-header-home:not(.scrolled) .gc-logo .logo-dark { display: none; }
.gc-header-home:not(.scrolled) .gc-logo .logo-light { display: block; }

.gc-nav-main {
    flex: 1;
    display: flex;
    justify-content: center;
}

.gc-nav-main > ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gc-nav-main > ul > li > a {
    display: block;
    padding: 0 22px;
    height: var(--header-h);
    line-height: var(--header-h);
    font-size: 16px;
    font-weight: 400;
    color: var(--sw-dark);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0;
    transition: color 0.2s;
}

.gc-header-home:not(.scrolled) .gc-nav-main > ul > li > a {
    color: #fff;
}

.gc-nav-main > ul > li > a:hover,
.gc-nav-main > ul > li.is-open > a {
    color: var(--sw-primary);
}

.gc-header-home:not(.scrolled) .gc-nav-main > ul > li > a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.gc-header-home.scrolled .gc-nav-main > ul > li > a,
body.header-scrolled .gc-header-home .gc-nav-main > ul > li > a {
    color: var(--sw-dark);
}

.gc-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    position: static;
}

.gc-header-tel {
    font-size: 14px;
    font-weight: 600;
    color: var(--sw-primary-dark);
    text-decoration: none;
    white-space: nowrap;
}

.gc-header-home:not(.scrolled) .gc-header-tel {
    color: #fff;
}

.gc-header-home.scrolled .gc-header-tel,
body.header-scrolled .gc-header-home .gc-header-tel {
    color: var(--sw-primary-dark);
}

.gc-header-tel i { margin-right: 6px; }

.gc-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.gc-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--sw-dark);
    transition: var(--transition, all 0.3s);
}

.gc-header-home:not(.scrolled) .gc-mobile-toggle span {
    background: #fff;
}

/* 메가메뉴 — lawonk #567898 패널 */
.gc-mega-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--sw-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.28s, transform 0.28s, visibility 0.28s;
}

.gc-header:hover .gc-mega-wrap,
.gc-header.mega-open .gc-mega-wrap {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gc-mega-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 40px;
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.gc-mega-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px 24px;
}

.gc-mega-col h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.gc-mega-col h3 a {
    color: #fff;
    text-decoration: none;
}

.gc-mega-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gc-mega-col li a {
    display: block;
    padding: 6px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: color 0.2s;
}

.gc-mega-col li a:hover {
    color: #fff;
}

.gc-blog-btn {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 110px;
    padding: 14px 18px;
    background: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: transform 0.2s;
}

.gc-blog-btn:hover { transform: translateY(-2px); }
.gc-blog-btn img { width: 52px; height: auto; }
.gc-blog-btn span {
    font-size: 11px;
    font-weight: 700;
    color: #03c75a;
    text-align: center;
    line-height: 1.35;
}

.sw-blog-float {
    position: fixed;
    right: 0;
    top: 200px;
    z-index: 900;
    background: #fff;
    padding: 12px 14px 12px 18px;
    border-radius: 24px 0 0 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.sw-blog-float img { width: 64px; display: block; }

/* ===== 히어로 (lawonk 비주얼) ===== */
.sw-hero {
    position: relative;
    margin-top: 0;
    min-height: 100vh;
    max-height: none;
    overflow: hidden;
    background: #1a2d45;
}

.sw-hero-slider,
.sw-hero-video-wrap {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 560px;
    max-height: 900px;
}

.sw-hero-track { position: relative; width: 100%; height: 100%; }

.sw-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease, visibility 0.9s;
}

.sw-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.sw-hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 7s ease;
}

.sw-hero-slide.is-active .sw-hero-slide-bg { transform: scale(1); }

.sw-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(33, 33, 33, 0.55) 0%, rgba(33, 33, 33, 0.25) 50%, rgba(33, 33, 33, 0.4) 100%);
    z-index: 1;
}

.sw-hero-caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    max-width: var(--container);
    margin: 0 auto;
    padding: calc(var(--header-h) + 40px) 40px 80px;
    color: #fff;
}

.sw-hero-caption--video {
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.sw-hero-caption-left { flex: 0 0 46%; max-width: 520px; }
.sw-hero-caption-right { flex: 0 0 42%; max-width: 460px; }

.sw-hero-label {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.sw-hero-title {
    font-family: var(--font);
    font-size: clamp(26px, 3.8vw, 42px);
    font-weight: 700;
    line-height: 1.45;
    margin: 0;
    word-break: keep-all;
}

.sw-hero-desc {
    font-size: clamp(14px, 1.6vw, 16px);
    font-weight: 300;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 28px;
}

.sw-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    color: #fff;
    font-weight: 400;
    font-size: 15px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    padding-bottom: 4px;
    border-radius: 0;
    transition: border-color 0.2s, opacity 0.2s;
}

.sw-hero-cta:hover {
    color: #fff;
    border-color: #fff;
    opacity: 0.9;
}

.sw-hero-video-iframe,
.sw-hero-video-mp4 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.sw-hero-controls {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
}

.sw-hero-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    color: #fff;
    border-radius: 0;
    cursor: pointer;
    font-size: 12px;
}

.sw-hero-arrow:hover { background: rgba(255, 255, 255, 0.15); }

.sw-hero-dots { display: flex; gap: 6px; }

.sw-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
}

.sw-hero-dot.is-active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* ===== 퀵 네비 (lawonk fltBanner 동일) ===== */
.sw-quick-nav.fltBanner {
    position: relative;
    display: flex;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--sw-border);
    box-shadow: none;
    opacity: 1;
    z-index: 10;
    padding: 0;
    overflow: hidden;
}

.sw-quick-nav.fltBanner a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: #333;
    font-size: 12px;
    text-align: center;
    text-decoration: none;
    padding: 18px 8px;
    border-right: 1px solid #dbdbdb;
    border-bottom: none;
    transition: background 0.2s;
}

.sw-quick-nav.fltBanner a:last-child {
    border-right: 0;
}

.sw-quick-nav.fltBanner a:hover {
    background: var(--sw-bg-soft);
    color: #333;
}

.sw-quick-nav.fltBanner a img {
    display: block;
    width: 35px;
    height: auto;
    margin: 0 auto;
}

.sw-quick-nav.fltBanner a span {
    display: block;
    padding: 8px 0 0;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--sw-dark);
}

.sw-quick-nav.fltBanner .fltBanner1 img,
.sw-quick-nav.fltBanner .fltBanner2 img,
.sw-quick-nav.fltBanner .fltBanner3 img {
    width: 35px;
}

/* ===== 메인 섹션 배경 리듬 ===== */
.sw-quick-nav.fltBanner {
    background: #fff;
    border-bottom: 1px solid #dce3ea;
}

.sw-intro-band {
    background: #e4ecf3 !important;
    border-top: 1px solid #d5dfe8;
    border-bottom: 1px solid #d5dfe8;
    padding: 100px 0;
    text-align: center;
}

.gc-about {
    background: #fff !important;
}

.gc-stats {
    display: block !important;
    background: #567898 !important;
    padding: 72px 0 !important;
    border-top: none;
    border-bottom: none;
}

.gc-stats .gc-stat-item {
    background: transparent !important;
    color: #fff !important;
}

.gc-stats .gc-stat-item:hover {
    background: rgba(255, 255, 255, 0.06) !important;
}

.gc-stats .gc-stat-number {
    color: #fff !important;
}

.gc-stats .gc-stat-label {
    color: rgba(255, 255, 255, 0.82) !important;
}

.sw-areas-section {
    background: #f2f5f9 !important;
    border-top: 1px solid #dde4ec;
    border-bottom: 1px solid #dde4ec;
}

.gc-section.gc-services,
.gc-centers-section {
    background: #fff !important;
}

.gc-portfolio-section {
    background: #e4ecf3 !important;
    border-top: 1px solid #d5dfe8;
}

.gc-news-section {
    background: #fff !important;
    border-top: 1px solid #dde4ec;
}

.sw-intro-band p {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 300;
    line-height: 1.65;
    color: var(--sw-dark);
    margin: 0;
    word-break: keep-all;
}

.sw-intro-band strong {
    font-weight: 700;
    color: var(--sw-primary);
}

/* ===== 섹션 공통 (lawonk 톤) ===== */
.gc-section {
    padding: 100px 0;
}

.gc-section-subtitle {
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2em !important;
    color: var(--sw-primary) !important;
    text-transform: uppercase;
}

.gc-section-title {
    font-family: var(--font) !important;
    font-weight: 700 !important;
    color: var(--sw-dark) !important;
    line-height: 1.35 !important;
}

.gc-section-header { margin-bottom: 56px !important; }

.gc-btn {
    border-radius: 0 !important;
    padding: 14px 28px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
}

.gc-btn-primary,
.gc-btn-gold {
    background: var(--sw-primary) !important;
    border-color: var(--sw-primary) !important;
    color: #fff !important;
}

.gc-btn-primary:hover,
.gc-btn-gold:hover {
    background: var(--sw-primary-dark) !important;
    border-color: var(--sw-primary-dark) !important;
    color: #fff !important;
}

.gc-btn-outline {
    border-color: var(--sw-primary) !important;
    color: var(--sw-primary) !important;
}

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

/* 소개 */
.gc-about-image {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.gc-about-image::after { display: none !important; }

.gc-about-image img {
    height: 420px !important;
}

.gc-about-text {
    color: var(--sw-gray) !important;
    line-height: 1.9 !important;
}

/* 업무 분야 (lawonk 정사각 오버레이 카드) */
.sw-areas-section {
    padding-bottom: 80px !important;
}

.sw-areas-section .gc-section-header {
    margin-bottom: 48px !important;
}

.sw-areas-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.sw-area-card {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background-color: #dde6ee;
    overflow: hidden;
    text-decoration: none;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    transition: box-shadow 0.4s ease;
}

.sw-area-card:hover {
    transform: none !important;
    box-shadow: 6px 8px 20px rgba(86, 120, 152, 0.2) !important;
    background-color: #dde6ee !important;
}

.sw-area-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: opacity 0.35s ease;
}

.sw-area-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 1;
    transition: opacity 0.35s ease;
}

.sw-area-solid {
    position: absolute;
    inset: 0;
    background-color: #dde6ee;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.sw-area-card:hover .sw-area-bg,
.sw-area-card:hover .sw-area-overlay {
    opacity: 0;
}

.sw-area-card:hover .sw-area-solid {
    opacity: 1;
}

.sw-area-text {
    position: absolute;
    top: 28px;
    left: 24px;
    right: 20px;
    z-index: 3;
}

.sw-area-title {
    display: block;
    font-size: clamp(18px, 1.6vw, 24px);
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    margin-bottom: 14px;
    transition: color 0.35s ease;
}

.sw-area-desc {
    display: block;
    font-size: clamp(12px, 1.1vw, 14px);
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    transition: color 0.35s ease;
}

/* 호버: 연한 브랜드 단색 + 진한 글자 (흰색 사용 안 함) */
.sw-area-card:hover .sw-area-title {
    color: #212121;
}

.sw-area-card:hover .sw-area-desc {
    color: #567898;
}

/* 오른쪽 아래 모서리 들림 */
.sw-area-peel {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40px;
    height: 40px;
    z-index: 5;
    pointer-events: none;
}

/* 들린 면 아래 그림자 */
.sw-area-peel::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent transparent #8fa8b8 transparent;
    border-width: 0 0 0 0;
    opacity: 0;
    transition: border-width 0.45s cubic-bezier(0.34, 1.25, 0.64, 1),
                opacity 0.35s ease;
    filter: drop-shadow(-2px -2px 4px rgba(0, 0, 0, 0.15));
}

/* 들려 올라가는 모서리 */
.sw-area-peel::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(225deg, #e8f0f6 0%, #c5d4e0 55%, #b0c4d4 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    transform: translate(0, 0);
    transform-origin: bottom right;
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.34, 1.25, 0.64, 1),
                opacity 0.35s ease;
    box-shadow: -3px -3px 8px rgba(86, 120, 152, 0.25);
}

.sw-area-card:hover .sw-area-peel::before {
    border-width: 0 0 34px 34px;
    opacity: 1;
}

.sw-area-card:hover .sw-area-peel::after {
    transform: translate(-7px, -7px);
    opacity: 1;
}

.sw-area-card:hover,
.sw-area-card:hover .sw-area-text,
.sw-area-card:hover .sw-area-title,
.sw-area-card:hover .sw-area-desc {
    text-decoration: none;
}

/* 업무·센터 카드 (전담센터 등) */
.gc-stat-item {
    padding: 20px !important;
    border-radius: 0 !important;
}

.gc-stat-item:hover {
    transform: none !important;
}

.gc-service-card,
.gc-center-card {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 1px solid var(--sw-border) !important;
    background: #fff !important;
}

.gc-service-card:hover,
.gc-center-card:hover {
    border-color: var(--sw-primary) !important;
    box-shadow: 0 8px 24px rgba(86, 120, 152, 0.12) !important;
    transform: translateY(-2px) !important;
}

.gc-area-body h3,
.gc-center-body h3 {
    font-weight: 700;
    color: var(--sw-dark);
}

.gc-service-link {
    color: var(--sw-primary) !important;
    font-size: 13px !important;
}

/* 성공사례 */
.gc-case-card {
    border-radius: 0 !important;
    border: 1px solid var(--sw-border);
    overflow: hidden;
    background: #fff;
}

.gc-case-thumb { aspect-ratio: 16/10; overflow: hidden; }
.gc-case-thumb img { width: 100%; height: 100%; object-fit: cover; }

.gc-case-body { padding: 20px 22px 24px; }
.gc-case-date { font-size: 12px; color: var(--sw-gray-light); }
.gc-case-title { font-size: 16px; font-weight: 600; color: var(--sw-dark); margin: 8px 0; }
.gc-case-link { font-size: 13px; color: var(--sw-primary); }

/* 뉴스 */
.gc-news-col {
    border: 1px solid var(--sw-border);
    padding: 28px 24px;
    background: #fff;
}

.gc-news-col-head h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--sw-dark);
}

.gc-news-more {
    font-size: 13px;
    color: var(--sw-primary);
}

/* CTA */
.gc-cta {
    padding: 120px 0 !important;
    color: #fff !important;
}

.gc-cta-overlay {
    background: linear-gradient(135deg, rgba(86, 120, 152, 0.92), rgba(33, 33, 33, 0.88)) !important;
}

.gc-cta-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
}

.gc-cta-title,
.gc-cta-desc {
    color: #fff !important;
}

.gc-cta-desc {
    opacity: 0.92 !important;
}

.gc-cta .gc-btn-gold {
    background: #fff !important;
    border-color: #fff !important;
    color: var(--sw-primary-dark) !important;
}

.gc-cta .gc-btn-gold:hover {
    background: var(--sw-bg-soft) !important;
    color: var(--sw-dark) !important;
}

.gc-cta .gc-btn-outline-white {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.65) !important;
}

.gc-cta .gc-btn-outline-white:hover {
    background: #fff !important;
    color: var(--sw-primary-dark) !important;
}

/* 푸터 (lawonk 스타일 — 밝은 배경 + #777 텍스트) */
.gc-footer {
    background: #fff !important;
    color: #777 !important;
}

.gc-footer-main {
    padding: 48px 0 36px;
    border-top: 1px solid var(--sw-border);
}

.gc-footer-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-bottom: 24px;
}

.gc-footer-links-row a {
    font-size: 13px;
    color: #777 !important;
    text-decoration: none;
    transition: color 0.2s;
}

.gc-footer-links-row a:hover {
    color: var(--sw-primary) !important;
}

.gc-footer-info-block p {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.75;
    color: #777 !important;
    word-break: keep-all;
}

.gc-footer-info-block a {
    color: #777 !important;
    text-decoration: none;
}

.gc-footer-info-block a:hover {
    color: var(--sw-primary) !important;
}

.gc-footer-bottom {
    background: #f5f5f5 !important;
    border-top: 1px solid #e8e8e8 !important;
    padding: 16px 0 !important;
}

.gc-footer-bottom .gc-container {
    display: block !important;
    text-align: center;
}

.gc-copyright {
    font-size: 12px !important;
    color: #999 !important;
    margin: 0;
}

.gc-copyright strong {
    color: #777 !important;
    font-weight: 600;
}

/* 레거시 푸터 클래스 무력화 */
.gc-footer-top,
.gc-footer-grid,
.gc-footer-policy,
.gc-footer-info {
    display: none !important;
}

/* 서브페이지 헤더 */
.gc-page-header-overlay {
    background: linear-gradient(135deg, rgba(86, 120, 152, 0.9), rgba(33, 33, 33, 0.85)) !important;
}

.gc-page-subtitle {
    color: rgba(255, 255, 255, 0.8) !important;
    letter-spacing: 0.15em;
}

.gc-page-content {
    padding: 80px 0;
}

/* 게시판 */
#bo_list.gc-list,
#bo_gall.gc-gallery,
#bo_v, #bo_w, #bo_vc {
    --gc-primary: #567898;
    --gc-primary-dark: #456580;
    --gc-primary-light: #6b8fad;
    --gc-gold: #567898;
}

body.gc-board .content_area {
    padding-top: 0 !important;
}

/* 모바일 메뉴 */
.gc-mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: #fff;
    z-index: 999;
    overflow-y: auto;
    padding: 16px 20px 80px;
    transform: translateX(100%);
    transition: transform 0.35s;
}

.gc-mobile-menu.active { transform: translateX(0); }
body.menu-open { overflow: hidden; }

.gc-mobile-nav ul { list-style: none; margin: 0; padding: 0; }

.gc-mobile-parent {
    display: block;
    padding: 14px 0;
    font-weight: 600;
    font-size: 15px;
    color: var(--sw-dark);
    border-bottom: 1px solid var(--sw-border);
    text-decoration: none;
}

.gc-mobile-sub {
    display: none;
    padding: 6px 0 14px 12px;
}

.gc-mobile-sub a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: var(--sw-gray);
    text-decoration: none;
}

/* 모바일 하단바 */
.sw-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: #fff;
    border-top: 1px solid var(--sw-border);
}

.sw-mobile-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 4px;
    font-size: 11px;
    color: var(--sw-gray);
    text-decoration: none;
}

.sw-mobile-bar a i { font-size: 18px; color: var(--sw-primary); }

.gc-top-btn {
    background: var(--sw-primary) !important;
    border-radius: 0 !important;
}

@media (max-width: 1200px) {
    .sw-areas-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

@media (max-width: 1100px) {
    .gc-nav-main,
    .gc-mega-wrap { display: none !important; }
    .gc-mobile-toggle { display: flex; }
    .gc-mobile-menu { display: block; }
    .gc-header-tel { display: none; }
    .sw-blog-float { display: none; }
    .sw-mobile-bar { display: flex; }
    body.gc-home,
    body { padding-bottom: 64px; }
}

@media (max-width: 768px) {
    .gc-header-inner,
    .gc-mega-inner,
    .sw-hero-caption,
    .gc-container { padding-left: 20px; padding-right: 20px; }

    .sw-quick-nav.fltBanner a {
        flex-direction: row;
        justify-content: center;
        padding: 14px 10px;
    }

    .sw-quick-nav.fltBanner a img {
        width: 32px;
        margin: 0 6px 0 0;
    }

    .sw-quick-nav.fltBanner a span {
        display: inline-block;
        padding: 0;
        font-size: 12px;
        vertical-align: middle;
    }

    .sw-hero-caption {
        flex-direction: column;
        text-align: left;
        justify-content: flex-end;
        padding-bottom: 100px;
    }

    .sw-hero-caption-left,
    .sw-hero-caption-right {
        flex: 1;
        max-width: 100%;
    }

    .gc-areas-grid {
        grid-template-columns: 1fr !important;
    }

    .sw-areas-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
        gap: 8px;
    }

    .sw-area-text {
        top: 20px;
        left: 16px;
        right: 14px;
    }

    .sw-area-title {
        margin-bottom: 10px;
    }

    .gc-centers-grid {
        grid-template-columns: 1fr !important;
    }

    .gc-about-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .sw-intro-band { padding: 64px 0; }
}

@media (max-width: 480px) {
    .sw-areas-grid {
        grid-template-columns: 1fr;
    }
}

/* brown-theme 레거시 충돌 최종 무효화 */
.gc-hero { display: none !important; }
.gc-mobile-menu {
    top: var(--header-h) !important;
    right: auto !important;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    bottom: 0 !important;
    background: #fff !important;
    padding: 16px 20px 80px !important;
    transform: translateX(100%) !important;
}
.gc-mobile-menu.active {
    right: auto !important;
    transform: translateX(0) !important;
}
.gc-mobile-nav > ul > li > a,
.gc-mobile-parent {
    color: var(--sw-dark) !important;
}
.gc-mobile-sub li a {
    color: var(--sw-gray) !important;
}
