﻿/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Inter, sans-serif; background: #0a0e27; color: white; line-height: 1.6; }

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    backdrop-filter: blur(50px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}
.logo-img { height: 50px; max-width: 100px; object-fit: contain; }
.logo-text { font-size: 1.3rem; }
.logo-text .accent { color: #ff6b35; }
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}
.nav-links .nav-item a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.nav-links .nav-item a:hover { color: #fff; }
.nav-divider,
.nav-meta,
.nav-social {
    display: none;
}
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 18, 0.55);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 900;
}
.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
body.nav-open {
    overflow: hidden;
}
/* LANGUAGE DROPDOWN */
.lang-dropdown { position: relative; }
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.lang-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); }
.lang-btn:active { transform: scale(0.98); }
.lang-btn i { font-size: 0.9rem; opacity: 0.9; transition: transform 0.25s ease; }
.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    display: none;
    background: rgba(14,18,45,0.96);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(8, 12, 32, 0.45);
    padding: 6px;
    z-index: 3000;
}
.lang-menu button {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.9);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}
.lang-menu button:hover {
    background: rgba(255,255,255,0.08);
}
.lang-dropdown.open .lang-menu { display: block; }
.lang-dropdown.open .lang-btn .fa-chevron-down { transform: rotate(180deg); }
.lang-menu button.active {
    background: linear-gradient(135deg, rgba(255,107,53,0.2), rgba(247,127,0,0.15));
    color: #fff;
}
.mobile-menu {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);
    background: radial-gradient(circle at top, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}
.mobile-menu::before {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: inset 0 6px 14px rgba(255,255,255,0.1);
    opacity: 0.6;
    transition: transform 0.35s ease, opacity 0.35s ease;
}
.mobile-menu::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.35), rgba(255,255,255,0));
    filter: blur(0.5px);
    opacity: 0.75;
    transition: transform 0.35s ease, opacity 0.35s ease;
}
.mobile-menu .bar {
    position: absolute;
    left: 50%;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff6b35, #fcbf49);
    box-shadow: 0 0 6px rgba(255,107,53,0.35);
    transform: translateX(-50%);
    transition: transform 0.35s ease, opacity 0.35s ease, width 0.35s ease;
}
.mobile-menu .bar:nth-child(1) { top: 16px; }
.mobile-menu .bar:nth-child(2) { top: 22px; width: 16px; }
.mobile-menu .bar:nth-child(3) { top: 28px; }
.mobile-menu:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.28);
    border-color: rgba(255,255,255,0.55);
}
.mobile-menu.active .bar:nth-child(1) {
    top: 22px;
    width: 22px;
    transform: translate(-50%, 0) rotate(45deg);
}
.mobile-menu.active .bar:nth-child(2) {
    opacity: 0;
    transform: translate(-50%, 0);
}
.mobile-menu.active .bar:nth-child(3) {
    top: 22px;
    width: 22px;
    transform: translate(-50%, 0) rotate(-45deg);
}
.mobile-menu.active::before {
    opacity: 0.4;
    transform: scale(1.15);
}
.mobile-menu.active::after {
    opacity: 0;
    transform: scale(0.6);
}

/* BACKGROUND LAYERS */
.bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    mix-blend-mode: screen;
}
.sphere-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,107,53,0.45), transparent);
    top: -220px;
    left: -200px;
}
.sphere-2 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(102,126,234,0.35), transparent);
    bottom: -180px;
    right: -160px;
}
.sphere-3 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(247,127,0,0.3), transparent);
    top: 45%;
    right: 12%;
}
.noise-texture {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 4px 4px;
    opacity: 0.12;
    mix-blend-mode: overlay;
}

/* SECTIONS */
section {
    position: relative;
    padding: clamp(80px, 8vw, 140px) 2rem;
    z-index: 1;
}
.section-container {
    max-width: 1300px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fcbf49;
    letter-spacing: 0.5px;
}
.section-title {
    font-family: Space Grotesk, sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
}
.section-subtitle {
    max-width: 620px;
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 2rem 120px;
    background: #0a0e27 url('Hero.svg') center/cover no-repeat;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 39, 0.65);
}
.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    align-items: flex-start;
}
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 640px;
}
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50px;
    font-size: 0.85rem; font-weight: 600;
    color: #fcbf49; width: fit-content;
}
.hero-title {
    font-family: Space Grotesk, sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800; line-height: 1.1; letter-spacing: -2px;
}
.title-line { display: block; }
.gradient-text {
    background: linear-gradient(135deg, #ff6b35, #f77f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255,255,255,0.7);
    max-width: 540px; line-height: 1.7;
}
.hero-cta {
    display: flex; gap: 1rem; margin-top: 1rem; flex-wrap: wrap;
}
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px; border-radius: 12px;
    font-weight: 600; text-decoration: none;
    transition: all 0.3s; border: none; cursor: pointer;
}
.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #f77f00);
    color: white;
    box-shadow: 0 8px 24px rgba(255,107,53,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255,107,53,0.4);
}
.btn-outline {
    background: transparent; color: white;
    border: 2px solid rgba(255,255,255,0.2);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.hero-stats {
    display: flex; gap: 2rem; margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 16px; width: fit-content; flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
    font-size: 2rem; font-weight: 800;
    background: linear-gradient(135deg, #ff6b35, #f77f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1;
}
.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}
.stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.2);
}
/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1;
}
.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    position: relative;
}
.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 4px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.8s infinite;
}
@keyframes scrollWheel {
    0%, 20% { opacity: 0; transform: translate(-50%, 0); }
    30%, 60% { opacity: 1; transform: translate(-50%, 10px); }
    70%, 100% { opacity: 0; transform: translate(-50%, 20px); }
}

/* GRIDS */
.services-grid,
.features-grid,
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.products-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* CARDS */
.service-card,
.product-category-card,
.feature-card,
.contact-card,
.client-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    will-change: transform, opacity;
}
.service-card:hover,
.product-category-card:hover,
.feature-card:hover,
.contact-card:hover,
.client-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(255,107,53,0.15);
}
.service-icon,
.feature-icon,
.contact-icon,
.client-icon {
    width: 70px; height: 70px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #ff6b35, #f77f00);
    border-radius: 16px; font-size: 2rem;
    color: white; margin-bottom: 1.5rem;
}
.partner-logo-icon {
    background: rgba(255,255,255,0.95) !important;
    padding: 18px;
    width: 120px;
    height: 120px;
    border-radius: 24px;
}
.partner-logo-small {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.client-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.4rem;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    line-height: 1;
}
.service-card h3,
.feature-card h3,
.contact-card h3,
.client-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.service-card p,
.feature-card p,
.client-card p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}
.feature-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255,255,255,0.05);
    line-height: 1;
}

/* PARTNERS */
.partners-section {
    padding-top: 60px;
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.4rem;
    align-items: stretch;
}
.partner-card {
    position: relative;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 22px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-height: 0;
    transition: transform 0.3s, box-shadow 0.3s;
}
.partner-card.highlight {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.28);
    box-shadow: 0 25px 70px rgba(255,107,53,0.18);
}
.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 55px rgba(99,102,241,0.25);
}
.partner-logo {
    width: 100%;
    height: 150px;
    border-radius: 18px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
    padding: 0.9rem;
}
.partner-logo img,
.partner-logo svg {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.partner-initials {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(15,23,42,0.8);
}
.partner-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.partner-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}
.partner-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.7);
}
.partners-empty {
    grid-column: 1 / -1;
    padding: 3rem;
    border-radius: 24px;
    background: rgba(255,255,255,0.05);
    border: 1px dashed rgba(255,255,255,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(255,255,255,0.6);
}

.partners-empty--full {
    grid-column: 1 / -1;
}

/* PRODUCTS */
.category-header {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 1.5rem; cursor: pointer;
}
.category-icon {
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #ff6b35, #f77f00);
    border-radius: 12px; font-size: 1.5rem; color: white;
}
.category-title {
    flex: 1; font-size: 1.4rem; font-weight: 700;
}
.category-toggle {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.catalogs-wrapper {
    display: grid; gap: 0.75rem;
    max-height: 0; overflow: hidden;
    transition: max-height 0.5s;
}
.product-category-card.open .catalogs-wrapper {
    max-height: 800px;
}
.catalog-tag {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; text-decoration: none;
    color: rgba(255,255,255,0.9);
    transition: all 0.2s;
}
.catalog-tag:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(8px);
}
.catalog-tag i { color: #ff6b35; }

.empty-state {
    text-align: center;
}

.empty-state__icon {
    font-size: 2rem;
    color: #fcbf49;
}

.empty-state__title {
    margin-top: 10px;
}

.empty-state__desc {
    color: rgba(255,255,255,0.75);
    max-width: 640px;
    margin: 8px auto 14px;
}

/* CONTACT */
.contact-items {
    display: flex; flex-direction: column; gap: 0.75rem;
}
.contact-link {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.2s;
}
.contact-link:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(4px);
}
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.2s ease;
}
.social-btn i {
    font-size: 1.4rem;
}
.social-btn:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

/* CONTACT FORM */
.contact-form { display: flex; flex-direction: column; gap: 0.8rem; }
.contact-form .form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: #fff;
    outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.6); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: rgba(255,255,255,0.3); }
.contact-form .form-actions {
    display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap;
}
.form-status { font-size: 0.9rem; color: rgba(255,255,255,0.75); min-height: 1.2em; }
.form-status.ok { color: #7CFC98; }
.form-status.err { color: #ff8a80; }
.btn.loading { opacity: 0.7; pointer-events: none; }

/* Enhanced contact form UI */
.contact-form--enhanced { gap: 1rem; }
.contact-form--enhanced .hp-field { display: none !important; }
.contact-form--enhanced .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.contact-form--enhanced .form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.contact-form--enhanced label { font-weight: 600; color: rgba(255,255,255,0.9); font-size: 0.95rem; }
.contact-form--enhanced .input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    padding-left: 42px;
}
.contact-form--enhanced .input-wrap i {
    position: absolute;
    left: 12px;
    color: rgba(255,255,255,0.75);
}
.contact-form--enhanced .input-wrap input,
.contact-form--enhanced .input-wrap textarea {
    border: none;
    background: transparent;
    padding: 14px 14px;
}
.contact-form--enhanced .textarea-wrap { align-items: flex-start; }
.contact-form--enhanced .textarea-wrap i { top: 14px; }
.contact-form--enhanced .error { color: #ff8a80; font-size: 0.85rem; min-height: 1em; }
.contact-form--enhanced .input-wrap:focus-within { border-color: rgba(255,255,255,0.35); box-shadow: 0 0 0 3px rgba(255,255,255,0.08) inset; }
.contact-form--enhanced input[aria-invalid="true"],
.contact-form--enhanced textarea[aria-invalid="true"] {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255,0,0,0.25);
}
.btn-submit { position: relative; }
.btn-submit .btn-spinner {
    width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%;
    display: none; margin-right: 6px; animation: spin 0.9s linear infinite;
}
.btn.loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 768px) {
  .contact-form--enhanced .form-grid { grid-template-columns: 1fr; }
}

/* FOOTER */
.modern-footer {
    background: #070a1a;
    padding: 60px 2rem 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-container {
    max-width: 1400px; margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem; margin-bottom: 3rem;
}
.footer-brand {
    display: flex; align-items: center; gap: 12px; margin-bottom: 1rem;
}
.footer-logo { height: 40px; }
.footer-brand h4 {
    font-size: 1.3rem; font-weight: 700;
}
.footer-desc {
    color: rgba(255,255,255,0.6);
    line-height: 1.7; margin-bottom: 1.5rem;
}
.footer-social {
    display: flex; gap: 12px;
}
.social-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 10px; color: white;
    text-decoration: none;
    transition: all 0.2s;
}
.social-icon:hover {
    background: linear-gradient(135deg, #ff6b35, #f77f00);
    transform: translateY(-3px);
}
.footer-col h4 {
    font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem;
}
.footer-links,
.footer-schedule,
.footer-contact {
    list-style: none;
    display: flex; flex-direction: column; gap: 0.75rem;
}
.footer-links a,
.footer-contact a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover,
.footer-contact a:hover {
    color: #ff6b35;
}
.footer-schedule li {
    display: flex; justify-content: space-between;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}
.footer-contact li {
    display: flex; align-items: center; gap: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}
.footer-contact i { color: #ff6b35; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom-links {
    display: flex; gap: 1.5rem;
}
.footer-bottom-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom-links a:hover {
    color: #ff6b35;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero {
        padding: 120px 1.5rem 100px;
    }
    .hero-container {
        align-items: center;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-subtitle {
        max-width: 100%;
    }
    .hero-stats {
        justify-content: center;
        align-self: center;
    }
    .services-grid,
    .features-grid,
    .clients-grid,
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Place language dropdown next to hamburger; hide it inside sidebar */
    .nav-links .lang-switch { display: none; }
    .lang-inline {
        position: fixed;
        top: 16px;
        right: 72px; /* space for hamburger at right */
        z-index: 2500;
    }
    .lang-inline .lang-btn {
        padding: 0;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0;
    }
    .lang-inline .lang-btn [data-current-lang],
    .lang-inline .lang-btn .fa-chevron-down { display: none; }
    .lang-inline .lang-btn .fa-globe { font-size: 1.05rem; }
    .lang-inline .lang-menu { right: 0; top: calc(100% + 6px); }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: min(340px, 88vw);
        height: 100vh;
        padding: 120px 32px 48px;
        background: linear-gradient(160deg, rgba(14,18,45,0.97) 0%, rgba(14,18,45,0.88) 40%, rgba(255,107,53,0.12) 100%);
        backdrop-filter: blur(24px);
        border-left: 1px solid rgba(255,255,255,0.08);
        box-shadow: -20px 0 40px rgba(7, 9, 24, 0.45);
        flex-direction: column;
        align-items: flex-start;
        gap: 1.4rem;
        transform: translateX(110%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.28s ease;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,0.2) transparent;
        z-index: 2000;
    will-change: transform, opacity;
    }
    .nav-links::-webkit-scrollbar {
        width: 4px;
    }
    .nav-links::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.18);
        border-radius: 999px;
    }
    .nav-links::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 20% 16%, rgba(255,255,255,0.18), transparent 55%);
        opacity: 0.25;
        pointer-events: none;
    }
    .nav-links::after {
        content: '';
        position: absolute;
        inset: 18px;
        border-radius: 28px;
        border: 1px solid rgba(255,255,255,0.08);
        pointer-events: none;
    }
    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
    /* Fallback: also open when body has nav-open (JS toggles this) */
    body.nav-open .nav-links {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links .nav-item {
        width: 100%;
        opacity: 0;
        transform: translateX(28px);
        transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s ease;
    }
    .nav-links.active .nav-item {
        opacity: 1;
        transform: translateX(0);
    }
    .nav-links.active .nav-item:nth-of-type(1) { transition-delay: 0.05s; }
    .nav-links.active .nav-item:nth-of-type(2) { transition-delay: 0.1s; }
    .nav-links.active .nav-item:nth-of-type(3) { transition-delay: 0.15s; }
    .nav-links.active .nav-item:nth-of-type(4) { transition-delay: 0.2s; }
    .nav-links.active .nav-item:nth-of-type(5) { transition-delay: 0.25s; }
    .nav-links.active .nav-item:nth-of-type(6) { transition-delay: 0.3s; }
    .nav-links.active .nav-item:nth-of-type(7) { transition-delay: 0.35s; }
    .nav-links .nav-item a {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 15px 18px;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
        border: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 18px 35px rgba(8, 12, 32, 0.35);
        color: #fff;
        font-weight: 600;
        letter-spacing: 0.3px;
        text-transform: uppercase;
        font-size: 0.95rem;
        position: relative;
        overflow: hidden;
        transition: transform 0.4s ease, border-color 0.3s ease, background 0.35s ease;
    }
    .nav-links .nav-item a::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, rgba(255,107,53,0.25), transparent 65%);
        opacity: 0;
        transition: opacity 0.35s ease;
        pointer-events: none;
    }
    .nav-links .nav-item a::after {
        content: '\f061';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.85rem;
        color: rgba(255,255,255,0.75);
        transition: transform 0.35s ease, color 0.35s ease;
    }
    .nav-links .nav-item a:hover {
        transform: translateX(-6px);
        border-color: rgba(255,255,255,0.35);
        background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
    }
    .nav-links .nav-item a:hover::before { opacity: 1; }
    .nav-links .nav-item a:hover::after {
        transform: translateX(6px);
        color: #fcbf49;
    }
    .nav-divider {
        display: block;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
        margin: 0.5rem 0 0.8rem;
        opacity: 0;
        transform: translateX(32px);
        transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s ease;
    }
    .nav-links.active .nav-divider {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.38s;
    }
    .nav-meta,
    .nav-social {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        padding: 20px 22px;
        background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 20px;
        box-shadow: 0 20px 45px rgba(8, 12, 32, 0.38);
        opacity: 0;
        transform: translateX(32px);
        transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s ease;
    }
    .nav-links.active .nav-meta {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.45s;
    }
    .nav-links.active .nav-social {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.52s;
    }
    .nav-meta-title,
    .nav-social-title {
        font-size: 0.9rem;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: rgba(255,255,255,0.65);
    }
    .nav-meta-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 14px;
        border-radius: 14px;
        background: rgba(10,14,39,0.55);
        border: 1px solid rgba(255,255,255,0.08);
        color: #fff;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        transition: transform 0.3s ease, border-color 0.3s ease;
    }
    .nav-meta-link i {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #ff6b35, #fcbf49);
        color: #0a0e27;
        font-size: 0.95rem;
    }
    .nav-meta-link:hover {
        transform: translateX(-4px);
        border-color: rgba(255,255,255,0.25);
    }
    .nav-meta-hours {
        font-size: 0.8rem;
        color: rgba(255,255,255,0.55);
        letter-spacing: 0.6px;
    }
    .nav-social-links {
        display: flex;
        gap: 0.75rem;
    }
    .nav-social-link {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 14px;
        border-radius: 14px;
        border: 1px solid rgba(255,255,255,0.08);
        background: rgba(10,14,39,0.6);
        color: #fff;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9rem;
        transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    }
    .nav-social-link i {
        font-size: 1.05rem;
    }
    .nav-social-link:hover {
        transform: translateY(-3px);
        border-color: rgba(255,255,255,0.25);
        background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05));
    }
    .mobile-menu {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 16px;
        right: 16px;
        margin-left: 0;
        z-index: 2500; /* above panel and overlay */
        pointer-events: auto;
    }
    .hero {
        padding: 110px 1.25rem 90px;
    }
    .hero-container {
        align-items: center;
        text-align: center;
    }
    .hero-cta { width: 100%; }
    .btn { width: 100%; justify-content: center; }
    .services-grid,
    .features-grid,
    .clients-grid,
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
        gap: 0.9rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .service-card,
    .feature-card,
    .client-card,
    .partner-card {
        width: 100%;
        padding: 1.2rem;
    }
    .contact-card {
        width: 100%;
        padding: 1.1rem;
        min-height: 240px;
    }
    .product-category-card {
        padding: 1.5rem;
    }
    .service-icon,
    .feature-icon,
    .contact-icon,
    .client-icon {
        width: 52px;
        height: 52px;
        font-size: 1.55rem;
        margin-bottom: 0.9rem;
    }
    .service-card h3,
    .feature-card h3,
    .contact-card h3,
    .client-card h3 {
        font-size: 1.18rem;
    }
    .service-card p,
    .feature-card p,
    .client-card p,
    .partner-description {
        line-height: 1.5;
        font-size: 1rem;
    }
    .partner-card {
        min-height: 260px;
    }
    .partner-logo {
        height: 160px;
        padding: 0.7rem;
    }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 100px 1rem 80px;
    }
    .hero-stats {
        flex-direction: column;
        width: 100%;
        gap: 1.2rem;
    }
    .hero-stats .stat-divider {
        display: none;
    }
    .scroll-indicator {
        bottom: 24px;
    }
}

@media (max-width: 480px) {
    .logo-img { height: 42px; }
    .hero-title {
        font-size: clamp(2.2rem, 11vw, 2.8rem);
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .services-grid,
    .features-grid,
    .clients-grid,
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
        gap: 0.75rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }
    .service-card,
    .feature-card,
    .client-card,
    .partner-card {
        width: 100%;
        padding: 1.08rem;
    }
    .contact-card {
        width: 100%;
        padding: 1rem;
        min-height: 220px;
    }
    .product-category-card {
        padding: 1.35rem;
    }
    .partner-card {
        min-height: 220px;
    }
    .partner-logo {
        padding: 0.6rem;
        height: 140px;
    }
    .lang-inline .lang-btn { width: 36px; height: 36px; }
    .service-card h3,
    .feature-card h3,
    .contact-card h3,
    .client-card h3 {
        font-size: 1.08rem;
    }
    .service-card p,
    .feature-card p,
    .client-card p,
    .partner-description {
        font-size: 0.92rem;
        line-height: 1.4;
    }
}

/* CATALOG GALLERY (public products.php) */
.catalog-topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    z-index: 1200;
}
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.topbar-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}
.topbar-btn { text-decoration: none; }
.topbar-logo .logo-img { height: 36px; width: auto; }
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff6b35, #f77f00);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 8px 24px rgba(255,107,53,0.28);
}
.download-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.download-btn i { font-size: 0.95rem; }
.download-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
    box-shadow: none;
}
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.2);
}
.back-btn:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }
@media (max-width: 520px) {
    .download-btn span, .back-btn span { display: none; }
    .download-btn, .back-btn { padding: 10px; }
}
.viber-gallery {
    padding: 100px 1rem 60px; /* account for fixed topbar */
}
.viber-gallery .gallery-header {
    max-width: 1100px;
    margin: 0 auto 24px;
    text-align: center;
}
.viber-gallery .gallery-title {
    font-family: Space Grotesk, sans-serif;
    font-size: clamp(1.6rem, 3.8vw, 2.4rem);
    font-weight: 800;
}
.viber-gallery .gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}
.viber-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.viber-gallery .gallery-item {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10,14,39,0.25);
    cursor: zoom-in;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.viber-gallery .gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(10,14,39,0.35);
}
.viber-gallery .gallery-thumb {
    aspect-ratio: 4 / 3;
    background: rgba(255,255,255,0.06);
}
.viber-gallery .gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.viber-gallery .gallery-caption {
    padding: 10px 12px 12px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    border-top: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}
.viber-gallery .gallery-empty {
    text-align: center;
    color: rgba(255,255,255,0.65);
    grid-column: 1 / -1;
    font-weight: 600;
    padding: 20px 0;
}

/* Fullscreen modal (shared lightweight) */
.fullscreen-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 4000;
}
.fullscreen-modal .modal-content {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fullscreen-modal img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
}
.fullscreen-modal .close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}
.fullscreen-modal .nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
}
.fullscreen-modal .nav-arrow-left { left: 12px; }
.fullscreen-modal .nav-arrow-right { right: 12px; }
.fullscreen-modal .modal-caption {
    color: #fff;
    margin-top: 10px;
    text-align: center;
    font-weight: 600;
}
