/* ===== VARIABLES ===== */
:root {
    --primary: #0ea5e9; /* Светло-синий акцент */
    --primary-hover: #0284c7; /* Темно-синий акцент при наведении */
    --secondary: #38bdf8;
    --bg-main: #0B0F19; /* Глубокий темный фон */
    --bg-card: rgba(21, 26, 40, 0.65); /* Полупрозрачный фон для карточек (glassmorphism) */
    --bg-card-hover: rgba(30, 41, 60, 0.8);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --border-color: rgba(14, 165, 233, 0.2);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    --font-main: 'Inter', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & GLOBAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Global Background Texture to unify the site */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('hero_bg.webp');
    background-size: cover;
    background-position: center;
    filter: blur(40px);
    opacity: 0.15;
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

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

.mb-4 { margin-bottom: 24px; }
.mt-4 { margin-top: 24px; }
.mt-3 { margin-top: 1rem; }
.mt-5 { margin-top: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-100 { width: 100%; }

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 8px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 32px;
    font-weight: 600;
}

/* ===== COMPONENTS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(14, 165, 233, 0.1);
    border-color: var(--primary);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 15px 0;
    background-color: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 0 4px rgba(14, 165, 233, 0.3));
    transition: var(--transition);
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.7));
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary);
    font-weight: 400;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

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

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

/* Language Switcher */
.lang-switcher {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

#langSelect {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.9rem;
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8fafc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 32px;
}

#langSelect:hover, #langSelect:focus {
    border-color: var(--primary);
    background-color: rgba(14, 165, 233, 0.1);
}

#langSelect option {
    background: var(--bg-main);
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('hero_bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.5) 100%);
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
    margin-left: -380px; /* Принудительно смещаем еще левее */
}

.hero-container {
    max-width: 1400px; /* Сдвигает текст левее на больших экранах */
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid var(--border-color);
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--secondary), #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== ABOUT SECTION ===== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.feature p {
    font-size: 0.95rem;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 15, 25, 0.8), transparent);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 20px 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.exp-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.exp-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== PRODUCTS SECTION ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), #4f46e5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    background: rgba(255,255,255,0.03);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.card-icon i {
    color: var(--primary);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== CATEGORY DETAILS VIEW ===== */
.category-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

@media (min-width: 768px) {
    .category-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.back-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--text-main);
    transform: translateX(-5px);
}

.subproducts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.subproduct-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.subproduct-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.subproduct-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
}

.subproduct-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

.stock-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.stock-badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
}

/* ===== CONTACTS SECTION ===== */
.contacts-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-method:hover {
    border-color: var(--border-color);
    background: rgba(14, 165, 233, 0.05);
}

.method-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method-text span, .method-text a {
    font-size: 1.1rem;
    font-weight: 500;
}

.method-text a:hover {
    color: var(--primary);
}

.dark-map {
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(110%);
    transition: var(--transition);
}

.dark-map:hover {
    filter: invert(90%) hue-rotate(180deg) brightness(100%) contrast(115%);
}

.social-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.social-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.social-link i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--primary);
    background: rgba(14, 165, 233, 0.1);
    transform: translateY(-2px);
}

.social-link:hover i {
    color: var(--text-main);
}

.tg-btn {
    background: #0088cc;
    color: white;
    font-size: 1.1rem;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}

.tg-btn:hover {
    background: #0099e6;
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.6);
}

.wa-btn {
    background: #25D366;
    color: white;
    font-size: 1.1rem;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    margin-top: 15px;
}

.wa-btn:hover {
    background: #1EBE55;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ===== PARTNERS ===== */
.partners {
    background: transparent;
    padding-top: 80px;
    padding-bottom: 80px;
}
.title-underline {
    width: 60px;
    height: 4px;
    background: #0ea5e9;
    border-radius: 2px;
    margin-top: 15px;
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.partner-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    height: 320px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--glass-border);
}
.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(14, 165, 233, 0.3);
}
.partner-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Gradient mimicking the screenshot */
    background: linear-gradient(135deg, #aeb4b9 0%, #2c3440 100%);
}
.partner-logo {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 110px;
    object-fit: contain;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
}
.partner-card:hover .partner-logo {
    transform: translate(-50%, -55%) scale(1.05);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.partner-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 24px;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    /* Removed the dark gradient so the gray gradient background shines through */
    background: transparent;
}
.partner-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-transform: uppercase;
}
.p-dot {
    margin: 0 8px;
    opacity: 0.5;
}
.partner-name {
    margin-top: auto;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.partner-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.partner-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 12px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.partner-footer i {
    font-size: 1.2rem;
    color: var(--primary);
}

/* ===== CERTIFICATES ===== */
.certificates {
    background: transparent;
    padding-top: 80px;
    padding-bottom: 80px;
}
.cert-hero {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}
.cert-text {
    flex: 1;
}
.cert-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.cert-label {
    display: inline-block;
    color: #0ea5e9;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}
.cert-subtitle {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 25px;
}
.cert-desc-box {
    border-left: 4px solid #0ea5e9;
    padding-left: 20px;
}
.cert-desc-box p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}
.cert-main-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 480px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}
.cert-main-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    border-color: rgba(14, 165, 233, 0.3);
}
.cert-main-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.cert-check {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.cert-main-card-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 700;
}
.cert-main-card-header span {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cert-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}
.cert-line {
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}
.cert-pills {
    display: flex;
    gap: 10px;
}
.cert-pill {
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.05);
}
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.cert-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
}
.cert-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-color: rgba(14, 165, 233, 0.3);
}
.cert-icon {
    width: 48px;
    height: 48px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.cert-item-text h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: var(--text-main);
}
.cert-item-text p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .cert-hero {
        flex-direction: column;
    }
    .cert-main-card {
        transform: none;
    }
    .cert-main-card:hover {
        transform: none;
    }
}
@media (max-width: 768px) {
    .cert-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: #06090e;
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
}

.footer-logo img {
    height: 50px;
    filter: drop-shadow(0 0 3px rgba(14, 165, 233, 0.2));
    transition: var(--transition);
}

.footer-logo:hover img {
    filter: drop-shadow(0 0 6px rgba(14, 165, 233, 0.6));
    transform: scale(1.1);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-copy {
    margin-top: 20px;
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.6);
}

/* ===== ANIMATIONS & UTILS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content.detailed-modal {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    transform: rotate(90deg);
}

/* Detailed Layout inside Modal */
.detailed-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.detailed-header {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.detailed-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--primary);
    box-shadow: inset 0 0 20px rgba(14, 165, 233, 0.05);
}

.detailed-category {
    text-transform: uppercase;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.detailed-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
    line-height: 1.2;
}

.detailed-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge i {
    color: var(--secondary);
}

.detailed-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 35px 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.section-title i {
    color: var(--secondary);
}

.applications-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.app-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.2s ease;
}

.app-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.app-card i {
    font-size: 1.3rem;
    margin-top: 2px;
    color: var(--secondary);
}

.app-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Right Column */
.info-box {
    background: rgba(255, 255, 255, 0.015);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.box-title {
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.properties-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.95rem;
}

.properties-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.properties-list li span {
    color: var(--text-muted);
}

.properties-list li strong {
    color: var(--text-main);
    font-weight: 600;
    text-align: right;
    max-width: 60%;
}

.supply-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.supply-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
}

.supply-list li::before {
    content: "•";
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
    top: 2px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .hero-content {
        margin-left: 0;
    }
}

@media (max-width: 992px) {
    .about-container, .contacts-container {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .detailed-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(11, 15, 25, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease;
        border-left: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        right: 0;
    }

    .lang-switcher {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }
    
    #langSelect {
        width: 100%;
        max-width: 200px;
        padding: 12px 16px;
        background-position: right 15px center;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .social-wrapper {
        padding: 24px;
    }
    
    .social-links-grid {
        grid-template-columns: 1fr;
    }
    
    .detailed-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .detailed-badges {
        justify-content: center;
    }
    .applications-grid {
        grid-template-columns: 1fr;
    }
    .modal-content.detailed-modal {
        padding: 30px 20px;
    }
}
