
html, body {
    max-width: 100%;
    overflow-x: hidden; 
    position: relative;
}
:root {
    --red: #D32F2F;
    --dark: #1A1A1B;
    --yellow: #FFD600;
    --glass: rgba(255, 255, 255, 0.8);
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #F2F2F2;
    overflow-x: hidden;
}

.hero-bg-text {
    position: absolute;
    top: 10%; left: 5%;
    font-family: 'Montserrat', sans-serif;
    font-size: 15vw; font-weight: 900;
    color: rgba(0,0,0,0.03);
    z-index: 0; pointer-events: none;
}

.hero {
    height: 100vh; display: flex; align-items: center;
    padding: 0 8%; position: relative;
}

.hero-container {
    display: flex; width: 100%; align-items: center; z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 5; 
}

.badge {
    background: var(--red); color: #fff;
    padding: 5px 12px; font-weight: 700; font-size: 14px;
    display: inline-block; margin-bottom: 20px;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 5rem; font-weight: 900; line-height: 0.9;
    margin: 0 0 30px 0;
}
h1 span { display: block; color: var(--red); }

.hero-visual {
    flex: 1; position: relative;
    display: flex; align-items: center; justify-content: center;
    animation: heroIn 2s ease forwards; overflow: visible;
}

#hero-boiler {
    width: 120%; display: block; 
    will-change: transform;
    filter: drop-shadow(20px 40px 60px rgba(0,0,0,0.25));
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
    animation: boiler-drift 8s ease-in-out infinite;
}

@keyframes boiler-drift {
    0%, 100% { transform: translate(0, 0) rotate(-2deg); }
    33% { transform: translate(10px, -15px) rotate(1deg); }
    66% { transform: translate(-15px, 10px) rotate(-1deg); }
}

@keyframes heroIn {
    from { opacity: 0; filter: blur(10px); }
    to { opacity: 1; filter: blur(0); }
}

.btn-main {
    background: var(--yellow); border: none;
    padding: 25px 45px; font-size: 18px; font-weight: 900;
    text-transform: uppercase; cursor: pointer;
    box-shadow: 10px 10px 0 var(--dark); transition: 0.2s;
    position: relative; overflow: hidden;
}

.btn-main:hover {
    transform: translate(-3px, -3px);
    box-shadow: 13px 13px 0 var(--dark);
}

.btn-main::after {
    content: ''; position: absolute;
    top: -50%; left: -150%;
    width: 200%; height: 200%;
    background: rgba(255,255,255,0.2);
    transform: rotate(45deg); transition: 0.5s;
}

.btn-main:hover::after { left: 150%; }

.btn-contact {
    background: var(--dark); color: #fff; border: none;
    padding: 10px 20px; font-weight: 700; text-transform: uppercase;
    font-size: 12px; cursor: pointer; transition: 0.3s;
}
.btn-contact:hover { background: var(--red); }

.grid-section {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 20px; padding: 40px 8%;
}

.card {
    height: 400px; background: #fff;
    position: relative; overflow: hidden; border: 1px solid #ddd;
}
.card img { width: 100%; height: 100%; object-fit: cover; }

.card-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 30px; background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}
.card-overlay.blue { background: #1A3A5A; height: 100%; }
.card-overlay.orange { background: #D35400; height: 100%; }

.accordion-section { padding: 40px 8%; background: #f2f2f2; }

.accordion-grid {
    display: flex; gap: 12px; height: 550px;
    width: 100%; align-items: stretch;
}

.acc-card {
    position: relative; flex: 1; overflow: hidden;
    background: #1a1a1b; border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer; min-width: 80px; border-radius: 15px;
}

.acc-card:hover { flex: 8; box-shadow: 0 30px 60px rgba(0,0,0,0.4); }

.acc-content h3 {
    position: absolute; top: 30px; left: 30px;
    font-family: 'Montserrat', sans-serif; font-size: 1.8rem;
    color: #fff; margin: 0; white-space: nowrap; z-index: 5;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.acc-card:hover .acc-content h3 { position: relative; top: 0; left: 0; }

.acc-content {
    position: absolute; bottom: 30px; left: 30px; right: 30px;
    padding: 30px; z-index: 2;
    background: rgba(239, 239, 243, 0.15); 
    backdrop-filter: blur(15px);      
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    box-sizing: border-box; border-radius: 12px;
    opacity: 0; transform: translateY(40px);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none; display: flex; flex-direction: column;
}

.acc-card:hover .acc-content {
    opacity: 1; transform: translateY(0);
    transition-delay: 0.1s; pointer-events: auto;
}

.acc-card p {
    font-size: 15px; line-height: 1.4; color: #eee;
    margin: 0; opacity: 0; max-height: 0; overflow: hidden;
    transition: all 0.4s ease;
}

.acc-card:hover p {
    opacity: 1; max-height: 200px; margin-top: 15px; transition-delay: 0.3s;
}

.blue-dark { background: #0c1622; }
.orange-industrial { background: #9b2d0b; }
.blue-light { background: #104b8d; }
.grey-industrial { background: #2c3e50; }
.red-industrial { background: #6b0a0a; }

.acc-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.acc-image img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.4; transition: 0.6s;
}
.acc-card:hover .acc-image img { opacity: 0.6; transform: scale(1.05); }

.btn-glass {
    position: relative; margin-top: 25px; padding: 14px 35px;
    background: transparent; color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: 'Montserrat', sans-serif; font-weight: 800;
    text-transform: uppercase; font-size: 11px; letter-spacing: 3px;
    cursor: pointer; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: fit-content; overflow: hidden; opacity: 0;
}

.acc-card:hover .btn-glass { opacity: 1; transition-delay: 0.4s; }

.btn-glass::before {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%; background: var(--red);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: -1;
}

.btn-glass:hover {
    color: #fff; border-color: var(--red);
    letter-spacing: 5px; box-shadow: 0 0 20px rgba(211, 47, 47, 0.4);
}
.btn-glass:hover::before { left: 0; }
.btn-glass::after {
    content: ''; position: absolute; width: 4px; height: 4px;
    border-top: 1px solid #fff; border-left: 1px solid #fff;
    top: 5px; left: 5px; transition: 0.3s;
}
.btn-glass:hover::after { border-color: #000; }

.data-section { padding: 60px 8%; background: #f2f2f2; }
.container-equal { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.info-block { background: #fff; padding: 40px; border: 1px solid #ddd; display: flex; flex-direction: column; }
.block-tag { color: #D32F2F; font-weight: 800; font-size: 11px; text-transform: uppercase; margin-bottom: 15px; }

.industrial-table { width: 100%; border-collapse: collapse; margin-top: auto; }
.industrial-table td { padding: 12px 0; border-bottom: 1px solid #eee; }
.industrial-table tr { opacity: 0; transform: translateX(-20px); transition: 0.5s ease; }
.tech-box.active tr { opacity: 1; transform: translateX(0); }
.tech-box.active tr:nth-child(1) { transition-delay: 0.1s; }
.tech-box.active tr:nth-child(2) { transition-delay: 0.2s; }
.tech-box.active tr:nth-child(3) { transition-delay: 0.3s; }
.tech-box.active tr:nth-child(4) { transition-delay: 0.4s; }
.tech-box.active tr:nth-child(5) { transition-delay: 0.5s; }


.main-footer { background: #1a1a1b; color: #fff; padding: 80px 0 0 0; border-top: 5px solid #D32F2F; }

.footer-bottom {
    background-color: #111111 !important; 
    padding: 20px 0 !important;
}

.footer-bottom p {
    color: #555555 !important; 
    margin: 0;
}
.contact-item, 
.contact-item .label,
.contact-item a {
    color: #ffffff !important;
}

.main-footer .footer-col ul li a {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

.footer-col h4 {
    font-family: 'Montserrat', sans-serif; font-weight: 800;
    text-transform: uppercase; font-size: 14px; letter-spacing: 1px;
    color: var(--yellow); margin-bottom: 25px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
    text-decoration: none; color: #bbb; font-size: 14px;
    font-weight: 600; transition: 0.3s; display: inline-block; padding: 4px 0;
}
.footer-col ul li a:hover {
    color: #ffcc00; 
    padding-left: 5px;
}
.main-footer .footer-col h4 {
    color: #ffd600 !important; 
    text-transform: uppercase;
    font-weight: 900;
}
.footer-container {
    max-width: 1400px; margin: 0 auto; padding: 0 8% 60px 8%;
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px;
}

.contact-item .phone {
    font-size: 18px; font-weight: 900; color: #fff;
    text-decoration: none; display: block; margin-top: 5px;
}
.contact-item .label {
    font-weight: 700;
    color: #ffffff; 
    margin-bottom: 4px;
}
.contact-item {
    margin-bottom: 15px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.footer-logo { background: #fff; color: #000; display: inline-block; padding: 5px 10px; font-weight: 900; font-size: 24px; margin-bottom: 20px; }
.footer-desc { color: #888; font-size: 14px; line-height: 1.6; margin-bottom: 25px; }

.footer-bottom {
    background-color: #111111; 
    padding: 25px 0;
    color: #555555; 
    font-size: 0.9rem;
    border-top: 1px solid rgba(0,0,0,0.05); 
}
.bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
.bottom-container p {
    margin: 0;
    opacity: 0.9;
}
.glass-nav {
    position: fixed; top: 0; left: 0; width: 100%; height: 80px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); z-index: 1000;
    display: flex; align-items: center;
}
.nav-container {
    width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 4%;
    display: flex; justify-content: space-between; align-items: center;
}
.logo-area { display: flex; align-items: center; gap: 15px; }
.nav-menu { display: flex; list-style: none; gap: 30px; }
.nav-menu a { text-decoration: none; color: var(--dark); font-weight: 700; font-size: 13px; text-transform: uppercase; transition: 0.3s; }
.nav-menu a:hover { color: var(--red); }
.brand-name { font-weight: 900; font-size: 18px; letter-spacing: 1px; color: var(--dark); line-height: 1; }
.sub-brand { font-size: 10px; text-transform: uppercase; color: var(--red); font-weight: 700; letter-spacing: 0.5px; margin-top: 4px; }
.logo-box { background: var(--dark); color: #fff; font-weight: 900; padding: 8px 12px; font-size: 1.2rem; letter-spacing: 1px; }

.industrial-header-light {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000; transition: all 0.3s ease;
}
.header-inner {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 40px; max-width: 1700px; margin: 0 auto;
}
.nav-logo-img { height: 45px; width: auto; display: block; }
.header-links { display: flex; list-style: none; align-items: center; gap: 20px; }
.header-links a {
    text-decoration: none; color: #333; font-size: 11px;
    font-weight: 800; letter-spacing: 0.8px; transition: 0.2s;
}
.header-links a:hover { color: var(--red); }
.sep { color: #ccc; font-size: 14px; font-weight: 300; pointer-events: none; }
.h-phone {
    color: #1a1a1b; text-decoration: none; font-weight: 900;
    font-size: 15px; margin-right: 25px; transition: 0.3s;
}
.h-phone:hover { color: var(--red); }
.h-btn {
    background: var(--red); border: none; color: #fff;
    padding: 10px 22px; font-size: 11px; font-weight: 900;
    text-transform: uppercase; letter-spacing: 1px; cursor: pointer;
    box-shadow: 4px 4px 0 rgba(211, 47, 47, 0.2); transition: 0.3s;
}
.h-btn:hover { transform: translateY(-2px); box-shadow: 6px 6px 0 rgba(211, 47, 47, 0.3); }

.services-section {
    text-align: center; 
    padding: 80px 8%;
}

.services-container { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px; 
    margin-top: 50px; 
}

.service-block {
    position: relative; 
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px; 
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-block::before {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 100%; height: 0; background: var(--red);
    transition: all 0.4s ease; z-index: 0; opacity: 0.1;
}

.service-block:hover {
    transform: translateY(-12px); 
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--red); 
    box-shadow: 0 20px 40px rgba(211, 47, 47, 0.1);
}

.service-block:hover::before { height: 100%; }

.s-number {
    font-family: 'Montserrat', sans-serif; 
    font-size: 100px; 
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03); 
    position: absolute; 
    top: -10px; 
    right: 10px;
    z-index: 1; 
    transition: 0.5s;
}

.service-block:hover .s-number { 
    color: rgba(211, 47, 47, 0.08); 
    transform: translateY(10px); 
}

.s-content { 
    position: relative; 
    z-index: 2; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.s-content h3 { font-size: 22px; color: var(--dark); margin-bottom: 15px; font-weight: 800; }
.s-content p { font-size: 15px; color: #666; line-height: 1.6; margin-bottom: 25px; }

.s-link {
    font-weight: 700; font-size: 12px; text-transform: uppercase;
    letter-spacing: 1px; color: var(--red); display: inline-block; transition: 0.3s;
    text-decoration: none;
}

.service-block:hover .s-link { letter-spacing: 3px; }

.service-deco {
    position: absolute; top: 20px; left: 20px; width: 15px; height: 15px;
    border-top: 2px solid rgba(0,0,0,0.1); border-left: 2px solid rgba(0,0,0,0.1); transition: 0.3s;
}
.service-block:hover .service-deco { border-color: var(--red); width: 25px; height: 25px; }

.gallery-section { padding: 100px 8%; background: #f0f2f5; }
.gallery-section .section-header { margin-bottom: 60px; text-align: center; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 1400px; margin: 0 auto; }
.gallery-item {
    position: relative; overflow: hidden; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); cursor: pointer; transition: transform 0.3s ease-in-out;
}
.gallery-item img {
    width: 100%; height: 300px; object-fit: cover;
    filter: brightness(0.9) grayscale(10%); transition: all 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.1); filter: brightness(1) grayscale(0%); }
.gallery-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 20px;
    background: rgba(255, 255, 255, 0.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.5); color: var(--dark);
    transform: translateY(100%); transition: transform 0.4s ease; opacity: 0;
    display: flex; flex-direction: column; justify-content: center;
}
.gallery-item:hover .gallery-overlay { transform: translateY(0); opacity: 1; }
.gallery-overlay h3 { font-size: 18px; margin: 0 0 5px 0; font-weight: 800; color: var(--dark); }
.gallery-overlay p { font-size: 13px; margin: 0; color: #555; }
.gallery-action { text-align: center; margin-top: 60px; }
.gallery-action .btn-glass { opacity: 1; margin-top: 0; background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); color: var(--dark); }
.gallery-action .btn-glass:hover {
    background: var(--red); border-color: var(--red); color: #fff;
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.4); transform: translateY(-2px); letter-spacing: 5px;
}

/* --- 10. КАТАЛОГ И ПОИСК --- */
.new-catalog { padding: 60px 5%; background: #fff; width: 100%; box-sizing: border-box; }
.search-wrapper-center { width: 100%; display: flex; justify-content: center; padding: 60px 20px; }
.apple-liquid-glass-large {
    width: 100%; max-width: 800px; position: relative; border-radius: 28px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(30px) saturate(200%); -webkit-backdrop-filter: blur(30px) saturate(200%);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04), inset 0 1px 2px rgba(255, 255, 255, 0.9);
    transition: all 0.7s cubic-bezier(0.15, 1, 0.3, 1);
    animation: glassFloatIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.glass-content { display: flex; align-items: center; padding: 22px 35px; }
.search-icon { width: 22px; height: 22px; color: #888; transition: all 0.4s ease; }
#catalog-search {
    width: 100%; border: none; background: transparent; outline: none;
    padding-left: 20px; font-size: 18px; font-weight: 500;
    color: #1d1d1f; font-family: -apple-system, system-ui, sans-serif;
}
#catalog-search::placeholder { color: #aaa; letter-spacing: -0.3px; }
.apple-liquid-glass-large:focus-within {
    transform: scale(1.04) translateY(-12px); background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.01);
}
.apple-liquid-glass-large:focus-within .search-icon { color: #111; transform: scale(1.15); }

.catalog-container { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; max-width: 1650px; margin: 0 auto; }
.prod-card {
    background: #fff; border: 1px solid #e0e0e0; display: flex; flex-direction: column;
    transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.prod-card:hover { border-color: #D32F2F; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.prod-img { height: 200px; display: flex; align-items: center; justify-content: center; padding: 20px; background: #fff; }
.prod-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.prod-info { padding: 20px; border-top: 1px solid #f0f0f0; flex-grow: 1; }
.prod-info h4 { margin: 0 0 15px 0; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 800; text-transform: uppercase; color: #1A1A1B; }
.prod-links { display: flex; flex-wrap: wrap; gap: 6px; }
.prod-links a {
    text-decoration: none; font-size: 11px; font-weight: 600; color: #444;
    background: #f4f4f4; padding: 5px 10px; border-radius: 2px;
    border: 1px solid transparent; transition: 0.2s;
}
.prod-links a:hover { background: #D32F2F; color: #fff; }

.cta-industrial-full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
    background: #e31e24; 
    padding: 80px 0;
    margin: 100px 0;
    overflow: hidden;
    display: block;
}
.cta-industrial-full::after {
    content: 'KPK'; position: absolute; right: 5%; bottom: -20px;
    font-family: 'Montserrat'; font-weight: 900; font-size: 15rem;
    color: rgba(0, 0, 0, 0.07); pointer-events: none;
}
.cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 10;
}
.cta-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    color: #fff; 
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
}
.cta-content {
    text-align: right; 
}
.cta-content .white-text { color: #fff; }
.cta-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #1a1a1b; 
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 5px;
}
.btn-black-industrial {
    background-color: #1a1a1b; color: #fff; border: none; padding: 25px 50px;
    font-family: 'Inter', sans-serif; font-weight: 900; font-size: 1rem;
    letter-spacing: 1px; cursor: pointer; transition: all 0.3s ease;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}
.btn-black-industrial:hover { background-color: #000; padding-left: 60px; color: #ffcc00; }



.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9000 !important;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
}

.modal-box {
    background: #1a1a1b;
    width: 100%;
    max-width: 450px;
    padding: 60px 50px;
    position: relative;
    border-radius: 0; 
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
}

.modal-title {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 24px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.modal-subtitle {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 40px;
}
textarea {
    resize: none !important;
}
.modal-form-content .input-group {
    margin-bottom: 20px;
}

.modal-form-content input, 
.modal-form-content textarea {
    width: 100%;
    background: transparent !important;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 0;
    color: #292626 !important;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    border-radius: 0 !important;
    -webkit-appearance: none; 
    box-sizing: border-box !important; 
    padding: 15px 25px !important;
}

.modal-form-content input::placeholder, 
.modal-form-content textarea::placeholder {
    color: #666;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.modal-form-content input:focus, 
.modal-form-content textarea:focus {
    border-bottom-color: #FFD600;
}

.btn-yellow-full {
    width: 100%;
    background: #FFD600; 
    color: #000;
    border: none;
    padding: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-yellow-full:hover {
    background: #fff;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}
.modal {
    display: none;
    position: fixed !important;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.modal.active { display: flex !important; }

.modal-container {
    position: relative;
    width: auto; 
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    background: transparent; 
}

.modal-container img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain; 
    display: block;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 20px;
    cursor: pointer;
    font-size: 30px;
    transition: 0.3s;
    z-index: 1000001;
}

.modal-nav:hover { background: var(--red); border-color: var(--red); }
.prev-btn { left: 30px; }
.next-btn { right: 30px; }

.close-modal {
    position: fixed;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1000002;
    transition: 0.3s;
}

.modal-overlay {
    display: none;
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 999999;
    align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex !important; }

.modal-box {
    background: #1a1a1b;
    padding: 50px;
    max-width: 480px;
    width: 100%;
    border-radius: 2px;
}

.fade-in-section {
    opacity: 0; transform: translateY(50px); visibility: hidden;
    transition: opacity 0.8s ease-out, transform 1.0s ease-out;
}
.fade-in-section.is-visible { opacity: 1; transform: translateY(0); visibility: visible; }
.services-container .fade-in-section { transition-delay: 0.2s; }
.accordion-grid .fade-in-section { transition-delay: 0.1s; }

@media (max-width: 1100px) { .catalog-container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    .hero-container { flex-direction: column; text-align: center; }
    #hero-boiler { width: 100%; }
    .grid-section { grid-template-columns: 1fr; }
    .feedback-full .container-equal { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; gap: 40px; }
    .cta-content h2 { font-size: 2.5rem; }
    .cta-industrial-full::after { display: none; }
}

@media (max-width: 600px) { .catalog-container { grid-template-columns: 1fr; } }

.production-page {
    background: #f0f2f5; 
    color: #1d1d1f;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ultra-glass-main, .step-card, .glass-modal {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(30px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(200%) !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.06), 
        inset 0 1px 2px rgba(255, 255, 255, 0.8) !important;
    border-radius: 40px;
}

.prod-hero-section {
    padding: 5% 0 60px;
}

.ultra-glass-main {
    position: relative;
    border-radius: 40px;
    padding: 80px 60px 0;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    background-image: url('back.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: #f0f2f5; 
    
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 1;
    overflow: hidden; 
}
.ultra-glass-main::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
  
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.7) 30%, 
        rgba(255, 255, 255, 0.1) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.glass-badge {
    background: #FFD600;
    color: #000;
    padding: 5px 15px;
    border-radius: 8px;
    font-weight: 900;
    font-size: 12px;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    line-height: 1;
    margin: 25px 0;
    color: #e5e5e7;
}

.highlight {
    color: #eb4438;
}

.hero-sub {
    font-size: 1.2rem;
    color: #424245;
    line-height: 1.6;
}

.hero-stats-grid {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    
  
    background: rgba(255, 255, 255, 0.4); 
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    
    margin: 40px -60px 0; 
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.stat-glass {
    padding: 40px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.stat-glass .num {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #1d1d1f;
}

.stat-glass .txt {
    font-size: 11px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.steps-section {
    padding: 100px 0;
}

.steps-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.steps-glass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    padding: 50px 30px;
    text-align: center;
    position: relative;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1) !important;
}

.step-num-bg {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(235, 68, 56, 0.1);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.step-card h3 {
    position: relative;
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.step-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.btn-red-action {
    background: #eb4438 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 20px !important;
    font-family: 'Inter', sans-serif;
    font-weight: 900 !important;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(235, 68, 56, 0.3) !important;
    transition: 0.3s;
     margin: 25px auto 0 !important; 
    width: fit-content !important;
}
.btn-red-action {
    display: block !important;
    margin: 25px auto 0 !important; 
    width: fit-content !important;
    padding: 12px 30px !important;
    text-align: center !important;
}
.btn-red-action:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(235, 68, 56, 0.5) !important;
}

.cta-center {
    text-align: center;
    margin-top: 60px;
}

.glass-modal {
    padding: 60px !important;
    max-width: 500px !important;
}
#gallery-modal.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}
.modal-image-wrapper img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
}
.modal-form-content input, 
.modal-form-content textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 18px !important;
    margin-bottom: 20px !important;
    border-radius: 15px !important;
    font-family: 'Inter', sans-serif;
    outline: none !important;
}

.contacts-wrapper {
    padding: 60px 0 100px;
    background: #f8f9fa; 
}

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 50px;
}

.contacts-grid-white {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.contact-card-white {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: 0.3s;
}

.contact-card-white:hover {
    transform: translateY(-5px);
    background: #fff !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.map-card {
    grid-column: span 1; 
}

.c-tag {
    font-size: 11px;
    font-weight: 900;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.c-main-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    text-decoration: none;
    margin-bottom: 5px;
}

.c-main-val:hover { color: #eb4438; }

.c-sub-val, .c-sub-text {
    font-size: 1.1rem;
    color: #eb4438;
    text-decoration: none;
    font-weight: 600;
}

.c-link {
    display: inline-block;
    margin-top: 15px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
}

.c-link:hover { border-bottom-color: #0066cc; }

.mini-map {
    margin-top: 20px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
}
.work-hours {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    color: #424245;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 15px;
}

.phone-group, .email-row {
    margin-bottom: 15px;
}

.p-label, .email-row strong {
    display: block;
    font-size: 10px;
    color: #86868b;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.email-row a {
    color: #eb4438;
    text-decoration: none;
    font-weight: 700;
}

.req-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 15px 0;
    font-size: 0.85rem;
}

.req-item span {
    color: #86868b;
    margin-right: 5px;
}

.btn-download-pdf {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

.cta-subtext {
    margin-bottom: 20px;
    color: #86868b;
    font-size: 0.95rem;
}

@media (min-width: 992px) {
    .map-card {
        grid-column: span 2;
    }
}
.full-map-section {
    margin-top: 60px;
    padding-bottom: 100px;
}

.map-glass-wrapper {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.map-header {
    padding: 40px 50px 20px;
}

.map-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    margin-top: 10px;
}

.map-widget-container {
    width: 100% !important;
    min-height: 600px !important;
    height: 600px !important;
    background: #f0f0f2;
    position: relative;
    z-index: 10;
    display: block !important;
}
.map-widget-container ymaps {
    width: 100% !important;
    height: 600px !important;
}
.map-footer-info {
    display: flex;
    gap: 40px;
    padding: 30px 50px;
    background: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.info-item {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.info-item strong {
    font-size: 11px;
    color: #86868b;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.info-item span {
    font-weight: 600;
    color: #1d1d1f;
}

@media (max-width: 768px) {
    .map-footer-info {
        flex-direction: column;
        gap: 20px;
        padding: 30px;
    }
    .map-header {
        padding: 30px;
    }
}
.map-widget-container {
    border-radius: 0; 
    overflow: hidden;
    position: relative;
    background: #f0f0f2;
}

.map-widget-container iframe {
    width: 100%;
    height: 100%;
}
.about-hero {
    padding: 160px 0 120px;
    color: #fff;
    text-align: left;
}
.hero-mini-logo { width: 60px; margin-bottom: 20px; opacity: 0.8; }
.hero-title { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; font-weight: 900; }
.hero-subtitle { font-size: 1.25rem; opacity: 0.9; max-width: 600px; }

.stats-section { margin-top: -60px; position: relative; z-index: 5; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-card {
    background: #fff;
    padding: 40px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-radius: 8px;
    border-bottom: 5px solid #e30613;
}
.stat-value { display: block; font-size: 3rem; font-weight: 900; color: #1a1a1a; }
.stat-label { color: #666; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.about-description { padding: 100px 0; }
.desc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.text-side h2 { font-size: 2.5rem; margin: 20px 0; line-height: 1.2; }
.text-side p { color: #444; line-height: 1.6; margin-bottom: 30px; }
.round-img { width: 100%; border-radius: 4px; box-shadow: 20px 20px 0px #f0f0f0; }

.info-blocks { background: #f9f9f9; padding: 80px 0; border-top: 1px solid #eee; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.info-col h4 { 
    font-size: 1.2rem; 
    font-weight: 900; 
    margin-bottom: 25px; 
    position: relative; 
    padding-bottom: 10px;
}
.info-col h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 40px; height: 3px;
    background: #e30613;
}
.info-col ul { list-style: none; padding: 0; }
.info-col ul li { margin-bottom: 12px; }
.info-col ul li a { color: #666; text-decoration: none; transition: 0.3s; font-weight: 500; }
.info-col ul li a:hover { color: #e30613; padding-left: 5px; }

.btn-red-action {
    background: #e30613;
    color: #fff;
    border: none;
    padding: 15px 35px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.3s;
}
.btn-red-action:hover { background: #1a1a1a; }

.enterprise-features {
    padding: 100px 0;
    background: #ffffff;
}

.features-grid-custom {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px;
    margin-top: 50px;
}

.f-card {
    display: flex;
    align-items: flex-start;
    padding: 30px;
    background: #f8f9fa;
    border-left: 4px solid #e30613; 
    transition: 0.3s ease;
}

.f-card:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateX(10px);
}

.f-icon {
    min-width: 60px;
    height: 60px;
    background: #1a1b1e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    border-radius: 2px;
}

.f-icon img {
    width: 30px;
    filter: invert(1); 
}

.f-text h4 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: #1a1a1a;
    text-transform: uppercase;
}

.f-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .features-grid-custom {
        grid-template-columns: 1fr;
    }
}
.about-hero-new {
    width: 100%;
    height: 450px; 
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('new_back.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: #ffffff;
    padding-top: 60px; 
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 3.2rem; 
    font-weight: 900;
    line-height: 1.1;
    margin: 15px 0;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.1rem; 
    max-width: 450px;
    line-height: 1.4;
    opacity: 0.9;
}

.c-tag.white {
    background: #e30613;
    padding: 5px 12px;
    font-weight: 800;
    font-size: 12px; 
    text-transform: uppercase;
}
.f-icon {
    min-width: 60px;
    height: 60px;
    background: #1a1b1e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0; 
}

.f-icon svg {
    display: block;
}
.pg-grid-clean {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 12px;
}

.pg-item-clean {
    position: relative;
    display: block; 
    overflow: hidden;
    background: #000;
}

.pg-item-clean img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.pg-item-clean:hover img {
    transform: scale(1.05);
    opacity: 0.8;
}

.pg-item-clean::after {
    content: '+'; 
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2rem;
    font-weight: 300;
    opacity: 0;
    transition: 0.3s;
}

.pg-item-clean:hover::after {
    opacity: 1;
}

.pg-wide { grid-column: span 2; }
.pg-tall { grid-row: span 2; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 50px 40px !important; 
    padding: 40px 0;
}

.product-card {
    
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-img {
    height: 220px;
    background: #f9f9f9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.product-status {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #4CAF50;
    color: #fff;
    font-size: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
    padding: 20px;
}

.product-series {
    color: #888;
    font-size: 12px;
    font-weight: 600;
}

.product-name {
    min-height: 3em; 
    margin-bottom: 15px;
    font-size: 20px;
    margin: 10px 0 20px;
    color: #1a1b1e;
}

.product-specs {
    flex-grow: 1; 
    
    list-style: none;
    padding: 0;
    
    margin-bottom: 25px;
}

.product-specs li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 4px;
}

.product-actions {
    display: flex;
    margin-top: auto; 
    display: flex;
    gap: 10px;
    width: 100%;
}
.product-actions button {
    flex: 1; 
    padding: 12px 5px;
}
.btn-more {
    flex: 1;
    text-align: center;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

.btn-price {
    flex: 1;
    background: #ffcc00; 
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}


@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr; 
        padding: 20px 10px;
    }

    .product-card {
        max-width: 100%;
    }

    .product-img {
        height: 180px; 
    }

    .product-name {
        font-size: 18px; 
    }

    .product-actions {
        flex-direction: column; 
    }

    .btn-more, .btn-price {
        width: 100%;
        padding: 15px; 
        font-size: 14px;
    }
}
@media (max-width: 600px) {
    .product-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;             
        width: 100%;          
    }

    .btn-more, 
    .btn-price {
        width: 100% !important;  
        margin: 0 !important;  
        text-align: center;
        display: block;
        padding: 15px 0;         
        box-sizing: border-box;  
    }
    
    a.btn-more {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
.modal-large {
    max-width: 900px;
    width: 95%;
    padding: 40px;
}

.modal-product-content {
    display: flex;
    gap: 40px;
}

.modal-product-left {
    flex: 1;
    display: flex;
    align-items: center;
    background: #f9f9f9;
    position: relative; 
    overflow: hidden; 
    border-radius: 15px; 
}
#modal-img {
    width: 100%;
    height: auto;
    object-fit: contain; 
    opacity: 0.3 !important; 
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    filter: blur(2px); 
}

.modal-product-right {
    flex: 1;
}

.specs-table h4 {
    margin-bottom: 15px;
    border-bottom: 2px solid #ffcc00;
    display: inline-block;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

@media (max-width: 768px) {
    .modal-product-content {
        flex-direction: column;
    }
    .modal-large {
        padding: 20px;
        height: 90vh;
        overflow-y: auto;
    }
}
.btn-more, .btn-price, .btn-yellow-full {
    cursor: pointer !important; 
    transition: all 0.3s ease; 
}

.btn-more:hover {
    background-color: #f0f0f0; 
}

.btn-price:hover, .btn-yellow-full:hover {
    background-color: #e6b800 !important; 
    transform: scale(1.02);
}
.modal-overlay {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); 
    z-index: 90000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex; 
}

.modal-box {
    background: #1a1b1e;
    color: #ffffff;
    border: 1px solid #333;
    position: relative;
    max-width: 900px;
    width: 95%;
    padding: 40px;
    border-radius: 10px;
}

.modal-product-content {
    display: flex;
    gap: 40px;
}

.modal-product-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25262b; 
    border-radius: 10px;
}

.modal-product-left img {
    max-width: 100%;
    height: auto;
}

.modal-product-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

#product-modal h2, #product-modal h4 {
    color: #ffffff !important;
    margin-bottom: 10px;
    z-index: 9100
}
#contact-modal {
    z-index: 9500 !important; 
}
#contact-modal.active {
    display: flex; 
}
#product-modal p {
    color: #cccccc;
    line-height: 1.5;
    margin-bottom: 20px;
}

#modal-specs-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 !important;
}

#modal-specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

#modal-specs-list li span { color: #999; }
#modal-specs-list li strong { color: #ffcc00; }

.btn-yellow-full {
    width: 100%;
    padding: 18px;
    background: #ffcc00;
    color: #000;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-yellow-full:hover {
    background-color: #e6b800 !important;
    transform: scale(1.02);
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.burger-menu {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    width: 50px !important;
    height: 50px !important;
    z-index: 10000001 !important; 
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: #ffcc00 !important; 
    border-radius: 5px;
    pointer-events: all !important;
}
.burger-menu.active {
    position: fixed; 
    right: 10px;
    top: 10px;
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background-color: #000 !important; 
    transition: 0.3s;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%; 
    width: 100%;
    height: 100vh;
    background: #1a1b1e !important;
    z-index: 2000000; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease-in-out;
    visibility: hidden; 
}

.mobile-nav.active {
    right: 0;
    visibility: visible;
}

.mobile-nav nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
}

.mobile-nav nav a {
    color: #ffffff !important;
    font-size: 24px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s;
}

.mobile-nav nav a:hover {
    color: #ffcc00 !important;
}

.mobile-nav .h-phone {
    color: #ffcc00 !important;
    margin: 30px 0;
    font-size: 20px;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .industrial-header-light {
        position: relative;
        z-index: 2000002; 
        background: #fff;
    }
}



@media (max-width: 768px) {
   .footer-container {
        flex-direction: column !important;
        padding: 0 !important;
    }
    .footer-left, .footer-right, .footer-col {
        width: 100% !important;
        padding: 30px 20px !important;
        text-align: center !important;
    }
    .footer-right { background: #f4f4f4 !important; color: #333 !important; }
    .footer-col h4 { color: #ffcc00 !important; margin-top: 15px; }
    .footer-col ul li a { color: #fff !important; }
    .footer-logo { display: block; margin: 0 auto; }
}

@media (max-width: 1024px) {
    .burger-menu { display: flex !important; }
    .header-links, .header-cta { display: none !important; }
}

@media (max-width: 768px) {
    .footer-container {
        display: flex;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .footer-left, .footer-right, .footer-col {
        width: 100% !important;
        max-width: 100% !important;
        padding: 30px 20px !important;
        text-align: center !important;
        box-sizing: border-box;
    }
 h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;

}
    .main-footer {
        height: auto !important;
        min-height: auto !important;
    }
.main-footer h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: #1A1A1B; 
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
    .footer-right, .contact-sidebar { 
        background: #f4f4f4 !important;
        color: #333 !important;
    }

    .footer-col h4 {
        margin-top: 20px;
        font-size: 20px;
        text-transform: uppercase;
        color: #ffcc00 !important;
    }

  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li a {
    text-decoration: none;
    color: #333333; 
    font-size: 1rem;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}
    .footer-right h2, .footer-right h3 {
        color: #000 !important;
        margin-bottom: 20px !important;
    }
.contact-item a:hover {
    color: #ffcc00;
}
  .contact-item a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s;
}

    .footer-logo {
        margin: 0 auto 20px !important;
        display: block;
    }
    .second-logo-area {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
   
}
.second-logo-area img {
    height: 155px;
    width: auto;
    opacity: 0.8;
}
}
.industrial-header-light {
    position: relative; 
}

.burger-btn {
    display: none; 
    width: 35px;
    height: 24px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 11001 !important; 
    padding: 0;
    pointer-events: all !important;
}
.main-footer .footer-container .footer-col.about {
    display: flex;
    align-items: center; 
    justify-content: center; 
    
    flex: 0 0 28%; 
    
    min-height: 100px; 
    
    margin-right: 40%; 
    margin-left: 0;
    margin-top: 0%;
}
.burger-btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #000; 
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.burger-btn span:nth-child(1) { top: 0; }
.burger-btn span:nth-child(2) { top: 10px; }
.burger-btn span:nth-child(3) { top: 20px; }
.burger-btn.active span {
    background-color: #ffcc00 !important; 
}
.burger-btn.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.burger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px); 
}
.burger-btn.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg); 
}
.mobile-menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 15, 15, 0.95); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    display: flex;
    flex-direction: column;
    padding: 80px 30px 40px; 
    box-sizing: border-box;
    
    /* Уводим меню вправо за экран */
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 11000; /* На 1 меньше чем у кнопки */
    
    /* Убираем visibility, оставляем только transform */
    visibility: visible; 
}

.mobile-menu-wrapper.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all; /* Включаем клики обратно */
    transform: translateX(0);
}

.mobile-nav-list {
    width: 100%;
    max-width: 400px; 
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.mobile-link {
    display: block;
    padding: 20px 0; 
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    transition: all 0.3s ease;
}

.mobile-nav-list a:last-of-type {
    border-bottom: none;
}


.mobile-link:active {
    color: #ffcc00;
    padding-left: 10px;
}


.mobile-phone {
    display: block;
    margin-top: 30px;
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
}


.btn-yellow-full.mobile-cta {
    margin: 25px auto 0 !important;
    background: #ffcc00 !important;
    color: #000 !important;
    border-radius: 4px !important; 
    padding: 18px 50px !important;
    font-size: 1rem !important;
}

@media (max-width: 1024px) {
    .burger-btn {
        display: block; 
    }

   
    .header-links, .header-cta {
        display: none !important;
    }
}
@media screen and (max-width: 768px) {
    
   
    .services-container {
        display: flex;
        flex-direction: column; 
        gap: 20px;             
        padding: 15px;
    }

 
    .service-block {
        width: 100% !important;  
        margin: 0 auto;
        min-height: auto;      
        padding: 25px;
    }
}
@media screen and (max-width: 768px) {
    .search-container {
        width: 90%;            
        margin: 20px auto;    
        display: flex;
        justify-content: center;
    }

    #catalog-search {
        width: 100%;
        padding: 15px;         
        font-size: 16px;       
        border-radius: 8px;
    }
}
@media screen and (max-width: 768px) {
    .catalog-section-title, 
    .gallery-section h2, 
    #catalog h2 {
        text-align: center;    
        margin: 30px 0 20px 0 !important;
        width: 100%;
        left: 0;               
        padding: 0 10px;
        font-size: 24px;       
    }
}
@media (max-width: 768px) {
   .catalog-header {
        display: flex;
        flex-direction: column;
        align-items: center; 
        text-align: center;
        width: 100%;
        margin-bottom: 25px;
        padding: 0 15px; 
    }

  
    .catalog-header h2 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 900;
        font-size: 1.8rem !important; 
        line-height: 1.2;
        margin-top: 10px;
        margin-bottom: 20px;
        color: #1A1A1B;
        word-wrap: break-word;
        width: 100%;
    }

    .search-wrapper-center {
        width: 100%;
        display: flex;
        justify-content: center; 
        margin: 0 !important;
        padding: 0;
    }

    .apple-liquid-glass-large {
        width: 100% !important;
        max-width: 340px; 
        margin: 0 auto !important; 
    }

    .block-tag {
        font-size: 0.75rem;
        opacity: 0.8;
        margin-bottom: 5px;
    }

    .block-tag {
        font-size: 0.8rem;
    }

    .search-wrapper-center {
        width: 90%;
        margin: 20px auto;
    }
}
@media (max-width: 768px) {
  
    

    .block-tag {
        font-size: 0.7rem;
        padding: 0 15px;
    }

    .services-container {
        display: flex !important;
        flex-direction: column !important;
        padding: 0px;
        gap: 20px;
    }

    .service-block {
        width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box;
    }

    .search-wrapper-center {
        width: 95%;
        margin: 0 auto;
    }
}
@media (max-width: 768px) {
    .about-header h2, 
    .section-header h2 {
        font-size: 2.2rem !important;
        line-height: 1.1;
        text-align: center;
        padding: 0 10px;
    }

    
    .about-stats-container, 
    .stats-grid,
    .features-wrapper {
        display: flex !important;
        flex-direction: column !important; 
        align-items: center !important;
        gap: 15px !important;
        width: 100% !important;
    }

    .stat-card, 
    .feature-item {
        width: 90% !important;
        max-width: none !important;
        margin: 0 auto !important;
        box-sizing: border-box;
    }

    .stat-number {
        font-size: 2.5rem !important;
    }
}
@media screen and (max-width: 768px) {
    
    h2, .about-header h2, .section-header h2 {
        font-size: 1.5rem !important; 
        line-height: 1.1 !important;
        word-break: break-all !important; 
        white-space: normal !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }

    .services-container, .about-stats-container, .stats-grid, .catalog-container {
        display: flex !important;
        flex-direction: column !important; 
        align-items: center !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .prod-card, .service-block, .stat-card {
        width: 95% !important;
        margin: 10px 0 !important;
    }
}
@media screen and (max-width: 768px) {
 
    h1, h2, h3, .production-hero h1, .production-hero h2 {
        font-size: 7vw !important; 
        max-width: 100vw !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        display: block !important;
        line-height: 1.1 !important;
        padding: 0 10px !important;
        margin: 10px 0 !important;
    }


    .production-hero + div, 
    .stats-container, 
    div[style*="display: flex"] { 
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }

    .stats-item, [style*="width: 50%"], [style*="width:50%"] {
        width: 100% !important; 
        border-left: none !important;
        border-bottom: 1px solid #ddd !important;
        box-sizing: border-box !important;
    }
}
@media screen and (max-width: 768px) {
    
    .prod-stats-grid, 
    .stats-production-wrapper,
    div[style*="display: flex"] { 
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 !important;
    }

   
    .prod-stat-item.quality-control, 
    .prod-stat-item:last-child { 
        width: 100% !important;
        order: -1; 
        border-bottom: 1px solid rgba(0,0,0,0.1) !important;
    }

  
    .prod-stat-item {
        width: 100% !important;
        border-left: none !important;
        border-bottom: 1px solid rgba(0,0,0,0.1) !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }
    
  
    .prod-stat-item:last-child {
        border-bottom: none !important;
    }
}

.industrial-modal-title, 
.industrial-modal-subtitle {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
}

.btn-red-action {
    display: block !important;
    margin: 25px auto 0 !important; 
    text-align: center !important;
    width: fit-content !important;
    padding: 15px 40px !important;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}




@media (max-width: 768px) {
    .modal-box.modal-large {
        width: 95%;
        height: 90vh;
        margin: 20px auto;
        padding: 40px 15px 20px; 
        overflow-y: auto; 
        border-radius: 15px;
    }

    .modal-product-content {
        flex-direction: column; 
        gap: 20px;
    }

    .modal-product-left img {
        max-height: 250px;
        width: 100%;
        object-fit: contain;
    }

 
    .close-modal-btn {
        top: 10px;
        right: 15px;
        font-size: 35px;
        width: 44px; 
        height: 44px;
        background: #eee;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .modal-product-right h2 {
        font-size: 20px;
        line-height: 1.2;
    }
}
@media (max-width: 768px) {

    html, body {
        max-width: 100vw;
        overflow-x: hidden;
        position: relative;
    }

    .industrial-modal-box {
        width: 100% !important; 
        max-width: calc(100% - 30px) !important; 
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box !important; 
        left: 0 !important;
        right: 0 !important;
        transform: none !important; 
        z-index: 20001;
    }


    .industrial-input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important; 
        display: block;
    }
}
@media (max-width: 768px) {
 
    .product-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 15px; 
        box-sizing: border-box;
    }

    .product-card {
        width: 100%;
        max-width: 350px; 
        margin: 0 0 20px 0 !important; 
        left: 0 !important;
        transform: none !important; 
    }
}



.catalog-top-controls {
    display: none; 
}

@media (max-width: 768px) {
    .catalog-top-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 30px;
        margin-bottom: 20px;
    }

    .slider-arrow {
        background: #1A1A1B;
        color: #fff;
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 12px; 
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
    }

    .slider-arrow:active { background: #ff0000; } 

    .slider-label {
        font-family: 'Montserrat';
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.8rem;
        color: #888;
    }

    .catalog-slider-main {
        position: relative;
        overflow: hidden;
        min-height: 450px; 
    }

    .catalog-container .prod-card {
        display: none;
        width: 100%;
        animation: fadeScale 0.4s ease;
    }

    .catalog-container .prod-card.active-slide {
        display: block;
    }

    
    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 30px;
        padding-bottom: 20px;
    }

    .dot {
        width: 10px;
        height: 10px;
        background: #ccc;
        border-radius: 50%;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .dot.active {
        background: #ff0000; 
        transform: scale(1.3);
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    }
}

@keyframes fadeScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}


.prod-hero-section h1, 
.prod-hero-section h1 .highlight {
    color: #1A1A1B !important;
    text-shadow: none !important; 
}

.email-copy-wrapper {
    position: relative;
    display: inline-block;
}

.contact-email {
    color: #1A1A1B !important; 
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px dashed rgba(26, 26, 27, 0.2);
}

.contact-email:hover {
    color: #ff0000 !important; 
    border-bottom-color: #ff0000;
}

.copy-hint {
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #1A1A1B;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    z-index: 10;
}

.copy-hint.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.modal-product-right {
    display: flex !important;
    flex-direction: column !important;
    height: 900px !important; 
    max-height: 80vh !important;
    overflow: hidden !important; 
    padding-right: 10px !important;
}

#modal-title {
    margin-bottom: 20px !important;
    flex-shrink: 0; 
}

#modal-descr {
    flex-grow: 1; 
    overflow-y: auto !important; 
    margin-bottom: 20px !important;
    padding-right: 15px !important;
    line-height: 1.6;
    font-size: 15px;
    color: #ccc;
}

.specs-table, 
.open-order-from-product {
    flex-shrink: 0; 
}

#modal-descr::-webkit-scrollbar {
    width: 5px !important;
}

#modal-descr::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

#modal-descr::-webkit-scrollbar-thumb {
    background: #e30613; 
    border-radius: 10px;
}

#modal-descr {
    scrollbar-width: thin;
    scrollbar-color: #e30613 rgba(255, 255, 255, 0.05);
}
.services-page-header {
    background: linear-gradient(rgba(26,26,27,0.9), rgba(26,26,27,0.9)), url('img/factory-bg.jpg');
    background-size: cover;
    padding: 120px 0 80px;
    text-align: center;
    color: #fff;
}

.service-intro {
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
}

.service-detail-item {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 0;
}

.service-detail-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-visual {
    flex: 1;
    position: relative;
}

.service-number-bg {
    opacity: 0.15 !important; 
    transition: all 0.4s ease;
    position: absolute;
    top: -90px; 
    left: -120px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14rem;
    font-weight: 900;
    color: rgba(0,0,0,0.02); 
   
}

.modal-content-wrapper:hover .service-number-bg {
    opacity: 0.05 !important;
}

.modal-content-wrapper:hover #modal-img {
    opacity: 1 !important;
    filter: blur(0);
    transform: scale(1.03); 
}

.service-visual img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    text-align: left;
    flex: 1;
}

.service-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.service-check-list {
    list-style: none;
    margin: 30px 0;
}

.service-check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.service-check-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: 900;
}

@media (max-width: 992px) {
    .service-detail-item, .service-detail-item:nth-child(even) {
        flex-direction: column;
        text-align: center;
        padding: 50px 0;
    }
    .service-number-bg {
        font-size: 8rem;
        left: 50%;
        transform: translateX(-50%);
    }
}
.service-detail-item:nth-child(even) {
    flex-direction: row-reverse; 
}

.service-detail-item:nth-child(even) .service-check-list li {
    padding-left: 0;
    padding-right: 30px;
}

.service-detail-item:nth-child(even) .service-check-list li::before {
    left: auto;
    right: 0; 
    transform: rotate(180deg);
}

.service-detail-item:nth-child(even) .service-content {
    align-items: flex-end; 
    text-align: right;  
}

.service-visual img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-detail-item:hover .service-visual img {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(227, 6, 19, 0.15); 
}

.service-detail-item:hover .service-number-bg {
    color: rgba(227, 6, 19, 0.05); 
    transform: translate(10px, 10px);
}

.hero-services {
    position: relative;
    min-height: 60vh; 
    display: flex;
    align-items: center;
    background: url('img/main-factory-bg.jpg') no-repeat center center; 
    background-size: cover;
    padding: 100px 0;
    color: #fff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 26, 27, 0.95) 0%, rgba(26, 26, 27, 0.7) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding: 0 40px;
}

.hero-content {
    max-width: 850px;
}

.hero-badge {
    color: #e30613;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    display: block;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 4.5rem); 
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.hero-content h1 span {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5); 
}

.hero-line {
    width: 80px;
    height: 4px;
    background: #e30613;
    margin-bottom: 30px;
}

.hero-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(82, 79, 79, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-red-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%; 
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.4) 50%, 
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg); 
    transition: 0.6s;
}

.btn-red-main:hover {
    background: #c20510;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(227, 6, 19, 0.4);
}

.btn-red-main:hover::before {
    left: 150%; 
}

.btn-red-main:active {
    transform: translateY(-1px) scale(1);
}

.btn-red-main {
    position: relative;
    background: #e30613; 
    color: #fff;
    border: none;
    padding: 18px 38px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden; 
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.2);
}

.btn-outline-white {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 18px 35px;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-outline-white:hover {
    background: #fff;
    color: #1a1a1b;
}

@media (max-width: 768px) {
    
    .hero-services {
        padding: 40px 0 !important; 
        text-align: center !important;
    }

    .hero-content {
        align-items: center !important; 
    }

    .hero-content h1 {
        font-size: 2rem !important; 
        line-height: 1.2 !important;
    }

    .hero-btns {
        flex-direction: column !important; 
        gap: 15px !important;
        width: 100% !important;
    }

    .btn-red-main, .btn-outline-white {
        width: 100% !important; 
        text-align: center !important;
        padding: 15px 0 !important;
    }


    .service-detail-item {
        flex-direction: column !important;
        gap: 20px !important; 
        padding: 30px 0 !important; 
        text-align: center !important; 
    }

    .service-detail-item:nth-child(even) {
        flex-direction: column !important; 
    }

    .service-visual {
        flex: none !important;
        width: 100% !important;
        max-width: 250px !important; 
        margin: 0 auto !important; 
        padding: 0 !important;
    }

    .service-number-bg {
        font-size: 6rem !important;
        top: -20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .service-content {
        align-items: center !important; 
        padding: 0 10px !important;
    }

    .service-content h2 {
        font-size: 1.8rem !important; 
        margin-bottom: 15px !important;
    }

    .service-check-list {
        list-style: none !important;
        margin: 20px 0 !important;
        text-align: left !important; 
        max-width: 300px !important;
        margin: 20px auto !important;
    }

    .service-check-list li {
        padding-left: 30px !important;
        position: relative !important;
    }

    .service-check-list li::before {
        content: '→' !important;
        position: absolute !important;
        left: 0 !important;
        color: #e30613 !important;
        font-weight: 900 !important;
    }

    .service-detail-item:nth-child(even) .service-check-list {
        text-align: left !important;
    }

    .service-detail-item:nth-child(even) .service-check-list li {
        padding-left: 30px !important;
        padding-right: 0 !important;
    }

    .service-detail-item:nth-child(even) .service-check-list li::before {
        left: 0 !important;
        right: auto !important;
        transform: none !important; 
    }

    .btn-red-action {
        width: 100% !important; 
        text-align: center !important;
        margin-top: 20px !important;
    }
}
.nomen-hero-tech {
    background: #0f1012; 
    padding: 40px 0 30px; 
    position: relative;
    border-bottom: 1px solid #333;
    overflow: hidden;
    min-height: auto; 
    display: flex;
    align-items: flex-start; 
}

.tech-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 30px 30px; 
    z-index: 1;
}

.nomen-hero-tech .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-status-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 10px; 
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: #e30613;
}

.tech-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem); 
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.tech-title span {
    display: block;
    color: #666; 
    font-size: 0.75em;
}

.tech-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    border-top: 1px solid #222; 
    padding-top: 20px;
}

.tech-descr {
    max-width: 450px;
    font-size: 0.9rem; 
    color: #888;
    line-height: 1.4;
}

.tech-stats {
    display: flex;
    gap: 30px;
}

.stat-box strong {
    font-size: 1.4rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.stat-box span {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #e30613;
    letter-spacing: 1px;
    margin-top: 3px;
}

@media (max-width: 768px) {
    .nomen-hero-tech {
        padding: 30px 0;
        text-align: center;
    }
    
    .hero-status-bar {
        justify-content: center;
    }
    
    .tech-info-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .tech-stats {
        justify-content: center;
    }
}

.nomen-hero-tech::after {
    content: "";
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    border-right: 1px solid #e30613;
    border-bottom: 1px solid #e30613;
    opacity: 0.5;
}

.nomenclature-main {
    padding: 80px 0;
    background: #fcfcfc;
}

.nomenclature-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

.nomen-sidebar {
    position: sticky;
    top: 100px;
}

.nomen-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.n-link {
    padding: 16px 20px;
    text-decoration: none;
    color: #444;
    font-weight: 700;
    border-left: 3px solid #eee;
    transition: 0.3s;
    display: block;
    cursor: pointer;
}

.n-link:hover, .n-link.active {
    color: #e30613;
    border-left-color: #e30613;
    background: #fff;
    box-shadow: 4px 4px 15px rgba(0,0,0,0.03);
}

.n-category-content {
    display: none;
    opacity: 0;
    transform: translateY(15px);
}

.n-category-content.active {
    display: block;
    animation: nomenFadeIn 0.5s forwards ease-out;
}

@keyframes nomenFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cat-label {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #1a1a1b;
}

.product-full-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.p-header {
    padding: 35px 40px;
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.p-title-area h3 {
    font-size: 1.7rem;
    font-weight: 800;
    margin: 0;
}

.p-tag {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #e30613;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.p-body {
    padding: 40px;
}

.p-description {
    margin-bottom: 30px;
    line-height: 1.7;
    color: #555;
    font-size: 1.05rem;
}

.files-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.file-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border: 1px solid #eee;
    background: #fbfbfb;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.2s;
}

.file-btn:hover {
    border-color: #e30613;
    background: #fff;
    transform: translateY(-2px);
}

.f-ext {
    background: #1a1a1b;
    color: #fff;
    font-size: 0.65rem;
    padding: 4px 8px;
    font-weight: 900;
}

@media (max-width: 1024px) {
    .nomenclature-wrapper { 
        grid-template-columns: 1fr; 
        gap: 40px;
    }
    .nomen-sidebar { 
        position: static; 
    }
}

@media (max-width: 768px) {
    .tech-info-row { flex-direction: column; align-items: flex-start; }
    .tech-stats { width: 100%; justify-content: space-between; }
    .p-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}
#product-modal img, 
.modal-product-left img, 
#modal-img,
.product-modal-container img {
    filter: none !important;
    -webkit-filter: none !important;
    backdrop-filter: none !important;
    transform: translateZ(0);
}
#modal-img, 
.modal-product-left img {
    filter: brightness(1) contrast(1) !important;
    opacity: 1 !important;                         
    background-color: transparent !important;    


}





@media (max-width: 768px) {
    .about-description .desc-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: left; 
    }

    .about-description h2 {
        font-size: 1.8rem; 
        line-height: 1.2;
        margin-bottom: 20px;
        word-wrap: break-word; 
    }

    .about-description .text-side {
        padding: 0;
    }

    .about-description p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .about-description .image-side {
        order: -1; 
        width: 100%;
    }

    .about-description .round-img {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
    }

    .btn-red-action {
        width: 100%;
        padding: 18px;
    }
}

:root {
    --hero-height: 50vh; 
    --red-accent: #D32F2F;
    --dark-bg: #1A1A1B;
}

.hero {
    position: relative;
    height: var(--hero-height);
    min-height: 380px;
    background: #ffffff;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.hero-container {
    max-width: 1100px; 
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 0 20px;
    width: 100%;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.8rem; 
    line-height: 1.1;
    margin-bottom: 10px;
    color: var(--dark-bg);
}

.hero-content h1 span {
    color: var(--red-accent);
}

.badge {
    display: inline-block;
    border: 1px solid var(--dark-bg);
    color: var(--dark-bg);
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero-description p {
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    margin-bottom: 12px;
}

.hero-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.hero-features li {
    font-size: 12px;
    color: #666;
    padding-left: 12px;
    position: relative;
}

.hero-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 4px;
    background: var(--red-accent);
    border-radius: 50%;
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#hero-boiler {
    max-height: calc(var(--hero-height) - 60px);
    width: auto;
    pointer-events: none; 
}

.catalog-header {
    padding-top: 30px;
}

.catalog-header h2 {
    font-size: 2rem !important;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .hero { height: auto; padding: 40px 0; }
    .hero-container { grid-template-columns: 1fr; }
    #hero-boiler { max-height: 200px; margin-bottom: 20px; }
    .hero-visual { order: -1; justify-content: center; }
}
h2, h3 {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    letter-spacing: -0.5px; 
}

.reveal-section {
    padding-top: 30px !important;   
    padding-bottom: 30px !important;
}

.block-tag, 
.red-label, 
.section-subtitle {
    display: none !important;
}
.catalog-header {
    margin-bottom: 25px !important; 
}
.container, .section-inner {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
.search-wrapper-center {
    margin-top: 15px !important;
}

.apple-liquid-glass-large {
    padding: 10px 20px !important; 
    max-width: 600px; 
    margin: 0 auto;
}
.hero-wide {
    position: relative;
    width: 100%;
    height: 50vh; 
    min-height: 450px;
    background-color: #f8f9fa;
    background-image: 
        linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 50%),
        radial-gradient(circle at 70% 50%, #ececec 0%, transparent 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
    padding-top: -20%;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#d1d1d1 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 1;
}

.hero-wrapper {
    width: 100%;
    max-width: 100% !important; 
    padding: 0 5%; 
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-main {
    padding-right: 50px;
}

.hero-info-line {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #666;
    padding: 2px 8px;
    border-left: 2px solid #D32F2F; 
}

.hero-main h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 3vw; 
    line-height: 1.1;
    color: #1a1a1b;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.hero-main h1 span {
    display: block;
    color: #D32F2F;
    font-size: 2vw;
}

.hero-text {
    font-size: 15px;
    line-height: 1.6;
    color: #fdfdfd;
    max-width: 650px;
    margin-bottom: 30px;
}

.hero-footer-notes {
    display: flex;
    gap: 40px;
}

.note {
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
}

.note b {
    color: #1a1a1b;
    display: block;
    font-size: 14px;
    margin-bottom: 3px;
}

.hero-image-box {
    display: flex;
    justify-content: center;
}

#hero-boiler-static {
    width: 100%;
    max-width: 550px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.05));
}

@media (max-width: 1200px) {
    .hero-main h1 { font-size: 35px; }
    .hero-main h1 span { font-size: 24px; }
}
@media (max-width: 768px) {
    .hero-wide { 
        height: auto; 
        padding: 50px 20px; 
    }

    .hero-wrapper { 
        grid-template-columns: 1fr; 
        text-align: center; 
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-info-line { 
        justify-content: center; 
        flex-wrap: wrap; 
        gap: 10px;
    }

    .hero-main {
        padding-right: 10%; 
    }

    .hero-main h1 { 
        font-size: 28px; 
    }

    .hero-main h1 span { 
        font-size: 20px; 
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-footer-notes { 
        flex-direction: column; 
        align-items: center;
        gap: 15px; 
    }

    .tag {
        border-left: none;
        border-bottom: 2px solid #D32F2F; 
        padding: 2px 4px;
    }

   
    .hero-image-box { 
        order: -1; 
        margin-bottom: 30px;
        display: block; 
    }

    #hero-boiler-static {
        max-height: 200px;
        width: auto;
    }
}

#projects, .projects-gallery {
    padding-top: 20px !important;  
    padding-bottom: 20px !important;
}

#projects h2, .projects-title {
    margin-top: 0 !important;
    margin-bottom: 15px !important; 
    font-size: 2rem !important;    
}

.projects-grid, .gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 10px !important;                
    margin-top: 0 !important;
}

.project-card {
    margin-bottom: 0 !important;
    overflow: hidden;
    border-radius: 4px;
}

.project-card img {
    display: block;
    width: 100%;
    height: 200px;       
    object-fit: cover;    
    transition: none !important; 
}

.project-info {
    padding: 10px !important;
}

.project-info h3 {
    font-size: 14px !important;
    margin: 0 !important;
}

.srv-hero-modern {
    background: #0f1012;
    padding: 60px 0 50px;
    position: relative;
    border-bottom: 1px solid #222;
}

.srv-status-line { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.srv-code { color: #e30613; font-family: monospace; font-size: 12px; font-weight: 700; }
.srv-line-decor { height: 1px; flex-grow: 1; background: linear-gradient(90deg, #333, transparent); }

.srv-main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
    margin: 0 0 20px;
}
.srv-main-title span { color: #666; }
.srv-main-descr { max-width: 550px; color: #aaa; font-size: 15px; line-height: 1.6; }

.srv-list-section { padding: 80px 0; background: #fff; }

.srv-flex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); 
    gap: 30px;
}

.srv-item-card {
    display: flex;
    background: #fcfcfc;
    border: 1px solid #e8e8e8;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-height: 280px;
}

.srv-item-card:hover {
    border-color: #e30613;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.srv-card-info {
    padding: 30px;
    width: 60%;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.srv-index { font-family: monospace; color: #e30613; font-weight: 700; font-size: 14px; margin-bottom: 10px; display: block; }
.srv-card-info h3 { font-size: 1.3rem; text-transform: uppercase; color: #1a1a1b; margin-bottom: 15px; line-height: 1.2; }
.srv-card-info p { font-size: 14px; color: #666; line-height: 1.5; margin-bottom: 20px; }

.srv-features { list-style: none; padding: 0; margin: 0 0 25px; display: flex; flex-wrap: wrap; gap: 10px; }
.srv-features li { 
    font-size: 11px; 
    font-weight: 700; 
    text-transform: uppercase; 
    background: #eee; 
    padding: 4px 10px; 
    color: #333;
}

.srv-action-btn {
    margin-top: auto;
    background: #1a1a1b;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    width: fit-content;
    cursor: pointer;
    transition: 0.3s;
}
.srv-item-card:hover .srv-action-btn { background: #e30613; }

.srv-card-media {
    width: 40%;
    position: relative;
    overflow: hidden;
}

.srv-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%); 
    transition: 0.6s;
    opacity: 0.8;
}

.srv-item-card:hover .srv-card-media img {
    filter: grayscale(0%);
    transform: scale(1.1);
    opacity: 1;
}

.srv-item-card:hover .srv-card-media::before { background: #fff; }

@media (max-width: 992px) {
    .srv-flex-grid { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
    .srv-item-card { flex-direction: column-reverse; }
    .srv-card-info, .srv-card-media { width: 100%; }
    .srv-card-media { height: 180px; }
    .srv-card-media::before { display: none; }
}
.srv-item-card.active {
    border-color: #e30613;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background: #fff;
}

.srv-item-card.active .srv-card-media img {
    filter: grayscale(0%);
    transform: scale(1.05);
    opacity: 1;
}

.srv-item-card.active .srv-action-btn {
    background: #e30613;
}

.srv-item-card.active .srv-card-media::before {
    background: #fff;
}

@media (max-width: 768px) {
    .srv-item-card {
        transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }
}
.production-interactive { padding: 60px 0; background: #fff; }
.timeline-container {
    position: relative;
    margin: 40px 0 60px;
    padding: 0 20px;
}

.timeline-base {
    position: absolute;
    top: 23px; 
    left: 40px;
    right: 40px;
    height: 2px;
    background: #eee;
    z-index: 1;
}

.timeline-progress {
    height: 100%;
    width: 0%;
    background: #e30613;
    transition: width linear; 
}

.timeline-points {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.t-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.t-circle {
    width: 46px;
    height: 46px;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.4s ease;
}

.t-text {
    margin-top: 10px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #999;
}

.t-point.active .t-circle {
    border-color: #e30613;
    color: #e30613;
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(227, 6, 19, 0.15);
}

.t-point.active .t-text { color: #1a1a1b; }

.step-display-area {
    min-height: 400px; 
    position: relative;
    background: #fcfcfc;
    border: 1px solid #f0f0f0;
}

.step-pane {
    display: none; 
    padding: 40px;
}

.step-pane.active {
    display: block;
    animation: slideFadeIn 0.5s ease forwards;
}

@keyframes slideFadeIn {
    from { opacity: 0; transform: translateX(15px); }
    to { opacity: 1; transform: translateX(0); }
}

.pane-flex {
    display: flex;
    gap: 40px;
    align-items: center;
}

.pane-info h3 { font-size: 24px; text-transform: uppercase; margin-bottom: 20px; font-weight: 900; }
.pane-info p { color: #666; line-height: 1.6; font-size: 15px; }

.pane-visual { 
    flex-shrink: 0; 
    width: 45%; 
    height: 300px; 
    background: #f4f4f4; 
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.pane-visual img { 
    max-width: 100%; 
    max-height: 100%; 
    width: auto; 
    height: auto; 
    object-fit: contain; 
}

@media (max-width: 850px) {
    .pane-flex { flex-direction: column; }
    .pane-visual { width: 100%; height: 200px; }
    .t-text { display: none; }
}
.prod-hero-mobile-optimized {
    display: none;
}
@media (max-width: 850px) {
    .prod-hero-section {
        display: none !important; 
    }

    .prod-hero-mobile-optimized {
        display: flex !important; 
        flex-direction: column;
        background: #f8f9fa; 
    }

    .hero-visual-mobile {
        position: relative;
        height: 250px; 
        width: 100%;
        overflow: hidden;
    }

    .hero-visual-mobile img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
        display: block; 
    }
    
    .npp-label-mobile {
        position: absolute;
        top: 20px;
        left: 20px;
        background: #ffcc00;
        color: #000;
        padding: 4px 10px;
        font-weight: 900;
        font-size: 10px;
        text-transform: uppercase;
        z-index: 2;
    }

    .hero-content-mobile {
        padding: 30px 20px;
        text-align: center;
        background: #fff; 
        position: relative;
        z-index: 1; 
    }

    .hero-content-mobile h1 {
        font-size: clamp(24px, 6vw, 28px);
        font-weight: 900;
        line-height: 1.1;
        color: #1a1a1b;
        margin-bottom: 15px;
        word-break: keep-all; 
    }

    .hero-content-mobile p {
        font-size: 14px;
        color: #666;
        line-height: 1.5;
        margin-bottom: 30px;
    }

    .stats-list-mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
    }

    .stat-item-mobile {
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(5px);
        border: 1px solid #eee;
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .stat-item-mobile .v {
        font-size: 20px;
        font-weight: 900;
        color: #1a1a1b;
    }

    .stat-item-mobile .l {
        font-size: 10px;
        font-weight: 700;
        color: #e30613;
        text-transform: uppercase;
    }

    .btn-hero-mobile {
        width: 100%;
        background: #e30613;
        color: #fff;
        padding: 18px;
        border: none;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
}


.about-hero-compact {
    padding: 100px 0 60px;
    background: linear-gradient(90deg, rgba(121, 116, 116, 0.8) 0%, rgba(0,0,0,0.4) 100%), 
                url('new_back.png') center/cover no-repeat;
    color: #fff;
}

.hero-grid-mini {
    max-width: 800px; 
}

.about-hero-compact .hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 900;
    line-height: 1.1;
    margin: 20px 0;
    letter-spacing: -1px;
}

.about-hero-compact p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    line-height: 1.6;
}

.stats-bar {
    background: #c7c2c2;
    color: #fff;
    padding: 15px 0;
}

.stats-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.s-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.s-item b {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    color: #e30613;
}

.s-item span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.7;
    max-width: 80px;
    line-height: 1.2;
}

@media (max-width: 850px) {
    .about-hero-compact {
        padding: 60px 0 40px;
        text-align: center;
    }
    
    .hero-grid-mini { margin: 0 auto; }

    .stats-flex {
        flex-direction: column;
        gap: 20px;
        text-align: left;
    }

    .s-item {
        width: 100%;
        max-width: 200px;
    }
}
.about-section-compact {
    padding: 60px 0;
    background: #fff;
}

.about-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 50px;
    align-items: center;
}

/* Текст */
.about-info h2 {
    font-size: 34px;
    font-weight: 900;
    line-height: 1.1;
    margin: 15px 0 25px;
    color: #1a1a1b;
}

.about-info .main-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.about-bullets-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.b-item {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.b-item span { color: #e30613; }

.about-visual .image-frame {
    position: relative;
    height: 350px;
    border-radius: 4px;
    overflow: hidden;
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #e30613;
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.exp-num {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.exp-txt {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

@media (max-width: 850px) {
    .about-grid-new {
        grid-template-columns: 1fr; 
        gap: 30px;
    }

    .about-visual .image-frame {
        height: 250px;
    }
    
    .about-info h2 { font-size: 26px; }
}
.industrial-paper {
    background: #fff;
    padding: 50px;
    margin-top: 30px;
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    min-height: 600px;
    max-height: 800px; 
    overflow-y: auto;   
    user-select: none; 
    font-family: 'Inter', sans-serif;
}

.industrial-paper table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.industrial-paper td, .industrial-paper th {
    border: 1px solid #ccc;
    padding: 8px;
    font-size: 14px;
}

.doc-footer-note {
    margin-top: 20px;
    font-size: 12px;
    color: #888;
    text-align: center;
}

.hero-info-line {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 11px;
    font-weight: 900;
    color: #e30613; 
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.hero-info-line .divider {
    color: #ddd;
    font-size: 24px;
    font-weight: 300;
}

.hero-main h1 {
    font-size: 48px;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-main h1 span {
    display: block;
    color: #e30613;
}

.hero-text {
    max-width: 600px;
    font-size: 17px;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 35px;
}

.hero-footer-notes {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(0,0,0,0.03);
    border-radius: 8px;
    border-left: 4px solid #e30613;
}

.note-title {
    display: block;
    font-weight: 900;
    font-size: 13px;
    color: #222;
    margin-bottom: 4px;
}

.note-text {
    font-size: 13px;
    color: #666;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.btn-main {
    background: #e30613;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-secondary {
    border: 2px solid #333;
    color: #333;
    padding: 13px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-main:hover { background: #c20510; }
.btn-secondary:hover { background: #333; color: #fff; }


@media screen and (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
    }

    .search-container, 
    div[class*="search"] {
        width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        left: 0 !important;
        right: 0 !important;
    }

    .nomenclatura-section, 
    header + section {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100% !important;
    }

    .catalog-slider-main, 
    .prod-card {
        margin: 0 auto !important;
        max-width: 100vw !important;
    }
}
.content-article {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
}
.content-article p {
    margin-bottom: 15px;
    text-align: justify;
}
.content-article ul {
    margin-bottom: 25px;
    padding-left: 20px;
}
.content-article li {
    margin-bottom: 8px;
    padding-left: 5px;
}
.article-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    margin: 35px 0 15px;
    color: #111;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
}
.info-note {
    background-color: #f8f9fa;
    border-left: 4px solid #fecb2f;
    padding: 25px;
    margin-top: 40px;
    border-radius: 8px;
}
.info-note strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #111;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    background-color: #fecb2f;
    color: #111;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}
.download-btn:hover {
    background-color: #e5b62b;
}
.download-icon {
    margin-right: 10px;
    font-size: 18px;
}
 .table-responsive {
            overflow-x: auto;
            margin-top: 30px;
        }
        .data-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 14px;
            min-width: 900px;
        }
        .data-table th, .data-table td {
            border: 1px solid #e0e0e0;
            padding: 12px 10px;
            vertical-align: middle;
            text-align: center;
        }
        .data-table th {
            background-color: #f8f9fa;
            font-weight: bold;
            color: #222;
        }
        .data-table td:first-child {
            background-color: #fcfcfc;
            font-weight: 600;
            color: #222;
            text-align: left;
            width: 30%;
        }
        .data-table tr:hover {
            background-color: #f9f9f9;
        }
        .table-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 24px;
            margin: 40px 0 20px;
            color: #111;
        }

.industrial-hero-full {
    position: relative;
    width: 100%;
    min-height: 400px;
    height: 45vh;
    display: flex;
    align-items: center;
    background: url('new_back.png') no-repeat center center;
    background-size: cover;
    overflow: hidden;
    border-top: 1px solid #e0e0e0;
    border-bottom: 3px solid #e30613;
}

.industrial-hero-full::after {
    content: '';
    position: absolute;
    top: 0; right: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.9) 100%);
    backdrop-filter: blur(2px);
    z-index: 2;
    pointer-events: none;
}

.flex-row-distribute {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

.hero-text-col {
    flex: 1;
    max-width: 650px;
}

.industrial-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.1;
    color: #1a1a1a;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.red-accent { color: #e30613; }

.industrial-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    max-width: 500px;
}

.hero-side-achievements {
    flex: 0 0 380px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.status-indicator-wide {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1px;
    color: #1a1a1a;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.pulse-red {
    width: 10px; height: 10px;
    background: #e30613;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(227, 6, 19, 0.4);
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(227, 6, 19, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(227, 6, 19, 0); }
}

.achievements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 20px;
}

.grid-item {
    display: flex;
    flex-direction: column;
}

.grid-item .value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 28px;
    color: #e30613;
    line-height: 1;
}

.grid-item .label {
    font-size: 11px;
    text-transform: uppercase;
    color: #666;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 8px;
}

.tech-footprint {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.tech-stat {
    font-size: 10px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .industrial-hero-full {
        height: auto;
        padding: 100px 0 60px;
    }

    .industrial-hero-full::after {
        background: rgba(255, 255, 255, 0.85); 
        backdrop-filter: blur(8px);
    }

    .flex-row-distribute {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-text-col {
        max-width: 100%;
    }

    .industrial-subtitle {
        margin: 0 auto;
    }

    .hero-side-achievements {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        background: #fff;
    }
}

@media (max-width: 480px) {
    .achievements-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .grid-item { align-items: center; }
}
@media (max-width: 1024px) {
    .search-wrapper-center {
        display: none !important;
    }
}

#catalog-search {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    padding: 10px;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
    .contacts-wrapper, 
    .contacts-wrapper .container {
        width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .contacts-grid-white {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .contact-card-white {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important; 
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 20px 15px !important; 
        box-sizing: border-box !important; 
        float: none !important;
    }

    .email-copy-wrapper, 
    .contact-email, 
    .req-item, 
    .c-main-val {
        word-break: break-all !important; 
        white-space: normal !important;
        display: block;
        width: 100%;
    }
    
    .req-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
}

/* --- ОСНОВНЫЕ СТИЛИ ПОДВАЛА --- */
.main-footer { 
    background: #111; 
    color: #fff; 
    padding: 40px 0 0 0; 
    border-top: 3px solid #e30613; /* Красная линия сверху */
    margin-top: auto; 
}
.footer-container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 15px 30px; 
    display: grid; 
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr; /* 4 колонки разных размеров */
    gap: 25px; 
}
.footer-logo { 
    background: #fff; 
    color: #111; 
    display: inline-block; 
    padding: 4px 8px; 
    font-weight: 800; 
    font-size: 15px; 
    margin-bottom: 12px; 
    border-radius: 3px; 
}
.footer-desc { color: #999; font-size: 11px; line-height: 1.5; margin-bottom: 15px; }

/* Заголовки колонок */
.footer-col h4, .main-footer h4 { 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 11px; 
    letter-spacing: 0.5px; 
    color: #aaa; 
    margin-bottom: 12px; 
    border-bottom: 1px solid #333; 
    padding-bottom: 6px; 
}

/* Списки ссылок */
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { 
    text-decoration: none; 
    color: #888; 
    font-size: 11px; 
    font-weight: 500; 
    transition: 0.2s; 
    display: inline-block; 
    padding: 2px 0; 
}
.footer-col ul li a:hover { color: #fff !important; padding-left: 3px; } /* Анимация сдвига вправо при наведении */

/* Блоки контактов */
.contact-item { margin-bottom: 10px; color: #ddd; display: flex; flex-direction: column; font-size: 11px; }
.contact-item .label { font-weight: 600; margin-bottom: 2px; color: #777; font-size: 9px; text-transform: uppercase; }
.contact-item .phone { font-size: 13px; font-weight: 800; color: #fff; text-decoration: none; margin-top: 1px; }
.contact-item a { color: #ddd; text-decoration: none; transition: 0.2s; }
.contact-item a:hover { color: #fff; }

/* Нижняя полоса с копирайтом */
.footer-bottom { 
    background-color: #0a0a0a !important; 
    padding: 12px 0 !important; 
    border-top: 1px solid #222; 
}
.bottom-container { max-width: 1100px; margin: 0 auto; padding: 0 15px; text-align: center; }
.bottom-container p { margin: 0; font-size: 10px; color: #555; }


/* --- АДАПТИВНОСТЬ (ДЛЯ МОБИЛЬНЫХ < 768px) --- */
@media (max-width: 768px) {
    .footer-container { 
        display: flex; /* Переключаемся с grid на flex */
        flex-direction: column !important; /* Выстраиваем в одну колонку */
        padding: 0 15px !important; 
        gap: 15px; 
    }
    .footer-col, .footer-left, .footer-right { 
        width: 100% !important; 
        text-align: center !important; /* Центрируем текст */
        padding: 10px 0 !important; 
    }
    .footer-col h4 { font-size: 12px; margin-top: 5px; border-bottom: none; }
    .footer-col h4::after { display: none; }
    .footer-logo { display: block; margin: 0 auto 8px; font-size: 13px; }
    .main-footer .footer-container .footer-col.about { margin: 0; min-height: auto; }
}