/* index.css - Index page specific styles */

/* --- 1. Hero Section (NO TEXT) --- */
.section-hero {
    width: 100%;
    height: 60vh;
    position: relative;
    overflow: hidden;
}

/* Hero video wrapper: always fill full viewport width */
.section-hero > .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-background,
.placeholder-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-hero video.video-background {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-video {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-size: 1.2rem;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 24, 27, 0.45);
}

/* --- 2. Case Selector --- */
.section-case-selector {
    width: 100%;
    height: auto;
    position: relative;
}

.split-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.split-item {
    flex: 1;
    height: 350px;
    min-height: 350px;
    position: relative;
    border-right: none;
    border-bottom: 1px solid rgba(140, 123, 108, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: flex 0.5s ease;
}

.split-item:last-child {
    border-right: none;
    border-bottom: none;
}

.split-item .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.4) contrast(1.2);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
    z-index: 1;
}

.split-item .content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.split-item h3 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 5px;
    transform: translateY(0);
    transition: transform 0.5s;
}

.split-item .en {
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.7;
}

.split-item:hover .bg-img {
    filter: grayscale(0%) brightness(0.9) contrast(1.1);
    transform: scale(1.03);
    transition-duration: 0.8s;
}

/* --- 3. Success Stories --- */
.section-success {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-main);
    background-image: url('../assets/images/DSC00785.webp');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
    padding: 60px 0;
}

.section-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 24, 27, 0.88);
    z-index: 1;
}

.section-success > * {
    position: relative;
    z-index: 2;
}

.section-content-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
}

.success-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 20px 0;
    min-height: auto;
}

.success-left {
    flex: none;
    width: 100%;
    margin-right: 0;
}

.success-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
}

.section-header {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-right: 20px;
    padding-left: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.success-intro .sub-label {
    display: block;
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.3em;
    margin-bottom: 20px;
    font-weight: 500;
}

.success-intro h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #fff;
    letter-spacing: -0.02em;
    white-space: normal;
}

.intro-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
}

.intro-text strong {
    color: #fff;
    font-weight: 600;
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 400;
    padding: 10px 0;
    border-bottom: 1px solid rgba(140, 123, 108, 0.4);
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    letter-spacing: 0.05em;
}

.btn-view-more:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
    padding-right: 15px;
}

.carousel-footer {
    width: 100%;
    margin-top: 0;
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
}

.carousel-controls {
    display: flex;
    gap: 15px;
}

.slide-btn {
    width: 45px;
    height: 45px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.slide-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.tab-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.2);
    padding: 0 0 15px 0;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    font-size: 0.95rem;
    margin-left: 0;
    margin-right: 25px;
    border-radius: 0;
    letter-spacing: 0.1em;
    position: relative;
    font-weight: 300;
    font-family: var(--font-serif);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.tab-btn.active {
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.tab-btn.active::before {
    display: none;
}

.tab-btn {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}

.tab-btn.active::after {
    width: 100%;
}

.tab-btn:hover:not(.active) {
    color: rgba(255, 255, 255, 0.5);
}

.tab-btn:last-child {
    margin-right: 0;
}

.carousel-container {
    width: 100%;
    max-width: 1200px;
    overflow-x: auto;
    padding: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-right: 0;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 20px;
    padding: 30px 20px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.case-card {
    flex: 0 0 280px;
    height: 400px;
    background: #f9f7f2;
    padding: 0;
    color: #1a1a1a;
    border-radius: 12px;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease, transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.03);
    opacity: 1;
}

.case-card.hiding {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
}

.case-card.showing {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.case-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.4s;
}

.case-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

.case-card:hover::after {
    opacity: 1;
}

.card-inner {
    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.card-header {
    display: none;
}

.category-icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
    opacity: 0.8;
}

.category-icon svg {
    width: 100%;
    height: 100%;
}

.case-no {
    font-size: 0.75rem;
    color: #999;
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
    font-weight: 500;
}

.case-badge {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
}

.case-card h3 {
    font-size: 1.8rem;
    margin-bottom: 18px;
    line-height: 1.35;
    color: #111;
    word-break: keep-all;
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.case-result {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.card-divider {
    width: 35px;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.case-summary {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: none;
}

.attorney-tag {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.attorney-tag .label {
    font-size: 0.65rem;
    color: #bbb;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.attorney-tag .name {
    font-size: 0.95rem;
    color: #333;
    font-weight: 600;
}

.arrow-indicator {
    font-size: 1.2rem;
    color: #ddd;
    transition: all 0.4s;
}

.case-card:hover .arrow-indicator {
    color: var(--accent);
    transform: translateX(5px);
}

/* --- 4. Representative --- */
.section-representative {
    min-height: auto;
    background: #000;
    overflow: hidden;
}

.rep-split {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: auto;
}

.rep-portrait {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.rep-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: grayscale(100%) contrast(1.05);
    will-change: auto;
}

.rep-info {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 60px 20px;
}

.info-inner {
    width: 100%;
    max-width: 600px;
}

.rep-title .ko {
    display: block;
    font-size: 1rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    font-weight: 500;
}

.rep-name {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.rep-lead {
    font-size: 1.3rem;
    font-family: var(--font-serif);
    line-height: 1.6;
    margin-bottom: 20x;
    color: #fff;
    opacity: 0.95;
}

.rep-badges {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    max-width: 500px;
}

.badge-item {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    position: relative;
}

.badge-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    background: var(--accent);
    transition: height 0.4s ease;
}

.badge-item:hover {
    transform: translateX(10px);
    border-bottom-color: var(--accent);
}

.badge-item:hover::before {
    height: 60%;
}

.badge-item p {
    font-size: 1.15rem;
    color: #fff;
    opacity: 0.6;
    margin: 0;
    font-weight: 400;
    font-family: var(--font-sans);
    letter-spacing: -0.01em;
    transition: all 0.4s ease;
}

.badge-item:hover p {
    opacity: 1;
}

/* --- 5. Social --- */
.section-social {
    height: auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #080808;
    overflow: hidden;
    padding: 80px 0;
}

.social-content {
    width: 100%;
    max-width: 1400px;
    text-align: center;
    padding-top: 0;
}

.section-social .section-header.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 40px;
}

.shorts-main-header {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.section-social h2 {
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 0;
}

.shorts-floating-logo {
    position: absolute;
    top: -30px;
    transform: translateX(-50%);
    height: 55px;
    width: auto;
    z-index: 1;
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.4)) brightness(1.1);
    pointer-events: none;
}

.section-desc {
    font-size: 0.9rem;
    color: #888;
    font-family: var(--font-sans);
    font-weight: 300;
    letter-spacing: 0.05em;
}

.sub-title {
    color: var(--accent);
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.youtube-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto 30px auto;
    height: auto;
}

.youtube-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: var(--bg-card);
    border-radius: 4px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.youtube-item iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    inset: 0;
    z-index: 1;
}

.video-thumb {
    width: 100%;
    height: 100%;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: all 0.4s ease;
}

.youtube-item:hover .video-thumb img {
    filter: brightness(0.9) scale(1.05);
}

.youtube-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    color: #444;
    font-size: 1.2rem;
    font-weight: 700;
}

.youtube-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.youtube-item.playing .youtube-overlay {
    display: none;
}

.youtube-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon {
    width: 80px;
    height: 80px;
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.youtube-item:hover .play-icon {
    opacity: 1;
    transform: scale(1.1);
    color: #ff0000;
}

.youtube-item.disabled {
    cursor: default;
    opacity: 0.5;
}

.social-footer {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.btn-premium.youtube {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    background: #ff0000;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}

.btn-premium.youtube .btn-icon {
    width: 20px;
    height: 20px;
    color: #fff;
}

.btn-premium.youtube:hover {
    transform: translateY(-5px);
    background: #fff;
    color: #ff0000;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.btn-premium.youtube:hover .btn-icon {
    color: #ff0000;
    transform: scale(1.1);
}

.youtube-item:hover .youtube-hover {
    opacity: 1;
}

.youtube-hover .icon {
    width: 60px;
    height: 60px;
    color: #fff;
    transition: color 0.3s ease;
}

.youtube-item:hover .youtube-hover .icon {
    color: #ff0000;
}

/* --- 6. Practice Guide Section --- */
.section-practice-guide {
    background: url('../assets/images/bg_texture.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 80px 0;
    height: auto;
    min-height: 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid rgba(140, 123, 108, 0.1);
}

.section-practice-guide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 14, 16, 0.9);
    z-index: -1;
}

.guide-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10px;
}

.guide-intro-message.compact {
    text-align: center;
    margin-bottom: 25px;
    padding-top: 20px;
    padding-bottom: 0;
    border-bottom: none;
}

.guide-intro-message.compact .message-title {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.guide-intro-message.compact .message-sub {
    font-size: 1.1rem;
    color: #aaa;
    font-weight: 300;
}

.practice-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 30px;
    width: fit-content;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0;
}

.practice-tab {
    background: none;
    border: none;
    padding: 0 12px 15px;
    cursor: pointer;
    position: relative;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.practice-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.practice-tab.active {
    opacity: 1;
}

.practice-tab.active::after {
    transform: scaleX(1);
}

.practice-tab .tab-en {
    display: block;
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 5px;
    letter-spacing: 0.1em;
    font-family: var(--font-serif);
}

.practice-tab .tab-ko {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    font-family: var(--font-serif);
}

.practice-content-area {
    width: 100%;
    position: relative;
    min-height: 300px;
}

.practice-panel {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.practice-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.guide-grid {
    grid-template-columns: 1fr;
    gap: 60px;
}

.guide-grid::after,
.guide-grid::before {
    display: none;
}

.guide-column {
    padding: 0 20px;
    text-align: center;
}

.col-header {
    border-bottom: 1px solid var(--accent);
    display: inline-block;
    width: auto;
    min-width: 200px;
}

.col-list li {
    text-align: center;
    padding-left: 0;
}

.col-list li::before {
    display: none;
}

.detail-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-align: left;
}

.detail-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.detail-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.detail-card h3::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 20px;
    height: 1px;
    background: var(--accent);
}

.detail-card p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
    word-break: keep-all;
}

.guide-footer {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.guide-footer .btn-view-more {
    font-size: 1.1rem;
    padding: 10px 0;
    font-weight: 400;
}

@media screen and (max-width: 1023px) {
    .split-item .bg-img,
    .case-card,
    .detail-card,
    .badge-item,
    .youtube-item,
    .video-thumb img {
        transition: none;
    }

    .split-item:hover .bg-img,
    .case-card:hover,
    .detail-card:hover,
    .badge-item:hover,
    .badge-item:hover::before,
    .youtube-item:hover .video-thumb img {
        transform: none;
        box-shadow: none;
    }

    .case-card,
    .detail-card,
    .youtube-item {
        box-shadow: none;
    }

    .case-card::after {
        opacity: 0;
    }

    .rep-img {
        filter: none;
    }

    .shorts-floating-logo {
        filter: none;
    }
}

@media screen and (min-width: 768px) {
    .detail-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .tab-btn {
        font-size: 1rem;
        margin-right: 35px;
    }
}

@media screen and (min-width: 1024px) {
    .section-hero {
        height: 100vh;
    }

    .section-case-selector {
        height: 100vh;
    }

    .split-container {
        flex-direction: row;
    }

    .split-item {
        height: 100%;
        border-right: 1px solid rgba(140, 123, 108, 0.12);
        border-bottom: none;
    }

    .split-item:last-child {
        border-right: none;
    }

    .section-success {
        min-height: 100vh;
        padding: 40px 0;
    }

    .section-content-wrapper {
        padding: 0 0 0 280px;
    }

    .success-wrapper {
        flex-direction: row;
        gap: 60px;
        padding: 30px 0;
        min-height: 85vh;
    }

    .success-left {
        flex: 0 0 420px;
        margin-right: auto;
    }

    .section-header {
        padding-right: 60px;
        padding-left: 0;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 0;
    }

    .tab-btn {
        font-size: 1rem;
        margin-left: 50px;
        margin-right: 0;
    }

    .success-intro h2 {
        font-size: 3.2rem;
        margin-bottom: 40px;
        white-space: nowrap;
    }

    .carousel-footer {
        padding-right: 60px;
    }

    .carousel-container {
        margin-right: -5%;
    }

    .carousel-track {
        gap: 35px;
        padding: 40px 60px 40px 40px;
    }

    .case-card {
        flex: 0 0 340px;
        height: 480px;
    }

    .card-inner {
        padding: 60px 45px;
    }

    .section-representative {
        min-height: 100vh;
    }

    .rep-split {
        flex-direction: row;
        min-height: 100vh;
    }

    .rep-portrait {
        width: 50%;
        height: 100vh;
    }

    .rep-info {
        width: 50%;
        padding: 0 8%;
    }

    .rep-name {
        font-size: 3.5rem;
        margin-bottom: 40px;
    }

    .rep-lead {
        font-size: 1.8rem;
    }

    .guide-intro-message.compact {
        padding-top: 50px;
        margin-bottom: 35px;
    }

    .guide-intro-message.compact .message-title {
        font-size: 1.85rem;
    }

    .practice-tabs {
        gap: 40px;
    }

    .practice-tab {
        padding: 0 20px 20px;
    }

    .practice-tab .tab-ko {
        font-size: 1.4rem;
    }

    .detail-card {
        padding: 30px 25px;
    }

    .detail-card h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .section-social {
        height: 100vh;
        padding: 0;
    }

    .social-content {
        padding-top: 60px;
    }

    .section-social h2 {
        font-size: 3rem;
    }

    .shorts-floating-logo {
        top: -48px;
        height: 85px;
    }

    .section-desc {
        font-size: 1.2rem;
    }

    .youtube-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        padding: 0 4%;
        height: 55vh;
    }

    .youtube-item {
        height: 100%;
    }

    .section-practice-guide {
        height: 100vh;
        min-height: 800px;
        padding: 0;
    }

    .guide-footer {
        justify-content: flex-end;
        margin-top: 40px;
    }

    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 80px;
    }

    .guide-grid::after,
    .guide-grid::before {
        display: block;
    }

    .guide-column {
        padding: 0;
        text-align: left;
    }

    .col-header {
        border-bottom: none;
        display: block;
        width: auto;
        min-width: 0;
    }

    .col-list li {
        text-align: left;
        padding-left: 18px;
    }

    .col-list li::before {
        display: block;
    }
}
