.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled .nav-item a {
    color: var(--color-text-primary);
}

.header.scrolled .nav-item a::after {
    background: var(--color-primary);
}

.logo-colored {
    display: none;
}

.header.scrolled .logo-white {
    display: none;
}

.header.scrolled .logo-colored {
    display: block;
}

.header.scrolled .hamburger span {
    background: var(--color-text-primary);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-item a {
    font-size: var(--text-base);
    color: var(--color-text-white);
    font-weight: 500;
    padding: var(--space-sm) 0;
    position: relative;
    transition: var(--transition-normal);
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition-normal);
}

.nav-item a:hover::after,
.nav-item.active a::after {
    width: 100%;
}

.header-light {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-light .nav-item a {
    color: var(--color-text-primary);
}

.header-light .nav-item a::after {
    background: var(--color-primary);
}

.header-light .hamburger span {
    background: var(--color-text-primary);
}

.nav-dropdown-trigger {
    position: relative;
}

.nav-dropdown-trigger>a::after {
    display: none !important;
}

.nav-dropdown-trigger:hover>a,
.nav-dropdown-trigger.active>a {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.header:not(.scrolled):not(.header-light) .nav-dropdown-trigger:hover>a,
.header:not(.scrolled):not(.header-light) .nav-dropdown-trigger.active>a {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--color-white);
    background-clip: unset;
}

.header:not(.scrolled):not(.header-light) .nav-dropdown-trigger>a::before {
    background: var(--color-white);
}

.header:not(.scrolled):not(.header-light) .nav-dropdown {
    border-top-color: var(--color-white);
}

.nav-dropdown-trigger>a {
    position: relative;
}

.nav-dropdown-trigger>a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #34ae49;
    transition: var(--transition-normal);
}

.nav-dropdown-trigger:hover>a::before,
.nav-dropdown-trigger.active>a::before {
    width: 40px;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 26px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(10px);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    border-top: 2px solid #34ae49;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 100;
}

.nav-dropdown-trigger:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-item {
    padding: 0;
}

.nav-dropdown-item a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
    color: var(--color-text-primary);
    -webkit-text-fill-color: initial;
    background: transparent;
    transition: var(--transition-normal);
    text-align: center;
    white-space: nowrap;
}

.nav-dropdown-item a::after {
    display: none;
}

.nav-dropdown-item a:hover,
.nav-dropdown-item.active a {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
    background: rgba(4, 139, 78, 0.05);
}

.header:not(.scrolled):not(.header-light) .nav-dropdown-item a:hover,
.header:not(.scrolled):not(.header-light) .nav-dropdown-item.active a {
    background: transparent;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--color-white);
    background-clip: unset;
}

.header:not(.scrolled):not(.header-light) .nav-dropdown-item:hover,
.header:not(.scrolled):not(.header-light) .nav-dropdown-item.active {
    background: rgba(4, 139, 78, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    margin: 3px 0;
    transition: var(--transition-normal);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: var(--z-modal);
    padding: var(--space-xl);
    padding-top: var(--space-4xl);
    transition: var(--transition-normal);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    color: var(--color-text-primary);
    font-size: var(--text-2xl);
}

.mobile-nav-item {
    margin-bottom: var(--space-lg);
}

.mobile-nav-item a {
    color: var(--color-text-primary);
    font-size: var(--text-lg);
    display: block;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid #eee;
    transition: var(--transition-normal);
}

.mobile-nav-item.active>a {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-nav-submenu {
    margin-left: var(--space-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.mobile-nav-submenu.active {
    max-height: 800px;
}

.mobile-nav-item.has-submenu>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-item.has-submenu>a::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--color-text-primary);
    border-bottom: 2px solid var(--color-text-primary);
    transform: rotate(45deg);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.mobile-nav-item.has-submenu.expanded>a::after {
    transform: rotate(-135deg);
}

.mobile-nav-item.has-submenu.active>a {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-nav-item.has-submenu.active>a::after {
    border-right-color: #34ae49;
    border-bottom-color: #34ae49;
}

.mobile-nav-submenu-item a {
    font-size: var(--text-base);
    padding: var(--space-sm) 0;
    border-bottom: none;
    color: var(--color-text-primary);
    -webkit-text-fill-color: initial;
    background: transparent;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.mobile-nav-submenu-item a::before {
    content: '—';
    margin-right: var(--space-sm);
    color: var(--color-text-primary);
}

.mobile-nav-submenu-item.active a,
.mobile-nav-submenu-item a:hover {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-nav-submenu-item.active a::before,
.mobile-nav-submenu-item a:hover::before {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: calc(var(--z-modal) - 1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.footer {
    background: #333333;
    color: var(--color-white);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: var(--space-4xl);
    margin-bottom: var(--space-2xl);
}

.footer-left {
    display: flex;
    gap: var(--space-4xl);
}

.footer-column h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--color-white);
}

.footer-column ul li {
    margin-bottom: var(--space-sm);
}

.footer-column ul li a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

.footer-column ul li a:hover {
    color: var(--color-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
}

.footer-grid li {
    white-space: nowrap;
}


.footer-company {
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--color-white);
    padding-bottom: var(--space-lg);
    margin-bottom: var(--space-2xl);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item img {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--space-lg);
    text-align: center;
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}