:root {
    --lf-bg: #050505;
    --lf-bg-alt: #0b0f0d;
    --lf-card: #0f1412;
    --lf-gold: #c7ae6a;
    --lf-gold-light: #f5eeaa;
    --lf-gold-dark: #8e5f2f;
    --lf-gold-soft: #d5c28f;
    --lf-gold-deep: #b99a45;
    --lf-green: #027355;
    --lf-green-bright: #03a57a;
    --lf-green-dark: #014130;
    --lf-text: #f1f1ee;
    --lf-muted: #a9b2ad;
    --lf-border: rgba(199, 174, 106, .22);
    --lf-gold-grad: linear-gradient(90deg, #8e5f2f 0%, #c7ae6a 30%, #f5eeaa 50%, #c7ae6a 70%, #8e5f2f 100%);
    --bs-body-bg: var(--lf-bg);
    --bs-body-color: var(--lf-text);
    --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --bs-link-color: var(--lf-gold);
    --bs-link-hover-color: var(--lf-gold-light);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    background: var(--lf-bg);
    color: var(--lf-text);
    overflow-x: hidden;
}

.lf-gold-text {
    background: var(--lf-gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.lf-brand {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -.01em;
}

/* Navbar */
.lf-nav {
    background: rgba(5, 5, 5, .78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, background .3s;
}

.lf-nav.scrolled {
    border-bottom-color: var(--lf-border);
    background: rgba(5, 5, 5, .92);
}

.lf-nav .nav-link {
    color: var(--lf-text);
    font-weight: 500;
    padding: .5rem .85rem;
    border-radius: .5rem;
    transition: color .2s;
}

.lf-nav .nav-link:hover,
.lf-nav .nav-link.active {
    color: var(--lf-gold-light);
}

.lf-nav .nav-link.active:not(.lf-lang-toggle) {
    box-shadow: inset 0 -2px 0 var(--lf-gold);
    border-radius: 0;
}

.lf-nav .navbar-toggler {
    border-color: var(--lf-border);
}

.lf-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(199, 174, 106, .3);
}

.lf-nav .navbar-toggler-icon {
    filter: invert(.8) sepia(.6) saturate(2) hue-rotate(5deg);
}

@media (max-width: 991.98px) {
    .lf-nav .navbar-collapse {
        background: rgba(5, 5, 5, .96);
        margin: .6rem -.75rem 0;
        padding: .5rem 1rem 1rem;
        border-top: 1px solid var(--lf-border);
    }

    .lf-nav .nav-link.active:not(.lf-lang-toggle) {
        box-shadow: none;
    }
}

.lf-dropdown {
    background: #0b0f0d;
    border: 1px solid var(--lf-border);
}

.lf-dropdown .dropdown-item {
    color: var(--lf-text);
}

.lf-dropdown .dropdown-item:hover,
.lf-dropdown .dropdown-item:focus {
    background: var(--lf-green-dark);
    color: var(--lf-gold-light);
}

.lf-dropdown .dropdown-item.active {
    background: var(--lf-green);
    color: #fff;
}

/* Hero */
.lf-hero {
    padding: 9rem 0 4rem;
    background:
        radial-gradient(900px 500px at 85% 15%, rgba(2, 115, 85, .35), transparent 60%),
        radial-gradient(700px 450px at 0% 100%, rgba(1, 65, 48, .45), transparent 60%),
        var(--lf-bg);
    position: relative;
}

.lf-kicker {
    color: var(--lf-green-bright);
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .85rem;
    margin-bottom: 1rem;
}

.lf-hero-name {
    font-size: clamp(3rem, 9vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.02;
    margin-bottom: 1.5rem;
}

.lf-lead {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    color: var(--lf-muted);
    max-width: 38rem;
}

.lf-hero-logo img {
    max-width: 320px;
    filter: drop-shadow(0 0 40px rgba(199, 174, 106, .25));
}

.lf-stat {
    text-align: center;
    padding: 1.25rem .5rem;
    border: 1px solid var(--lf-border);
    border-radius: 1rem;
    background: rgba(15, 20, 18, .7);
}

.lf-stat-num {
    font-size: clamp(1.8rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
}

.lf-stat-label {
    color: var(--lf-muted);
    font-size: clamp(.72rem, 1.8vw, .95rem);
    margin-top: .25rem;
}

/* Buttons */
.lf-btn-gold {
    background: var(--lf-gold-grad);
    background-size: 200% 100%;
    background-position: 0 0;
    color: #1a1204;
    font-weight: 700;
    border: 0;
    transition: background-position .4s, transform .2s, box-shadow .2s;
}

.lf-btn-gold:hover {
    background-position: 100% 0;
    color: #1a1204;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(199, 174, 106, .25);
}

.lf-btn-outline {
    border: 1px solid var(--lf-gold);
    color: var(--lf-gold-light);
    font-weight: 600;
    transition: background .2s, transform .2s;
}

.lf-btn-outline:hover {
    background: rgba(2, 115, 85, .35);
    color: #fff;
    transform: translateY(-2px);
}

/* Sections */
.lf-section {
    padding: 6rem 0;
}

.lf-section-alt {
    background: var(--lf-bg-alt);
    border-top: 1px solid rgba(199, 174, 106, .1);
    border-bottom: 1px solid rgba(199, 174, 106, .1);
}

.lf-title {
    text-align: center;
    font-weight: 800;
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    letter-spacing: -.02em;
    margin-bottom: 1rem;
}

.lf-title::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    margin: 1rem auto 0;
    border-radius: 2px;
    background: var(--lf-gold-grad);
}

.lf-sub {
    text-align: center;
    color: var(--lf-muted);
    max-width: 44rem;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.lf-text {
    color: #d7dbd8;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

/* Cards */
.lf-card {
    position: relative;
    background: var(--lf-card);
    border: 1px solid var(--lf-border);
    border-radius: 1.1rem;
    padding: 1.75rem;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}

.lf-card:hover {
    transform: translateY(-4px);
    border-color: var(--lf-gold);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .5), 0 0 0 1px rgba(199, 174, 106, .15);
}

.lf-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 1rem 0 .75rem;
    color: var(--lf-gold-soft);
}

.lf-card-featured {
    background: linear-gradient(145deg, rgba(1, 65, 48, .75), var(--lf-card) 70%);
    border-color: rgba(199, 174, 106, .4);
}

.lf-card-ai {
    background: linear-gradient(145deg, rgba(2, 115, 85, .55), rgba(1, 65, 48, .6) 45%, var(--lf-card) 100%);
    border-color: var(--lf-gold);
    box-shadow: 0 0 40px rgba(3, 165, 122, .12);
}

.lf-card-featured h3 {
    font-size: 1.55rem;
}

.lf-card-lead {
    color: var(--lf-muted);
    margin-bottom: 1rem;
}

.lf-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: .3rem .8rem;
    border-radius: 2rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--lf-gold-grad);
    color: #1a1204;
}

.lf-card-icon {
    width: 3.2rem;
    height: 3.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .9rem;
    font-size: 1.5rem;
    color: var(--lf-gold-light);
    background: linear-gradient(135deg, var(--lf-green), var(--lf-green-dark));
    border: 1px solid rgba(199, 174, 106, .35);
}

.lf-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lf-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: .55rem;
    color: #d3d8d5;
    line-height: 1.5;
}

.lf-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .5em;
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
    background: var(--lf-gold-grad);
}

/* Timeline */
.lf-timeline {
    position: relative;
    max-width: 46rem;
    margin: 0 auto;
    padding-left: 2.5rem;
}

.lf-timeline::before {
    content: '';
    position: absolute;
    left: .55rem;
    top: .4rem;
    bottom: .4rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--lf-gold), var(--lf-green));
}

.lf-tl-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.lf-tl-item:last-child {
    padding-bottom: 0;
}

.lf-tl-dot {
    position: absolute;
    left: -2.5rem;
    top: .55rem;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: var(--lf-bg);
    border: 3px solid var(--lf-gold);
    box-shadow: 0 0 0 4px rgba(2, 115, 85, .35);
}

.lf-tl-year {
    font-size: 1.6rem;
    font-weight: 800;
    display: inline-block;
}

.lf-tl-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: .1rem 0 .4rem;
}

.lf-tl-item p {
    color: var(--lf-muted);
    margin: 0;
    line-height: 1.7;
}

/* Languages */
.lf-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1.2rem;
    border: 1px solid var(--lf-border);
    border-radius: 2rem;
    background: var(--lf-card);
    color: var(--lf-gold-soft);
    font-weight: 600;
}

.lf-chip .lf-flag {
    flex: 0 0 1.6rem;
    display: inline-block;
    width: 1.6rem;
    min-width: 1.6rem;
    height: 1.6rem;
    line-height: 1.6rem;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 0 1px rgba(199, 174, 106, .45);
}

/* Contact form */
.lf-form {
    background: var(--lf-card);
    border: 1px solid var(--lf-border);
    border-radius: 1.1rem;
    padding: 2rem;
}

.lf-form .form-label {
    color: var(--lf-gold-soft);
    font-weight: 600;
}

.lf-form .form-control {
    background: #070a09;
    color: var(--lf-text);
    border: 1px solid var(--lf-border);
}

.lf-form .form-control:focus {
    border-color: var(--lf-gold);
    box-shadow: 0 0 0 .2rem rgba(199, 174, 106, .25);
}

.lf-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lf-captcha {
    border-radius: .5rem;
    border: 1px solid var(--lf-border);
    max-width: 100%;
    height: auto;
}

.lf-captcha-input {
    width: 9rem;
    text-transform: uppercase;
    letter-spacing: .2em;
    font-weight: 700;
}

.lf-status {
    font-weight: 600;
}

.lf-status.ok {
    color: var(--lf-green-bright);
}

.lf-status.err {
    color: #ff8a80;
}

@media (max-width: 575.98px) {
    .lf-form {
        padding: 1.25rem;
    }
}

/* Footer */
.lf-footer {
    padding: 2rem 0;
    border-top: 1px solid var(--lf-border);
    color: var(--lf-muted);
    background: #030303;
}

/* Reveal on scroll */
.js .lf-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.js .lf-reveal.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .js .lf-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 575.98px) {
    .lf-section {
        padding: 4rem 0;
    }

    .lf-hero {
        padding-top: 7rem;
    }

    .lf-hero-logo img {
        max-width: 200px;
    }

    .lf-badge {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }
}
