* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1a1f2e;
    --primary-dark: #12161f;
    --primary-light: #252b3d;
    --accent: #c9a962;
    --accent-light: #e0c17a;
    --white: #ffffff;
    --gray: #8b92a5;
    --gray-light: #b4bac8;
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary-dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.ambient-glow {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: -1;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 30%, rgba(201, 169, 98, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 70%, rgba(201, 169, 98, 0.03) 0%, transparent 50%),
        var(--primary-dark);
}

.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 24px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s var(--ease-out-quart);
}

.navbar.scrolled {
    background: rgba(18, 22, 31, 0.95);
    backdrop-filter: blur(20px);
    padding: 16px 60px;
    border-bottom: 1px solid rgba(201, 169, 98, 0.1);
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 3px;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 48px;
    list-style: none;
}

.nav-menu a {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--ease-out-quart);
}

.nav-menu a:hover { color: var(--white); }
.nav-menu a:hover::after { width: 100%; }

.nav-cta {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-quart);
}

.nav-cta:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.95) 0%, rgba(18, 22, 31, 0.9) 100%),
                url('images/hero-bg.webp') center/cover no-repeat;
    padding: 120px 60px 80px;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(201, 169, 98, 0.3);
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 40px;
    animation: fadeInUp 1s var(--ease-out-expo) forwards;
    opacity: 0;
}

.hero-badge::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 80px;
    font-weight: 500;
    line-height: 1.05;
    margin-bottom: 32px;
    animation: fadeInUp 1s 0.1s var(--ease-out-expo) forwards;
    opacity: 0;
}

.hero h1 em {
    color: var(--accent);
    font-style: italic;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray-light);
    max-width: 600px;
    margin-bottom: 48px;
    line-height: 1.7;
    animation: fadeInUp 1s 0.2s var(--ease-out-expo) forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s 0.3s var(--ease-out-expo) forwards;
    opacity: 0;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 18px 40px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-quart);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(201, 169, 98, 0.3);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 18px 40px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-quart);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-stats {
    position: absolute;
    bottom: 60px;
    left: 60px;
    right: 60px;
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s 0.5s var(--ease-out-expo) forwards;
    opacity: 0;
}

.stat { text-align: center; }

.stat-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}

.section { padding: 140px 60px; position: relative; }

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 60px;
    height: 1px;
    background: rgba(201, 169, 98, 0.4);
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.7;
}

.features { background: var(--primary); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(37, 43, 61, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 40px;
    text-align: center;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: scaleX(0);
    transition: transform 0.5s var(--ease-out-expo);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(201, 169, 98, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 98, 0.1);
    border-radius: 50%;
}

.feature-icon img { width: 40px; height: 40px; object-fit: contain; }

.feature-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.feature-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
}

.about {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-image { position: relative; }

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 4px;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    right: -40px;
    bottom: -40px;
    border: 1px solid var(--accent);
    border-radius: 4px;
    z-index: -1;
}

.about-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 32px;
}

.about-text > p {
    font-size: 17px;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-stats {
    display: flex;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-stat h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
}

.about-stat p {
    font-size: 14px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services { background: var(--primary-dark); }

.services-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: rgba(37, 43, 61, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s var(--ease-out-expo);
    cursor: pointer;
}

.service-item:hover {
    background: rgba(37, 43, 61, 0.6);
    border-color: rgba(201, 169, 98, 0.2);
    transform: translateX(20px);
}

.service-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--accent);
    opacity: 0.4;
    line-height: 1;
}

.service-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 12px;
}

.service-info p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

.service-arrow {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent);
    transition: all 0.3s var(--ease-out-quart);
}

.service-item:hover .service-arrow {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

.attorney { background: var(--primary); }

.attorney-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.attorney-image { position: relative; }

.attorney-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 4px;
}

.attorney-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 30px 40px;
    text-align: center;
}

.attorney-badge .years {
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
}

.attorney-badge .text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.attorney-info .name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    font-weight: 500;
    margin-bottom: 16px;
}

.attorney-info .title {
    font-size: 18px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.attorney-info > p {
    font-size: 17px;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.attorney-meta {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.attorney-meta-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.attorney-meta-item .icon {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(201, 169, 98, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 20px;
}

.attorney-meta-item .info h4 {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 4px;
}

.attorney-meta-item .info p {
    font-size: 16px;
    font-weight: 600;
}

.cta {
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.98) 0%, rgba(18, 22, 31, 0.98) 100%),
                url('images/case2.webp') center/cover no-repeat fixed;
    text-align: center;
    padding: 180px 60px;
}

.cta-content { max-width: 800px; margin: 0 auto; }

.cta h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 72px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 32px;
}

.cta > p {
    font-size: 20px;
    color: var(--gray-light);
    margin-bottom: 48px;
    line-height: 1.7;
}

.cta-contact {
    margin-top: 40px;
    font-size: 16px;
    color: var(--gray);
}

.cta-contact a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.footer {
    background: var(--primary-dark);
    padding: 60px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    font-size: 14px;
    color: var(--gray);
}

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

@media (max-width: 1200px) {
    .features-grid { grid-template-columns: 1fr; }
    .about-content,
    .attorney-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .hero h1 { font-size: 60px; }
}

@media (max-width: 768px) {
    .navbar { padding: 16px 24px; }
    .nav-menu { display: none; }
    .hero { padding: 100px 24px 60px; }
    .hero h1 { font-size: 42px; }
    .hero-stats {
        flex-direction: column;
        gap: 32px;
        position: static;
        margin-top: 60px;
    }
    .section { padding: 100px 24px; }
    .section-title { font-size: 40px; }
    .service-item {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .about-image::after { display: none; }
    .attorney-badge {
        position: static;
        margin-top: 20px;
    }
    .cta h2 { font-size: 48px; }
}
