/**
 * Premium Law Firm Website
 * 프리미엄 법률사무소 스타일시트
 * High-Quality Korean Design
 */

/* =========================================
   CSS Variables
   ========================================= */
:root {
    /* Colors */
    --color-black: #0a0a0a;
    --color-dark: #111111;
    --color-gray-900: #1a1a1a;
    --color-gray-800: #252525;
    --color-gray-700: #333333;
    --color-gray-600: #4a4a4a;
    --color-gray-500: #666666;
    --color-gray-400: #888888;
    --color-gray-300: #aaaaaa;
    --color-gray-200: #d4d4d4;
    --color-gray-100: #e8e8e8;
    --color-gray-50: #f5f5f5;
    --color-white: #ffffff;

    /* Accent */
    --color-gold: #c9a962;
    --color-gold-light: #d4ba7a;
    --color-gold-dark: #b8944d;
    --color-gold-rgb: 201, 169, 98;

    /* Typography */
    --font-primary: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Layout */
    --container-max: 1320px;
    --container-padding: 20px;
    --header-height: 80px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 0.2s;
    --duration-base: 0.4s;
    --duration-slow: 0.6s;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

strong {
    font-weight: 700;
}

em {
    font-style: normal;
    color: var(--color-gold);
}

::selection {
    background-color: var(--color-gold);
    color: var(--color-black);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* =========================================
   Header
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: transparent;
    transition: all var(--duration-base) var(--ease-out);
}

/* Mobile header overlay - only for mobile */
@media (max-width: 1023px) {
    .header:not(.scrolled):not(.header-dark)::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 120px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
        pointer-events: none;
        z-index: -1;
    }
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* Header Dark - for white/light background pages */
.header.header-dark {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.header.header-dark .logo-en {
    color: var(--color-black);
}

.header.header-dark .gnb-list a {
    color: var(--color-gray-700);
}

.header.header-dark .gnb-list a:hover {
    color: var(--color-black);
}

.header.header-dark .header-tel {
    color: var(--color-gray-700);
}

.header.header-dark .header-tel:hover {
    color: var(--color-gold);
}

.header.header-dark .menu-toggle span {
    background: var(--color-black);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
    position: relative;
}

.logo-img {
    height: 60px;
    width: auto;
}

/* Dark logo (default) */
.logo-img.logo-dark {
    display: block;
}

.logo-img.logo-white {
    display: none;
}

/* White logo on dark backgrounds (header not scrolled) */
.header:not(.scrolled):not(.header-dark) .logo-img.logo-dark {
    display: none;
}

.header:not(.scrolled):not(.header-dark) .logo-img.logo-white {
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-en {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--color-black);
    line-height: 1;
}

@media (min-width: 768px) {
    .logo-en {
        font-size: 1.25rem;
    }
}

.header:not(.scrolled) .logo-en {
    color: var(--color-white);
}

/* GNB */
.gnb {
    display: none;
}

@media (min-width: 1024px) {
    .gnb {
        display: block;
    }
}

.gnb-list {
    display: flex;
    gap: 2.5rem;
}

.gnb-list a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--duration-fast);
}

.gnb-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: all var(--duration-base) var(--ease-out);
    transform: translateX(-50%);
}

.gnb-list a:hover {
    color: var(--color-white);
}

.gnb-list a:hover::after,
.gnb-list a.active::after {
    width: 100%;
}

.header.scrolled .gnb-list a {
    color: var(--color-gray-600);
}

.header.scrolled .gnb-list a:hover {
    color: var(--color-black);
}

/* Dropdown */
.gnb-list > li {
    position: relative;
}

.gnb-list > li.has-dropdown > a::before {
    content: '';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.6;
    transition: transform var(--duration-fast);
}

.gnb-list > li.has-dropdown:hover > a::before {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 180px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-base) var(--ease-out);
    z-index: 1001;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(10, 10, 10, 0.95);
}

.gnb-list > li.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li {
    padding: 0;
}

.dropdown li a {
    display: block;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7) !important;
    white-space: nowrap;
    transition: all var(--duration-fast);
}

.dropdown li a::after {
    display: none;
}

.dropdown li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-gold) !important;
    padding-left: 1.5rem;
}

/* Dropdown - Scrolled (White Theme) */
.header.scrolled .dropdown {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.header.scrolled .dropdown::before {
    border-bottom-color: rgba(255, 255, 255, 0.98);
}

.header.scrolled .dropdown li a {
    color: var(--color-gray-600) !important;
}

.header.scrolled .dropdown li a:hover {
    background: var(--color-gray-50);
    color: var(--color-black) !important;
}

/* Dropdown - Header Dark (White Theme) */
.header.header-dark .dropdown {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.header.header-dark .dropdown::before {
    border-bottom-color: rgba(255, 255, 255, 0.98);
}

.header.header-dark .dropdown li a {
    color: var(--color-gray-600) !important;
}

.header.header-dark .dropdown li a:hover {
    background: var(--color-gray-50);
    color: var(--color-black) !important;
}

/* Header Right */
.header-right {
    display: none;
    align-items: center;
    gap: var(--space-lg);
}

@media (min-width: 1024px) {
    .header-right {
        display: flex;
    }
}

.header-tel {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: color var(--duration-fast);
}

.header-tel svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.7;
}

.header-tel span {
    display: inline;
}

.header.scrolled .header-tel {
    color: var(--color-gray-700);
}

.header-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-black);
    background: var(--color-gold);
    border-radius: 2px;
    transition: all var(--duration-fast);
}

.header-contact svg {
    transition: transform var(--duration-fast);
}

.header-contact:hover {
    background: var(--color-gold-light);
    transform: translateY(-1px);
}

.header-contact:hover svg {
    transform: translateX(3px);
}

/* Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    gap: 5px;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--duration-base) var(--ease-out);
    transform-origin: center;
}

.menu-toggle span:nth-child(2) {
    width: 16px;
}

.header.scrolled .menu-toggle span {
    background: var(--color-black);
}

.menu-toggle.active span {
    background: var(--color-white) !important;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Header when mobile menu is open */
body.menu-open .header {
    background: transparent !important;
    box-shadow: none !important;
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

/* =========================================
   Mobile Menu
   ========================================= */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--color-black);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 100px 24px 40px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-slow) var(--ease-out);
    overflow-y: auto;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav > ul > li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: all var(--duration-slow) var(--ease-out);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 0;
}

.mobile-nav > ul > li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu.active .mobile-nav li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.active .mobile-nav li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-nav li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-nav li:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav li:nth-child(6) { transition-delay: 0.35s; }

.nav-num {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.05em;
    min-width: 18px;
}

.mobile-nav a {
    display: block;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-white);
    padding: 0.5rem 0;
    transition: color var(--duration-fast);
}

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

/* Mobile Submenu */
.mobile-nav > ul > li.has-submenu {
    flex-wrap: wrap;
}

.submenu-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform var(--duration-fast);
}

.submenu-toggle svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-gray-400);
    transition: all var(--duration-fast);
}

.submenu-toggle:hover svg {
    stroke: var(--color-gold);
}

.has-submenu.active .submenu-toggle svg {
    transform: rotate(180deg);
    stroke: var(--color-gold);
}

.submenu {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding-left: 2.5rem;
    transition: max-height var(--duration-base) var(--ease-out);
}

.has-submenu.active .submenu {
    max-height: 300px;
}

.submenu li {
    opacity: 1 !important;
    transform: none !important;
}

.submenu a {
    font-size: 0.9375rem !important;
    font-weight: 400 !important;
    color: var(--color-gray-400) !important;
    padding: 0.375rem 0 !important;
}

.submenu a:hover {
    color: var(--color-gold) !important;
}

.mobile-contact {
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-slow) var(--ease-out) 0.4s;
}

.mobile-menu.active .mobile-contact {
    opacity: 1;
    transform: translateY(0);
}

.mobile-contact-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.mobile-contact-tel {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
}

.mobile-contact-time {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--color-black);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Hero Background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        #0d1117 0%,
        #161b22 30%,
        #1a1f26 60%,
        #0d1117 100%
    );
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(201, 169, 98, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(201, 169, 98, 0.05) 0%, transparent 40%);
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

@media (min-width: 1024px) {
    .hero-bg-img {
        position: fixed;
        height: 100vh;
    }
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* PC 버전 오버레이 - 모바일과 동일 */
@media (min-width: 1024px) {
    .hero-bg-overlay {
        background: rgba(0, 0, 0, 0.4);
    }
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 2;
}

/* Hero Video Slider */
.hero-video-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-video-slide.active {
    opacity: 1;
}

.hero-video-slide video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Hero Decorations */
.hero-deco {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.deco-circle {
    position: absolute;
    top: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(201, 169, 98, 0.1);
    border-radius: 50%;
    animation: floatSlow 20s ease-in-out infinite;
}

.deco-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 70%;
    border: 1px solid rgba(201, 169, 98, 0.06);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.deco-line-v {
    position: absolute;
    top: 0;
    left: 8%;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(201, 169, 98, 0.15) 30%,
        rgba(201, 169, 98, 0.15) 70%,
        transparent 100%
    );
}

.deco-line-h {
    position: absolute;
    bottom: 30%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(201, 169, 98, 0.1) 20%,
        rgba(201, 169, 98, 0.1) 80%,
        transparent 100%
    );
}

.deco-dots {
    position: absolute;
    bottom: 15%;
    right: 10%;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(rgba(201, 169, 98, 0.3) 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.5;
}

/* Hero Inner */
.hero-inner {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    padding: calc(var(--header-height) + var(--space-3xl)) var(--container-padding) var(--space-5xl);
}

@media (min-width: 1024px) {
    .hero-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-bottom: var(--space-4xl);
    }
}

.hero-content {
    max-width: 640px;
}

/* Hero Eyebrow */
.hero-eyebrow {
    display: none;
}

.hero-eyebrow-logo {
    height: 70px;
    width: auto;
}

@media (min-width: 768px) {
    .hero-eyebrow-logo {
        height: 90px;
    }
}

.eyebrow-line {
    width: 30px;
    height: 1px;
    background: var(--color-gold);
}

.eyebrow-text {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Hero Title */
.hero-title {
    margin-bottom: var(--space-xl);
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-text {
    display: block;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.hero-title em {
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Description */
.hero-desc {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    line-height: 2;
    margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
    .hero-desc {
        font-size: 1.125rem;
        line-height: 1.9;
    }
}

/* Hero Actions */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-black);
    background: var(--color-gold);
    border-radius: 2px;
    transition: all var(--duration-fast);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    transition: transform var(--duration-fast);
}

.btn-primary:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(var(--color-gold-rgb), 0.35);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    transition: all var(--duration-fast);
}

.btn-secondary svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Hero Stats */
.hero-stats {
    display: none;
}

@media (min-width: 1024px) {
    .hero-stats {
        display: flex;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 4px;
        backdrop-filter: blur(10px);
    }
}

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

.hero-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-stat-num sup {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gold);
}

.hero-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

.hero-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.scroll-mouse {
    width: 22px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 3px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.5625rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.2em;
}

/* Hero Side */
.hero-side {
    display: none;
}

@media (min-width: 1200px) {
    .hero-side {
        position: absolute;
        right: var(--container-padding);
        bottom: 3rem;
        display: block;
        z-index: 3;
    }
}

.hero-side-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: right;
}

.side-label {
    font-size: 0.5625rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.side-value {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

/* =========================================
   Section Label
   ========================================= */
.section-label {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.label-num {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.05em;
}

.label-line {
    width: 30px;
    height: 1px;
    background: var(--color-gold);
}

.label-text {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-gray-400);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.section-label-light .label-text {
    color: rgba(255, 255, 255, 0.5);
}

/* =========================================
   About Section
   ========================================= */
.about {
    padding: var(--space-5xl) 0;
    background: var(--color-gray-50);
}

@media (min-width: 768px) {
    .about {
        padding: 140px 0;
    }
}

.about-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.about-header .section-label {
    justify-content: center;
}

.about-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: var(--space-md);
}

.about-subtitle {
    font-size: 1.0625rem;
    color: var(--color-gray-500);
}

.about-desc {
    margin-bottom: var(--space-2xl);
}

.about-desc p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-gray-600);
    line-height: 1.9;
    margin-bottom: var(--space-md);
}

.about-desc p:last-child {
    margin-bottom: 0;
}

.about-desc mark {
    background: transparent;
    color: var(--color-gold-dark);
    font-weight: 600;
}

@media (min-width: 768px) {
    .about-desc p {
        font-size: 1.0625rem;
        line-height: 2;
    }
}

/* About Signature */
.about-signature {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-gray-100);
}

.signature-img {
    width: 48px;
    height: 48px;
    background: var(--color-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signature-img svg {
    width: 28px;
    height: 28px;
    fill: var(--color-gray-400);
}

.signature-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.signature-specialty {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gold-dark);
    letter-spacing: 0.02em;
}

.signature-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-black);
}

.signature-name span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-500);
    margin-left: 0.25rem;
}

@media (min-width: 768px) {
    .signature-img {
        width: 56px;
        height: 56px;
    }

    .signature-specialty {
        font-size: 0.8125rem;
    }

    .signature-name {
        font-size: 1.25rem;
    }
}

/* =========================================
   Lawyers Section
   ========================================= */
.lawyers {
    padding: var(--space-5xl) 0;
    background: var(--color-gray-50);
}

@media (min-width: 768px) {
    .lawyers {
        padding: 140px 0;
    }
}

.lawyers-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.lawyers-header .section-label {
    justify-content: center;
}

.lawyers-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: var(--space-md);
}

.lawyers-desc {
    font-size: 1.0625rem;
    color: var(--color-gray-500);
}

.lawyers-grid {
    display: grid;
    gap: var(--space-xl);
}

@media (min-width: 1024px) {
    .lawyers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
    }
}

.lawyer-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all var(--duration-base) var(--ease-out);
}

.lawyer-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.lawyer-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    background: transparent;
    overflow: hidden;
}

.lawyer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.lawyer-photo-placeholder {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
}

.lawyer-photo-placeholder svg {
    width: 80px;
    height: 80px;
    fill: var(--color-gray-300);
}

.lawyer-info {
    padding: var(--space-xl);
}

@media (min-width: 768px) {
    .lawyer-info {
        padding: var(--space-2xl);
    }
}

.lawyer-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 2px solid var(--color-gold);
}

.lawyer-name span {
    font-weight: 400;
    color: var(--color-gray-500);
}

.lawyer-section {
    margin-bottom: var(--space-xl);
}

.lawyer-section:last-child {
    margin-bottom: 0;
}

.lawyer-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.lawyer-section-title svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-gold);
}

.lawyer-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lawyer-list li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.9375rem;
    color: var(--color-gray-700);
    line-height: 1.7;
}

.lawyer-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 4px;
    height: 4px;
    background: var(--color-gold);
    border-radius: 50%;
}

.lawyer-list li strong {
    color: var(--color-black);
    font-weight: 600;
}

.text-muted {
    display: block;
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-top: 0.25rem;
    line-height: 1.6;
}

.lawyer-practice {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.practice-category {
    padding: var(--space-md);
    background: var(--color-gray-50);
    border-radius: 8px;
}

.category-label {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--color-gold);
    color: var(--color-black);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: var(--space-md);
}

/* About Features */
.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.feature-card {
    position: relative;
    padding: var(--space-xl) var(--space-xl) var(--space-xl) calc(var(--space-xl) + 4px);
    background: var(--color-gray-50);
    border-radius: 4px;
    transition: all var(--duration-base) var(--ease-out);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-gold);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--duration-base) var(--ease-out);
}

.feature-card:hover {
    background: var(--color-white);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    transform: translateX(8px);
}

.feature-card:hover::before {
    transform: scaleY(1);
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-md);
    color: var(--color-gold);
}

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

.feature-num {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--color-gray-300);
    letter-spacing: 0.05em;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    line-height: 1.8;
}

@media (max-width: 767px) {
    .feature-card {
        padding: var(--space-lg);
    }

    .feature-title {
        font-size: 1rem;
    }

    .feature-desc {
        font-size: 0.875rem;
    }
}

/* =========================================
   Practice Section
   ========================================= */
.practice {
    position: relative;
    padding: var(--space-5xl) 0;
    background: var(--color-black);
    overflow: hidden;
}

@media (min-width: 768px) {
    .practice {
        padding: 140px 0;
    }
}

.practice-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(201, 169, 98, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 169, 98, 0.04) 0%, transparent 50%);
}

.practice-header {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-4xl);
}

@media (min-width: 768px) {
    .practice-header {
        grid-template-columns: 1fr 1fr;
        align-items: end;
    }
}

.practice-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.practice-header-desc {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

@media (min-width: 768px) {
    .practice-header-desc {
        text-align: right;
    }
}

/* Practice Grid */
.practice-grid {
    display: grid;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .practice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .practice-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.practice-item {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-out);
}

.practice-item:hover {
    border-color: var(--color-gold);
    transform: translateY(-8px);
}

.practice-item-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(201, 169, 98, 0.08) 100%);
    opacity: 0;
    transition: opacity var(--duration-base);
}

.practice-item:hover .practice-item-bg {
    opacity: 1;
}

.practice-item-inner {
    position: relative;
    padding: var(--space-2xl);
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .practice-item-inner {
        padding: var(--space-xl);
        min-height: 320px;
    }
}

.practice-icon {
    width: 44px;
    height: 44px;
    margin-bottom: var(--space-lg);
    color: var(--color-gold);
    transition: transform var(--duration-base);
}

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

.practice-item:hover .practice-icon {
    transform: scale(1.1);
}

.practice-num {
    font-size: 0.625rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.practice-name {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.practice-desc {
    font-size: 0.9375rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    flex: 1;
}

@media (max-width: 767px) {
    .practice-item-inner {
        padding: var(--space-xl);
        min-height: auto;
    }

    .practice-name {
        font-size: 1.25rem;
    }

    .practice-desc {
        font-size: 0.875rem;
    }
}

.practice-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--space-lg);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-gold);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--duration-base) var(--ease-out);
}

.practice-more svg {
    width: 16px;
    height: 16px;
    transition: transform var(--duration-fast);
}

.practice-item:hover .practice-more {
    opacity: 1;
    transform: translateY(0);
}

.practice-item:hover .practice-more svg {
    transform: translateX(4px);
}

/* =========================================
   Stats Section
   ========================================= */
.stats {
    padding: var(--space-5xl) 0;
    background: var(--color-gray-50);
}

@media (min-width: 768px) {
    .stats {
        padding: 140px 0;
    }
}

.stats-wrapper {
    display: grid;
    gap: var(--space-4xl);
}

@media (min-width: 1024px) {
    .stats-wrapper {
        grid-template-columns: 1fr 2fr;
        gap: var(--space-5xl);
        align-items: start;
    }
}

.stats-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 300;
    color: var(--color-black);
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.stats-title strong {
    font-weight: 700;
}

.stats-desc {
    font-size: 1rem;
    color: var(--color-gray-500);
    line-height: 1.7;
    margin-top: var(--space-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stats-item {
    position: relative;
    padding: var(--space-xl);
    background: var(--color-white);
    border-radius: 4px;
    transition: all var(--duration-base) var(--ease-out);
    overflow: hidden;
}

.stats-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.stats-icon {
    width: 32px;
    height: 32px;
    margin-bottom: var(--space-md);
    color: var(--color-gold);
}

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

.stats-value {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 0.25rem;
}

.stats-num {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-black);
    line-height: 1;
}

.stats-unit {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gold);
}

.stats-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-600);
    margin-bottom: var(--space-md);
}

.stats-bar {
    height: 3px;
    background: var(--color-gray-100);
    border-radius: 2px;
    overflow: hidden;
}

.stats-bar span {
    display: block;
    height: 100%;
    background: var(--color-gold);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.5s var(--ease-out);
}

.stats-item.animated .stats-bar span {
    transform: scaleX(1);
}

/* =========================================
   Testimonial Section
   ========================================= */
.testimonial {
    padding: var(--space-5xl) 0;
    background: var(--color-white);
}

@media (min-width: 768px) {
    .testimonial {
        padding: 120px 0;
    }
}

.testimonial-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-bg {
    position: absolute;
    top: -20px;
    left: -30px;
    pointer-events: none;
}

.quote-bg {
    width: 120px;
    height: 120px;
    fill: var(--color-gray-100);
}

.testimonial-content {
    position: relative;
}

.testimonial-quote {
    margin: var(--space-xl) 0;
}

.testimonial-quote p {
    font-size: clamp(1.0625rem, 2.5vw, 1.375rem);
    font-weight: 400;
    color: var(--color-gray-700);
    line-height: 2;
}

.testimonial-quote strong {
    font-weight: 500;
    color: var(--color-black);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--color-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar svg {
    width: 32px;
    height: 32px;
    fill: var(--color-gray-400);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-black);
}

.author-case {
    font-size: 0.8125rem;
    color: var(--color-gray-500);
}

.testimonial-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-gray-100);
}

.testimonial-highlight span {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--color-gray-50);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-gray-600);
}

.testimonial-highlight span::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
    margin-right: 0.5rem;
}

/* =========================================
   CTA Section
   ========================================= */
.cta {
    position: relative;
    padding: var(--space-5xl) 0;
    background: var(--color-black);
    overflow: hidden;
}

@media (min-width: 768px) {
    .cta {
        padding: 120px 0;
    }
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(201, 169, 98, 0.1) 0%, transparent 50%);
}

.cta-wrapper {
    position: relative;
    display: grid;
    gap: var(--space-3xl);
}

@media (min-width: 768px) {
    .cta-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4xl);
        align-items: center;
    }
}

.cta-title {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

.cta-title em {
    font-weight: 600;
}

.cta-desc {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
}

.cta-desc strong {
    color: var(--color-gold);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-gold);
    border-radius: 4px;
    transition: all var(--duration-fast);
}

.cta-phone:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
}

.phone-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-black);
}

.phone-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.phone-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.phone-number {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-black);
}

.phone-arrow {
    width: 20px;
    height: 20px;
    stroke: var(--color-black);
    opacity: 0.5;
    transition: all var(--duration-fast);
}

.cta-phone:hover .phone-arrow {
    opacity: 1;
    transform: translateX(4px);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all var(--duration-fast);
}

.cta-btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--duration-fast);
}

.cta-btn:hover {
    background: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.cta-btn:hover svg {
    transform: translateX(4px);
}

.cta-btn-outline {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
}

.cta-btn-outline:hover {
    background: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
}

.cta-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.cta-time svg {
    width: 16px;
    height: 16px;
}

@media (min-width: 768px) {
    .cta-time {
        justify-content: flex-start;
    }
}

/* =========================================
   Footer
   ========================================= */
.footer {
    padding: var(--space-4xl) 0 var(--space-2xl);
    background: var(--color-dark);
}

.footer-top {
    display: grid;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr 2fr;
    }
}

.footer-logo {
    display: inline-flex;
    margin-bottom: var(--space-md);
}

.footer-logo .logo-img {
    height: 70px;
}

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

.footer-logo .logo-img.logo-white {
    display: block;
}

.footer-logo .logo-en {
    color: var(--color-white);
    font-size: 1.25rem;
}

.footer-slogan {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all var(--duration-fast);
}

.footer-social a:hover {
    background: var(--color-gold);
}

.footer-social svg {
    width: 16px;
    height: 16px;
    fill: rgba(255, 255, 255, 0.6);
    transition: fill var(--duration-fast);
}

.footer-social a:hover svg {
    fill: var(--color-black);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl) var(--space-xl);
}

@media (min-width: 768px) {
    .footer-links {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-2xl);
    }
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-xl);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--duration-fast);
}

.footer-col a:hover {
    color: var(--color-gold);
}

.footer-contact-list {
    display: inline;
}

.footer-contact-list li {
    display: inline;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    white-space: nowrap;
}

.footer-contact-list li:not(:last-child)::after {
    content: " · ";
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: var(--space-xl);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright,
.business {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.5; }
}

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
}

/* =========================================
   Utilities
   ========================================= */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.menu-open {
    overflow: hidden;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* Responsive container padding */
@media (min-width: 768px) {
    :root {
        --container-padding: 32px;
    }
}

@media (min-width: 1024px) {
    :root {
        --container-padding: 48px;
    }
}

/* =========================================
   Mobile Responsive Fixes
   ========================================= */
@media (max-width: 767px) {
    .hero {
        min-height: 100vh;
        min-height: 100svh;
    }

    .hero-inner {
        padding-top: calc(var(--header-height) + var(--space-3xl));
        padding-bottom: var(--space-5xl);
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-eyebrow {
        display: none;
    }

    .hero-title {
        margin-bottom: var(--space-lg);
        text-align: center;
    }

    .hero-desc {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        margin-top: var(--space-xl);
    }

    .title-text {
        font-size: 2.25rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .about {
        padding: var(--space-4xl) 0;
    }

    .about-title {
        font-size: 1.75rem;
    }

    .practice {
        padding: var(--space-4xl) 0;
    }

    .practice-title {
        font-size: 1.75rem;
    }

    .practice-header-desc {
        font-size: 0.9375rem;
    }

    .stats {
        padding: var(--space-4xl) 0;
    }

    .stats-title {
        font-size: 1.5rem;
    }

    .testimonial {
        padding: var(--space-4xl) 0;
    }

    .cta {
        padding: var(--space-4xl) 0;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .footer {
        padding: var(--space-3xl) 0 var(--space-xl);
    }

    .footer-top {
        gap: var(--space-2xl);
    }

    .footer-bottom {
        text-align: center;
    }
}

/* Small mobile */
@media (max-width: 374px) {
    .title-text {
        font-size: 1.875rem;
    }

    .about-title {
        font-size: 1.5rem;
    }

    .phone-number {
        font-size: 1.125rem;
    }
}

/* =========================================
   Mobile Visibility Fixes (iOS Safari)
   - Ensures content is visible even if
     CSS animations don't run properly
   ========================================= */
@media (max-width: 1023px) {
    /* Force visibility for all animated elements */
    .hero-eyebrow,
    .hero-title,
    .hero-title .title-text,
    .hero-desc,
    .hero-actions,
    .hero-stats,
    .hero-stat-item {
        opacity: 1 !important;
        animation: none !important;
        transform: none !important;
    }

    .hero-scroll {
        opacity: 1 !important;
        animation: none !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .hero-side,
    .hero-side-item {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    /* Ensure hero background image is visible */
    .hero-bg-img {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }

    /* Mobile overlay - same as PC */
    .hero-bg-overlay {
        position: absolute !important;
        inset: 0;
        background: rgba(0, 0, 0, 0.8);
        z-index: 2;
    }

    /* Ensure hero content is on top */
    .hero-inner {
        position: relative;
        z-index: 10;
    }

    /* iOS Safari specific fixes */
    .hero {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .hero-bg {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    /* Mobile text readability - prevent Korean word breaking */
    body {
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .hero-inner {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .title-text {
        font-size: 1.875rem;
        line-height: 1.5;
        word-break: keep-all;
        letter-spacing: -0.02em;
    }

    .hero-desc {
        font-size: 1rem;
        line-height: 1.9;
        word-break: keep-all;
        color: rgba(255, 255, 255, 0.85);
    }

    .eyebrow-text {
        font-size: 0.6875rem;
        letter-spacing: 0.15em;
        line-height: 1.4;
    }

    /* About section mobile */
    .about-title {
        font-size: 1.5rem;
        line-height: 1.5;
        word-break: keep-all;
    }

    .about-desc {
        font-size: 1rem;
        line-height: 1.9;
        word-break: keep-all;
        color: var(--color-gray-600);
    }

    /* Practice section mobile */
    .practice-title {
        font-size: 1.5rem;
        line-height: 1.5;
        word-break: keep-all;
    }

    .practice-header-desc {
        font-size: 1rem;
        line-height: 1.8;
        word-break: keep-all;
        color: rgba(255, 255, 255, 0.85);
    }

    .practice-card-title {
        font-size: 1.0625rem;
        line-height: 1.5;
        word-break: keep-all;
    }

    .practice-card-desc {
        font-size: 0.875rem;
        line-height: 1.8;
        word-break: keep-all;
        color: var(--color-gray-600);
    }

    /* Stats section mobile */
    .stats-title {
        font-size: 1.375rem;
        line-height: 1.5;
        word-break: keep-all;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9375rem;
        color: var(--color-gray-600);
    }

    /* CTA section mobile */
    .cta-title {
        font-size: 1.375rem;
        line-height: 1.5;
        word-break: keep-all;
    }

    .cta-desc {
        font-size: 1rem;
        line-height: 1.9;
        word-break: keep-all;
    }

    /* Footer mobile */
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-slogan {
        font-size: 0.9375rem;
        line-height: 1.6;
        word-break: keep-all;
        text-align: center;
    }

    .footer-info p {
        font-size: 0.875rem;
        line-height: 1.9;
        word-break: keep-all;
    }

    /* Button mobile */
    .btn-primary,
    .btn-secondary {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }

    /* General text readability */
    p, li {
        font-size: 1rem;
        line-height: 1.8;
    }
}
