/* ================================
   Font Face - 더잠실체
================================ */
@font-face {
    font-family: 'TheJamsil';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/TheJamsil1Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'TheJamsil';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/TheJamsil2Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'TheJamsil';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/TheJamsil3Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'TheJamsil';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/TheJamsil4Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'TheJamsil';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/TheJamsil5Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'TheJamsil';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/TheJamsil6ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

/* ================================
   Reset & Base
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

body {
    font-family: 'TheJamsil', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ================================
   Layout
================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 반응형 줄바꿈 */
.mobile-br {
    display: none;
}

.pc-br {
    display: block;
}

.pc-only {
    display: inline;
}

.mobile-only {
    display: none;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.section-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
}

/* ================================
   Header
================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s, box-shadow 0.3s;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100px;
}

.logo {
    position: absolute;
    left: 20px;
}

.header .logo {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.logo img {
    height: 70px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s;
}

.header.scrolled .logo img {
    filter: none;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list a {
    font-size: 1.15rem;
    font-weight: 500;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    transition: color 0.3s;
}

.nav-list a {
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #93c5fd;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
    left: 0;
}

.nav-list a:hover {
    color: #93c5fd;
}

.nav-list a.active {
    color: #93c5fd;
}

.header.scrolled .nav-list a {
    color: #333;
    text-shadow: none;
}

.header.scrolled .nav-list a::after {
    background: #2563eb;
}

.header.scrolled .nav-list a:hover,
.header.scrolled .nav-list a.active {
    color: #2563eb;
}

.header.scrolled .mobile-menu-btn span {
    background: #333;
}

.btn-contact {
    background: #2563eb;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 8px;
    transition: background 0.3s;
}

.btn-contact:hover {
    background: #1d4ed8;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    transition: 0.3s;
}

/* ================================
   Hero Section
================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    text-align: right;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 3px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: fadeInDown 1s ease-out;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

.hero-badge i {
    font-size: 1.1rem;
    color: #ffd700;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
    animation: fadeInDown 1s ease-out 0.2s both;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    line-height: 1.3;
    animation: fadeInDown 1s ease-out 0.4s both;
}

.hero-description {
    font-size: 1.5rem;
    font-weight: 300;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
    margin-top: 10px;
    animation: fadeInDown 1s ease-out 0.6s both;
}

.hero-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 18px 50px;
    background: #2563eb;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: background 0.3s, transform 0.3s;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-btn:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}

/* Text Highlights */
.highlight {
    color: #93c5fd;
    font-weight: 700;
}

.highlight-underline {
    position: relative;
    display: inline-block;
}

.highlight-underline::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    opacity: 0.6;
    z-index: -1;
    animation: underlineExpand 1s ease-out 1s both;
}

.highlight-brand {
    color: #93c5fd;
    font-weight: 500;
}

/* Hero Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

@keyframes underlineExpand {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: fadeIn 1s ease-out 1.2s both;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.scroll-hint:hover i {
    color: rgba(255, 255, 255, 1);
}

.scroll-hint i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* 모바일 전용 스크롤 힌트 - 기본 숨김 */
.scroll-hint-mobile {
    display: none;
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-hint-mobile i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    animation: bounceDown 2s ease-in-out infinite;
}





/* ================================
   Intro Section - 법무법인 소개 (Timeline)
================================ */
.intro {
    background: #f9fafb;
}

.intro-title,
.intro-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.intro-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.intro-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.intro-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.intro-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, #2563eb 0%, #60a5fa 100%);
    transition: height 0.9s ease-out;
}

.intro-timeline.visible::before {
    height: 100%;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
    position: relative;
}

.timeline-item:not(:last-child) {
    border-bottom: none;
}

.timeline-number {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: #fff;
    border: 2px solid #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.timeline-item:hover .timeline-number {
    background: #2563eb;
    color: #fff;
    transform: scale(1.1);
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.4;
}

.timeline-content p {
    font-size: 1.1rem;
    font-weight: 300;
    color: #666;
    line-height: 1.9;
}

.timeline-content p strong {
    color: #2563eb;
    font-weight: 500;
}

/* Timeline Animation */
.timeline-item {
    opacity: 0;
}

.timeline-number {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out, background 0.3s, color 0.3s;
}

.timeline-content {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.timeline-item.visible {
    opacity: 1;
}

.timeline-item.visible .timeline-number {
    opacity: 1;
    transform: scale(1);
}

.timeline-item.visible .timeline-content {
    opacity: 1;
    transform: translateX(0);
}

/* 순차 딜레이: 세로줄(0.9s) 후 시작 */
.timeline-item:nth-child(1) .timeline-number { transition-delay: 0.9s; }
.timeline-item:nth-child(1) .timeline-content { transition-delay: 1.05s; }

.timeline-item:nth-child(2) .timeline-number { transition-delay: 1.25s; }
.timeline-item:nth-child(2) .timeline-content { transition-delay: 1.4s; }

.timeline-item:nth-child(3) .timeline-number { transition-delay: 1.6s; }
.timeline-item:nth-child(3) .timeline-content { transition-delay: 1.75s; }

/* ================================
   About Section - Lawyer List
================================ */
.about {
    background: #fff;
}

.lawyer-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.lawyer-row:not(:last-child) {
    padding-bottom: 60px;
    border-bottom: 1px solid #e5e7eb;
}

.lawyer-row {
    display: flex;
    align-items: center;
    gap: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.lawyer-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.lawyer-photo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.lawyer-photo-wrap .lawyer-name {
    margin-bottom: 0;
}

.lawyer-photo {
    width: 350px;
    height: 400px;
    min-width: 350px;
    background: #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

.lawyer-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lawyer-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1.2rem;
}

.lawyer-info {
    flex: 1;
}

.lawyer-position {
    font-size: 1.2rem;
    font-weight: 400;
    color: #2563eb;
}

.lawyer-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.lawyer-career {
    margin-bottom: 20px;
}

.lawyer-career li {
    font-size: 0.9rem;
    color: #666;
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
}

.lawyer-career li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: #2563eb;
    border-radius: 50%;
    transform: translateY(-50%);
}

.lawyer-blog {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2563eb;
    border: 2px solid #2563eb;
    border-radius: 50px;
    transition: all 0.3s;
}

.lawyer-blog:hover {
    background: #2563eb;
    color: #fff;
}

.lawyer-blog .arrow {
    display: inline-block;
    animation: arrowBounce 1s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* ================================
   Practice Section
================================ */
.practice {
    background: #f9fafb;
}

.practice-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.practice-row {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #fff;
    padding: 35px 40px;
    border-radius: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.3s;
}

.practice-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.practice-row:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.practice-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.practice-icon i {
    font-size: 1.8rem;
    color: #2563eb;
}

.practice-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.practice-content p {
    font-size: 1.05rem;
    font-weight: 300;
    color: #666;
    line-height: 1.7;
}

/* ================================
   Cases Section
================================ */
.cases {
    background: #fff;
}

/* 탭 버튼 */
.cases-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.cases-tab {
    padding: 12px 35px;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    background: #f3f4f6;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.cases-tab:hover {
    background: #e5e7eb;
}

.cases-tab.active {
    background: #2563eb;
    color: #fff;
}

/* 탭 패널 */
.cases-panel {
    display: none;
}

.cases-panel.active {
    display: block;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 숨겨진 카드 */
.case-card.hidden-card {
    display: none;
}

.cases-panel.expanded .case-card.hidden-card {
    display: block;
}

/* 더보기 버튼 */
.cases-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 40px auto 0;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 500;
    color: #2563eb;
    background: #fff;
    border: 2px solid #2563eb;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.cases-more-btn:hover {
    background: #2563eb;
    color: #fff;
}

.cases-more-btn i {
    transition: transform 0.3s;
}

.cases-panel.expanded .cases-more-btn i {
    transform: rotate(180deg);
}

.case-card {
    background: #f9fafb;
    padding: 30px;
    border-radius: 16px;
    border-left: 4px solid #2563eb;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.3s;
}

.case-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.case-category {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff;
    background: #2563eb;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.case-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.case-number {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 5px;
}

.case-result {
    font-size: 1rem;
    font-weight: 700;
    color: #22c55e;
}

/* ================================
   CTA Section
================================ */
.cta {
    position: relative;
    padding: 120px 20px;
    background: url('../images/img/cta.jpg') center/cover no-repeat;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.cta-content p {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.cta-btn {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out 0.4s, transform 0.6s ease-out 0.4s, background 0.3s;
}

.cta.visible h2,
.cta.visible p,
.cta.visible .cta-btn {
    opacity: 1;
    transform: translateY(0);
}

.cta-btn {
    display: inline-block;
    padding: 18px 45px;
    background: #2563eb;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: background 0.3s, transform 0.3s;
}

.cta-btn:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}

/* ================================
   Reviews Section
================================ */
.reviews {
    background: #f9fafb;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 60px;
}

.stat-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s;
}

.stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:nth-child(1) { transition-delay: 0.1s; }
.stat-card:nth-child(2) { transition-delay: 0.2s; }
.stat-card:nth-child(3) { transition-delay: 0.3s; }

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2563eb;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-number span {
    font-size: 2rem;
    font-weight: 600;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
}

.reviews-slider-wrap {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.reviews-slider {
    overflow: hidden;
    position: relative;
}

.review-slide {
    display: none;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.review-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-stars {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 25px;
    letter-spacing: 5px;
}

.review-text {
    font-size: 1.15rem;
    font-weight: 400;
    color: #444;
    line-height: 1.9;
    margin-bottom: 25px;
}

.review-category {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2563eb;
    background: #eff6ff;
    padding: 8px 20px;
    border-radius: 25px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.slider-dot:hover {
    background: #bbb;
}

.slider-dot.active {
    background: #2563eb;
    transform: scale(1.2);
}

/* ================================
   Location Section
================================ */
.location {
    background: #fff;
}

.location-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.location-map {
    background: #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.location-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.location-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.location-item:nth-child(1) { transition-delay: 0.1s; }
.location-item:nth-child(2) { transition-delay: 0.2s; }
.location-item:nth-child(3) { transition-delay: 0.3s; }

.location-icon {
    font-size: 1.5rem;
}

.location-item strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.location-item p {
    font-size: 1rem;
    font-weight: 300;
    color: #666;
}

/* ================================
   Contact Section
================================ */
.contact {
    background: #fff;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-checkbox input {
    width: auto;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    color: #666;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #1d4ed8;
}

/* ================================
   Floating Buttons
================================ */
.floating-btns {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    width: 55px;
    height: 55px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    transition: background 0.3s, transform 0.3s;
    text-decoration: none;
}

.floating-btn:hover {
    transform: translateY(-3px);
}

.floating-btn i {
    font-size: 1.2rem;
    color: #fff;
}

.floating-phone {
    background: #22c55e;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.3s;
}

.floating-phone:hover {
    background: #16a34a;
}

.floating-phone.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-phone.visible:hover {
    transform: translateY(-3px);
}

.floating-contact {
    background: #2563eb;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.3s;
}

.floating-contact:hover {
    background: #1d4ed8;
}

.floating-contact.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-contact.visible:hover {
    transform: translateY(-3px);
}

.floating-top {
    background: #64748b;
    box-shadow: 0 4px 20px rgba(100, 116, 139, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.3s;
}

.floating-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-top:hover {
    background: #475569;
    transform: translateY(-3px);
}

/* ================================
   Footer
================================ */
.footer {
    background: #1a1a1a;
    padding: 60px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-left {}

.footer-logo img {
    height: 45px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.95rem;
    font-weight: 300;
    color: #999;
    line-height: 1.8;
}

.footer-center h4,
.footer-right h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer-center ul,
.footer-right ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-center ul li {
    font-size: 0.9rem;
    font-weight: 300;
    color: #999;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-center ul li i {
    color: #2563eb;
    width: 16px;
}

.footer-right ul li a {
    font-size: 0.9rem;
    font-weight: 300;
    color: #999;
    transition: color 0.3s;
}

.footer-right ul li a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #666;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-links a {
    font-size: 0.85rem;
    color: #666;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links span {
    color: #444;
}

/* ================================
   Responsive
================================ */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        align-items: center;
    }

    .hero-title span {
        font-size: 3rem;
    }

    .practice-grid,
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-timeline::before {
        left: 30px;
    }
    
    .timeline-number {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 1.2rem;
    }
    
    .timeline-item {
        gap: 30px;
    }
    
    .lawyer-row {
        gap: 40px;
    }
    
    .lawyer-photo {
        width: 180px;
        height: 180px;
        min-width: 180px;
    }

    .location-wrap {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        gap: 20px;
    }
    
    .review-slide {
        padding: 30px;
    }
    
    .review-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #000;
        z-index: 999;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        padding-right: 40px;
    }

    .nav.active {
        display: flex;
    }

    .nav .nav-list {
        flex-direction: column;
        gap: 30px;
        text-align: right;
        align-items: flex-end;
    }

    .nav .nav-list li a {
        font-size: 1.5rem;
        color: #fff !important;
        text-shadow: none;
    }

    .nav .nav-list li a:hover {
        color: #2563eb !important;
    }

    .nav .btn-contact {
        background: #2563eb;
        padding: 15px 40px;
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1000;
    }

    .mobile-menu-btn span {
        background: #fff;
    }

    .mobile-menu-btn.active span {
        background: #fff !important;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title span {
        font-size: 2.5rem;
    }

    .hero-text-box {
        padding: 30px;
    }

    .hero-text {
        align-items: center;
        text-align: center;
    }

    .hero-badge {
        align-self: center;
    }

    /* 기존 스크롤 힌트 숨기기 */
    .scroll-hint {
        display: none;
    }

    /* 모바일 전용 스크롤 힌트 */
    .scroll-hint-mobile {
        display: block;
    }

    /* 모바일 전용 줄바꿈 */
    .mobile-br {
        display: block;
    }

    .pc-br {
        display: none;
    }

    .pc-only {
        display: none;
    }

    .mobile-only {
        display: inline;
    }

    /* Hero 모바일 폰트 크기 조정 */
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-badge {
        padding: 8px 16px;
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .hero-badge i {
        font-size: 0.9rem;
    }

    /* 성공사례 모바일 가운데 정렬 */
    .case-card {
        text-align: center;
        border-left: none;
        border-top: 4px solid #2563eb;
    }

    .practice-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .practice-row {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 30px 20px;
    }

    .practice-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .practice-icon i {
        font-size: 1.5rem;
    }

    .practice-content h3 {
        font-size: 1.2rem;
    }

    .practice-content p {
        font-size: 0.95rem;
    }

    /* 모바일에서 성공사례 기본 5개만 표시 */
    .cases-grid .case-card:nth-child(n+6) {
        display: none;
    }

    .cases-panel.expanded .cases-grid .case-card:nth-child(n+6) {
        display: block;
    }

    /* 오시는길 모바일 */
    .location-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .location-icon {
        font-size: 1.3rem;
    }

    .location-item strong {
        font-size: 1rem;
        margin-bottom: 3px;
    }

    .location-item p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* CTA 모바일 */
    .cta-content h2 {
        font-size: 1.8rem;
        white-space: nowrap;
    }

    /* 푸터 모바일 */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-left,
    .footer-center {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-right {
        display: none;
    }

    .footer-center ul,
    .footer-right ul {
        align-items: center;
    }

    .footer-center ul li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-links {
        order: -1;
    }
    
    .intro-timeline::before {
        left: 25px;
    }
    
    .timeline-number {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1rem;
    }
    
    .timeline-item {
        gap: 20px;
        padding: 30px 0;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .lawyer-row {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .lawyer-photo {
        width: 150px;
        height: 150px;
        min-width: 150px;
    }
    
    .lawyer-career li {
        padding-left: 0;
    }
    
    .lawyer-career li::before {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .review-slide {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .floating-contact {
        bottom: 20px;
        right: 20px;
        padding: 15px;
    }
}
