/* Наш текущий CSS, к которому я добавляю новые стили для секций */
:root {
    --bg-dark: #09090b;
    --bg-card: #18181b;
    --primary: #f97316; /* Industrial Orange */
    --primary-hover: #ea580c;
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --border-color: rgba(255,255,255,0.1);
    --glass-bg: rgba(24, 24, 27, 0.7);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

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

.logo-rus {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 4.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-contact {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.contact-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary);
}

/* Buttons */
button {
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 600;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.5rem;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(0, 100, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: -4rem;
    z-index: 1;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(249, 115, 22, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    transform: perspective(1000px) rotateY(-5deg) scale(1.05);
    transition: transform 0.5s ease;
}

.image-frame:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.1);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 650px;
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    color: transparent;
    background: linear-gradient(90deg, #f97316, #fcd34d);
    -webkit-background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.stats {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    justify-content: space-between;
}

.stat-item {
    flex: 0 1 auto;
    min-width: 0;
}

.stat-item h3 {
    font-size: 1.6rem;
    color: var(--text-main);
    margin-bottom: 0.2rem;
    white-space: nowrap;
}

.stat-item span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Features */
.features {
    padding: 5rem 5%;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(249, 115, 22, 0.3);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
}

/* Quiz Modal */
.quiz-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.quiz-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.quiz-container {
    background: var(--bg-card);
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    border: 1px solid var(--border-color);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quiz-overlay.active .quiz-container {
    transform: translateY(0);
}

.close-quiz {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    line-height: 1;
    transition: color 0.3s;
}

.close-quiz:hover {
    color: white;
}

.quiz-progress {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary);
    width: 33.33%;
    transition: width 0.3s ease;
}

.quiz-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.quiz-step.active {
    display: block;
}

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

.quiz-step h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.quiz-step p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.input-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
}

textarea {
    min-height: 100px;
    resize: vertical;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.02);
}

.upload-zone:hover {
    border-color: var(--primary);
    background: rgba(249, 115, 22, 0.05);
}

.upload-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.quiz-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}


/* --- NEW BLOCKS CSS --- */

/* About Factory */
.about-factory {
    padding: 5rem 5%;
    background: linear-gradient(to right, var(--bg-card), var(--bg-dark));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.factory-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.factory-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.factory-list {
    margin-top: 2rem;
    list-style: none;
}
.factory-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}
.factory-list li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}
.factory-list strong {
    color: var(--text-main);
}
.factory-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.fact-box {
    background: rgba(255,255,255,0.03);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    transition: transform 0.3s;
}
.fact-box:hover {
    transform: translateX(10px);
}
.fact-box h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.fact-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Services OEM */
.services-oem {
    padding: 5rem 5%;
}
.card-minimal {
    background: transparent;
    border: 1px solid var(--border-color);
}

/* Workflow */
.workflow {
    padding: 5rem 5%;
    background: var(--bg-card);
}
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
}
.workflow-step {
    padding: 2rem;
    background: rgba(0,0,0,0.2);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(249, 115, 22, 0.1);
    position: absolute;
    top: -10px;
    right: -10px;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}
.workflow-step h3 {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.workflow-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Industries */
.industries {
    padding: 5rem 5%;
    text-align: center;
}
.industries-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}
.tag {
    padding: 0.8rem 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all 0.3s;
    cursor: default;
}
.tag:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 4rem 5% 2rem;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 400px;
    font-size: 0.9rem;
}
.footer-contacts h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.footer-contacts p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.footer-contacts a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-contacts a:hover {
    color: var(--primary);
}
.phone-link {
    font-weight: 600;
    color: var(--text-main);
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
    }
    .hero-image-wrapper {
        margin-top: 3rem;
    }
    .factory-content {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Warehouse */
.warehouse {
    padding: 5rem 5%;
    background: var(--bg-dark);
}

/* Guarantee Section */
.guarantee {
    padding: 5rem 5%;
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.1) 0%, var(--bg-dark) 70%);
}
.guarantee-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 20px;
    padding: 4rem;
    display: flex;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.guarantee-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.2);
}
.guarantee-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}
.guarantee-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

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

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .stats { flex-direction: column; gap: 1.5rem; }
    .nav-contact { display: none; }
    .guarantee-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 1rem;
}
.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}
.gallery-item:hover {
    transform: translateY(-5px);
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(18, 24, 38, 0.9);
    color: var(--text);
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    border-top: 2px solid var(--primary);
}
