:root {
    --primary: #0a1628;
    --primary-light: #1a2d4a;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --steel: #64748b;
    --steel-light: #94a3b8;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gradient-dark: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.3); }
    50% { box-shadow: 0 0 40px rgba(245, 158, 11, 0.6); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

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

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes rotateIn {
    from { opacity: 0; transform: rotate(-10deg) scale(0.9); }
    to { opacity: 1; transform: rotate(0) scale(1); }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(245, 158, 11, 0.3); }
    50% { border-color: rgba(245, 158, 11, 0.8); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(20px) rotate(360deg); opacity: 0; }
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    width: 100%;
}

header.scrolled {
    background: rgba(10, 22, 40, 0.98);
    box-shadow: var(--shadow-lg);
}

header.hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

header .container {
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.logo:hover .logo-icon {
    transform: rotateY(10deg) rotateX(5deg);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

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

.logo-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--steel-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.lang-switch {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 8px;
}

.lang-switch button {
    color: var(--steel-light);
    background: transparent;
    border: none;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.lang-switch button.active {
    color: var(--white);
    background: var(--accent);
}

.lang-switch button:hover:not(.active) {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    background-size: 200% 200%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4);
    animation: gradientShift 2s ease infinite;
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--steel);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
    transform: translateY(-3px);
}

.btn-dark {
    background: var(--primary);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--primary-light);
}

.mobile-menu-btn {
    display: none;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--white);
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    position: relative;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(245, 158, 11, 0.25);
    border-color: rgba(245, 158, 11, 0.5);
}

.mobile-menu-btn.active {
    background: var(--accent);
    border-color: var(--accent);
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 18px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-btn.active .hamburger span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
    transform: translateY(-50%) scaleX(0);
    opacity: 0;
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--primary);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transition: all 0.4s ease;
    padding: 100px 20px 40px;
    padding-top: max(100px, env(safe-area-inset-top, 100px));
    padding-bottom: max(40px, env(safe-area-inset-bottom, 40px));
}

.mobile-menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
    z-index: -1;
}

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

.mobile-menu-content {
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active .mobile-menu-content {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 8px;
    backdrop-filter: blur(10px);
}

.mobile-nav-links li {
    margin-bottom: 4px;
    transform: translateX(-30px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-links li:last-child {
    margin-bottom: 0;
}

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

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

.mobile-nav-links a {
    display: block;
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    padding: 16px 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: scale(1.02);
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
    margin-top: 20px;
}

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

.mobile-lang-switch {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 10px;
}

.mobile-lang-switch button {
    color: var(--steel-light);
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.mobile-lang-switch button.active {
    color: var(--white);
    background: var(--accent);
}

.mobile-cta {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 16px 32px;
    font-size: 16px;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

@media (max-width: 768px) {
    .mobile-menu {
        padding: 90px 16px 30px;
    }
    
    .mobile-menu-content {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        padding: 80px 12px 24px;
    }
}

.hero {
    min-height: 100vh;
    background: var(--gradient-dark);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    overflow-x: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?w=1920&q=80') center/cover;
    opacity: 0.15;
    transition: transform 0.3s ease-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--primary), transparent);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

@media (max-width: 768px) {
    .hero-particles {
        display: none;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 8px 16px;
    border-radius: 100px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    animation: slideInUp 0.8s ease forwards, borderGlow 3s ease-in-out infinite;
    opacity: 0;
    animation-delay: 0.2s;
}

.hero-badge i {
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-title span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
}

.hero-title span:nth-child(1) { animation-delay: 0.4s; }
.hero-title span:nth-child(3) { animation-delay: 0.6s; }
.hero-title span:nth-child(5) { animation-delay: 0.8s; }

.hero-description {
    font-size: 18px;
    color: var(--steel-light);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 1s;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 1.2s;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 1.4s;
}

.stat-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item:hover .stat-number {
    text-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
    transition: text-shadow 0.3s ease;
}

.stat-number span {
    color: var(--accent);
}

.stat-label {
    font-size: 14px;
    color: var(--steel-light);
    transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
    color: var(--accent);
}

.section {
    padding: 120px 0;
    overflow-x: hidden;
}

#history.section {
    overflow-x: visible;
    position: relative;
}

#history.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80') center/cover;
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
}

#history .container {
    position: relative;
    z-index: 3;
}

@media (max-width: 768px) {
    #history.section {
        overflow-x: hidden;
    }
    
    #history .container {
        overflow: visible;
    }
}

#products.section {
    position: relative;
}

#products .container {
    position: relative;
    z-index: 3;
}

#workshops.section {
    position: relative;
}

#workshops.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1496247749665-49cf5b1022e9?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8N3x8UHJvZHVjdGlvbnxlbnwwfHwwfHx8MA%3D%3D') center/cover;
    opacity: 0.35;
    z-index: 1;
    pointer-events: none;
}

#workshops .container {
    position: relative;
    z-index: 3;
}

#partners.section {
    position: relative;
}

#partners.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?w=1920&q=80') center/cover;
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
}

#partners .container {
    position: relative;
    z-index: 3;
}

.section-dark {
    color: var(--white);
    position: relative;
}

.section-dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    opacity: 0.70;
    z-index: 2;
    pointer-events: none;
}

.section-dark .container {
    position: relative;
    z-index: 3;
}

.section-gray {
    position: relative;
}

.section-gray::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-50);
    opacity: 0.70;
    z-index: 2;
    pointer-events: none;
}

.section-gray .container {
    position: relative;
    z-index: 3;
}

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

.section-label {
    display: inline-block;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    position: relative;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--accent);
    transform: translateY(-50%);
    opacity: 0.5;
}

.section-label::before {
    right: calc(100% + 12px);
}

.section-label::after {
    left: calc(100% + 12px);
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-dark .section-title {
    color: var(--white);
}

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

.section-dark .section-subtitle {
    color: var(--steel-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.08);
}

.about-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--gradient-accent);
    padding: 16px 24px;
    border-radius: 12px;
    color: var(--white);
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.about-image-badge .years {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.about-image-badge .text {
    font-size: 13px;
    opacity: 0.9;
}

.about-content h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.about-content p {
    color: var(--steel);
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: default;
}

.about-feature:hover {
    background: var(--white);
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.about-feature i {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: transform 0.3s ease;
}

.about-feature:hover i {
    transform: rotate(360deg);
}

.about-feature span {
    font-weight: 500;
    font-size: 14px;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: visible;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-light);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 48px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-content {
    background: var(--primary-light);
    padding: 32px;
    border-radius: 16px;
    max-width: 400px;
    position: relative;
    margin-right: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 40px;
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
    transition: all 0.4s ease;
    z-index: 2;
}

.timeline-item:hover .timeline-year {
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.6);
}

.timeline-content {
    background: var(--primary-light);
    padding: 32px;
    border-radius: 16px;
    max-width: 400px;
    position: relative;
    margin-right: 40px;
    transition: all 0.4s ease;
}

.timeline-content:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.timeline-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
    transition: color 0.3s ease;
}

.timeline-content:hover h4 {
    color: var(--accent);
}

.timeline-content p {
    color: var(--steel-light);
    font-size: 15px;
    line-height: 1.7;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, transparent, var(--accent), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(10, 22, 40, 0.2);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image-overlay {
    opacity: 1;
}

.product-content {
    padding: 24px;
}

.product-icon {
    width: 56px;
    height: 56px;
    background: var(--gray-100);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.product-icon i {
    font-size: 24px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.product-card:hover .product-icon {
    background: var(--gradient-accent);
}

.product-card:hover .product-icon i {
    color: var(--white);
}

.product-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-content p {
    color: var(--steel);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.product-link:hover {
    gap: 12px;
}

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.workshop-card {
    background: var(--primary-light);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.workshop-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1), transparent 50%);
    transition: all 0.6s ease;
    pointer-events: none;
}

.workshop-card:hover::before {
    top: -50%;
    left: -50%;
}

.workshop-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.workshop-icon {
    width: 72px;
    height: 72px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.workshop-card:hover .workshop-icon {
    background: var(--gradient-accent);
    transform: scale(1.1) rotateZ(5deg);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.workshop-icon i {
    font-size: 32px;
    color: var(--accent);
    transition: all 0.4s ease;
}

.workshop-card:hover .workshop-icon i {
    color: var(--white);
    transform: scale(1.1);
}

.workshop-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.workshop-card p {
    color: var(--steel-light);
    font-size: 14px;
    line-height: 1.6;
}

.cta-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    overflow-x: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 70%);
}

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

.cta-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: var(--steel-light);
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.partners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
    padding: 40px 0;
}

.partner-logo {
    height: 48px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
}

.contact-info h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-info p {
    color: var(--steel);
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(8px);
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-item-icon {
    background: var(--gradient-accent);
    transform: scale(1.1);
}

.contact-item-icon i {
    font-size: 20px;
    color: var(--accent);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-item-icon i {
    color: var(--white);
}

.contact-item-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item-content p {
    color: var(--steel);
    font-size: 15px;
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.map-container {
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    margin-top: 64px;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    background: var(--primary);
    padding: 80px 0 32px;
    color: var(--white);
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand p {
    color: var(--steel-light);
    margin: 20px 0 24px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.footer-social a i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.footer-social a:hover::before {
    transform: translateY(0);
}

.footer-social a:hover i {
    transform: scale(1.2);
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--steel-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--primary-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--steel-light);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--accent);
}

.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    border: none;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    animation: float 2s ease-in-out infinite;
}

.scroll-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.5);
    animation: none;
}

.scroll-top i {
    transition: transform 0.3s ease;
}

.scroll-top:hover i {
    transform: translateY(-3px);
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 1024px) {
    .nav-links,
    .nav-cta {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    .hero-particles {
        display: none;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .workshops-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline {
        padding: 0 10px;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 70px;
        padding-right: 10px;
        justify-content: flex-start;
    }

    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .timeline-year {
        left: 30px;
        transform: translateX(-50%);
        width: 50px;
        height: 50px;
        font-size: 12px;
    }

    .section-header {
        padding: 0 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    nav {
        padding: 12px 0;
    }

    .logo-icon {
        width: 44px;
        height: 44px;
    }

    .logo-title {
        font-size: 16px;
    }

    .logo-subtitle {
        font-size: 10px;
    }

    .hero {
        min-height: calc(100vh - 60px);
        padding-top: 80px;
    }

    .hero-content {
        padding-top: 40px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    .hero-title {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
        padding: 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .section-label::before,
    .section-label::after {
        display: none;
    }

    .about-content h3 {
        font-size: 26px;
    }

    .about-image img {
        height: 300px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-grid {
        gap: 32px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        border-radius: 16px;
    }

    .product-card::before {
        display: none;
    }

    .product-content {
        padding: 20px;
    }

    .workshops-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .workshop-card {
        padding: 24px;
    }

    .workshop-card::before {
        display: none;
    }

    .workshop-icon {
        width: 60px;
        height: 60px;
    }

    .workshop-icon i {
        font-size: 26px;
    }

    .timeline-content {
        padding: 24px;
    }

    .contact-grid {
        gap: 32px;
    }

    .contact-form {
        padding: 24px;
        border-radius: 16px;
    }

    .contact-info h3 {
        font-size: 24px;
    }

    .map-container {
        height: 280px;
        border-radius: 16px;
        margin-top: 40px;
    }

    .partners {
        gap: 24px;
        flex-direction: column;
    }

    .partners > div {
        width: 100%;
        justify-content: center;
    }

    footer {
        padding: 60px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .footer-brand .logo {
        justify-content: center;
    }

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

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

    .cta-content h2 {
        font-size: 26px;
    }

    .cta-content p {
        font-size: 15px;
    }

    .cta-section::before,
    .cta-section::after {
        display: none;
    }

    .hero-stats {
        margin-top: 40px;
        padding-top: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        font-size: 12px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .about-image-badge {
        padding: 12px 16px;
    }

    .about-image-badge .years {
        font-size: 28px;
    }

    .timeline {
        padding: 0 5px;
        margin: 0 -5px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 55px;
        padding-right: 5px;
    }

    .timeline::before {
        left: 25px;
    }

    .timeline-year {
        left: 25px;
        width: 44px;
        height: 44px;
        font-size: 11px;
    }

    .timeline-content {
        padding: 20px;
        border-radius: 12px;
    }

    .mobile-nav-links a {
        font-size: 20px;
        padding: 14px 16px;
    }
}

.form-group.focused label {
    color: var(--accent);
    transform: translateY(-2px);
}

.form-group label {
    transition: all 0.3s ease;
}

.form-group.focused input,
.form-group.focused textarea {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.stat-number.animated {
    animation: pulse 0.5s ease;
}

.hero::before {
    transform: translateY(calc(var(--scroll-parallax, 0px) * 0.5));
}

.hero-content {
    transform: translateY(calc(var(--scroll-parallax, 0px) * -0.2));
}

.nav-links a {
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a::after {
    display: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.product-link i {
    transition: transform 0.3s ease;
}

.product-link:hover i {
    animation: float 1s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1), transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.map-container {
    transition: all 0.4s ease;
}

.map-container:hover {
    transform: scale(1.01);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.contact-form {
    transition: all 0.4s ease;
}

.contact-form:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.partners > div {
    transition: all 0.4s ease;
    padding: 16px 24px;
    border-radius: 12px;
}

.partners > div:hover {
    background: var(--gray-100);
    transform: scale(1.05);
}

.partners > div:hover i {
    color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
