/* style.css — исходная рабочая версия */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7fc;
    color: #1a2a3a;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e0e8f0;
    z-index: 1001;
}
.progress-bar {
    height: 3px;
    background: #e67e22;
    width: 0%;
    transition: width 0.08s linear;
}

.header {
    background: #0a2a44;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #1e4a76;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    flex-wrap: wrap;
}
.logo a {
    text-decoration: none;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.logo-accent {
    color: #e67e22;
}
.logo-tagline {
    font-size: 0.8rem;
    color: #9bb7d4;
    margin-top: 4px;
}
.header-contacts a {
    color: white;
    margin-left: 28px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.header-contacts a:hover {
    color: #e67e22;
}
.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}
.main-nav-wrapper {
    background: #0c2e4a;
    border-top: 1px solid #1e4a76;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.nav-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 10px 0;
}
.nav-list > li > a,
.nav-list > li > .dropbtn {
    color: #e2edf7;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    padding: 8px 12px;
    display: inline-block;
}
.nav-list a:hover,
.nav-list .dropbtn:hover {
    color: #e67e22;
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropbtn {
    background: transparent;
    border: none;
    cursor: pointer;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #0f3460;
    min-width: 260px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 1;
    border: 1px solid #1e4a76;
    top: 100%;
    left: 0;
}
.dropdown-content a {
    color: #e2edf7;
    padding: 12px 18px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    border-bottom: 1px solid #1e4a76;
    transition: background 0.2s;
}
.dropdown-content a:last-child {
    border-bottom: none;
}
.dropdown-content a:hover {
    background-color: #e67e22;
    color: white;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.hero {
    background: linear-gradient(95deg, #0a2a44 0%, #0f3460 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
}
.hero-overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #d0e2f2;
    text-align: justify;
}
.btn-primary {
    background: #e67e22;
    color: white;
    padding: 14px 34px;
    border-radius: 0;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-1px);
}
.section {
    padding: 70px 0;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
    color: #1a2a3a;
    position: relative;
}
.section-title:after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: #e67e22;
    margin: 16px auto 0;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-card {
    position: relative;
    overflow: hidden;
    background: rgba(10, 42, 68, 0.85);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 100%;
    min-height: 380px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
    transition: transform 0.3s ease;
}
.service-card:hover .service-bg {
    transform: scale(1.05);
}
.service-content {
    position: relative;
    z-index: 2;
    padding: 40px 24px;
    backdrop-filter: blur(2px);
    flex: 1;
}
.service-card i {
    font-size: 3rem;
    color: #e67e22;
    margin-bottom: 20px;
    display: inline-block;
}
.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 16px;
    background: linear-gradient(120deg, #fff, #e67e22, #fff);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: shine 5s linear infinite;
}
@keyframes shine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.service-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #f0f4f8;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    text-align: justify;
}
.risks-bg {
    background: #eef2f5;
}
.risk-item-row {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-bottom: 56px;
    background: white;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    border: 1px solid #e0e7ef;
}
.risk-text {
    flex: 1;
    padding: 40px;
}
.risk-text h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #0a2a44;
    font-weight: 600;
}
.risk-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #2c3e4e;
}
.risk-image {
    flex: 1;
    min-height: 340px;
    background-size: cover;
    background-position: center;
}
.risk-item-row.reverse {
    flex-direction: row-reverse;
}
.local-bg-1 { background-image: url('img/risk-fraud.jpg'); }
.local-bg-2 { background-image: url('img/risk-money.jpg'); }
.local-bg-3 { background-image: url('img/risk-truck.jpg'); }
.local-bg-4 { background-image: url('img/risk-warranty.jpg'); }
.risk-footnote {
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 32px;
    color: #0a2a44;
    border-top: 1px solid #d0dde8;
    padding-top: 32px;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.about-text p, .about-text ul {
    text-align: justify;
}
.about-text ul {
    padding-left: 20px;
}
.form-in-about {
    background: #f8fafc;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.form-in-about h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #0b1e33;
}
.form-in-about p {
    margin-bottom: 24px;
    color: #334155;
}
.callback-form input,
.callback-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #cbd5e1;
    font-family: inherit;
    font-size: 1rem;
    background: white;
    border-radius: 16px;
    transition: 0.2s;
}
.callback-form input:focus,
.callback-form textarea:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245,158,11,0.2);
}
.callback-form .btn-submit {
    background: #f59e0b;
    color: #0b1e33;
    border: none;
    padding: 14px 28px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    border-radius: 40px;
    transition: 0.2s;
}
.callback-form .btn-submit:hover {
    background: #e68a00;
}
.callback-form .form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.callback-form .form-note {
    margin-top: 12px;
    font-size: 0.8rem;
    color: #5a6e7c;
    text-align: center;
}
.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    gap: 24px;
    padding: 20px 10px;
}
.partner-card {
    flex: 0 0 200px;
    background: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border: 1px solid #e0e7ef;
}
.partner-card img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0a2a44;
    border: none;
    color: white;
    font-size: 1.6rem;
    width: 42px;
    height: 42px;
    cursor: pointer;
    transition: 0.2s;
}
.carousel-btn:hover {
    background: #e67e22;
}
.prev { left: 0; }
.next { right: 0; }
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.equip-card {
    background: white;
    padding: 24px 20px;
    text-align: center;
    border: 1px solid #e0e7ef;
    display: flex;
    flex-direction: column;
}
.equip-icon {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
}
.equip-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 600;
}
.equip-card p {
    font-size: 0.95rem;
    color: #2c3e4e;
    flex: 1;
    text-align: justify;
}
.equip-link {
    display: inline-block;
    margin-top: 12px;
    color: #f59e0b;
    font-weight: 500;
    text-decoration: none;
}
.equip-link:hover {
    text-decoration: underline;
}
.other-equipment {
    background: #f8fafc;
    border-radius: 28px;
    padding: 40px;
    margin-top: 50px;
    text-align: center;
}
.other-equipment h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #0b1e33;
}
.other-equipment p {
    font-size: 1rem;
    color: #334155;
    max-width: 800px;
    margin: 0 auto 25px;
    text-align: justify;
}
.other-equipment .btn-other {
    background: #f59e0b;
    color: #0b1e33;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.2s;
}
.other-equipment .btn-other:hover {
    background: #e68a00;
}
.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contacts-info {
    background: #f0f4f8;
    padding: 32px;
    border: 1px solid #e0e7ef;
}
.company-details p {
    margin: 20px 0;
}
.company-details a {
    color: #0a2a44;
    text-decoration: none;
    transition: color 0.2s;
}
.company-details a:hover {
    color: #e67e22;
}
.footer {
    background: #0a2a44;
    color: #9bb7d4;
    padding: 32px 0;
    border-top: 1px solid #1e4a76;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.burger-btn {
    background: #0c2e4a;
    border: 1px solid #1e4a76;
    color: white;
    padding: 10px 24px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
}
.burger-btn:hover {
    background: #e67e22;
    border-color: #e67e22;
}
.burger-menu-panel {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 24px;
    background: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 200;
    border: 1px solid #e0e7ef;
}
.burger-menu-panel.show {
    display: block;
}
.burger-nav-list {
    list-style: none;
    padding: 12px 0;
}
.burger-nav-list li a {
    display: block;
    padding: 12px 28px;
    color: #0a2a44;
    text-decoration: none;
    font-weight: 500;
}
.burger-nav-list li a:hover {
    background: #e67e22;
    color: white;
}
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-content {
    background: white;
    max-width: 600px;
    width: 90%;
    padding: 32px;
    position: relative;
    border-top: 4px solid #e67e22;
}
.close-modal {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 28px;
    cursor: pointer;
}
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #e67e22;
    color: white;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    border-radius: 60px;
}
.scroll-top.show {
    opacity: 1;
    visibility: visible;
}
.scroll-top:hover {
    background: #c0392b;
}
.section-stanki, .section-rezka, .section-svarka, .section-robots, .section-gofro {
    padding: 70px 0;
    border-bottom: 1px solid #e2e8f0;
}
.carousel-stanki {
    position: relative;
    max-width: 900px;
    margin: 0 auto 40px;
    overflow: hidden;
    border-radius: 28px;
}
.carousel-track-stanki {
    display: flex;
    transition: transform 0.5s ease;
}
.carousel-slide {
    flex: 0 0 100%;
    text-align: center;
    background: #f8fafc;
    border-radius: 28px;
    padding: 20px;
}
.carousel-slide img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: white;
    border-radius: 20px;
    padding: 20px;
}
.carousel-caption {
    margin-top: 16px;
    font-size: 1rem;
    font-weight: 500;
    color: #0b1e33;
}
.carousel-btn-stanki {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(11,30,51,0.7);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 60px;
    cursor: pointer;
    transition: 0.2s;
    z-index: 10;
}
.carousel-btn-stanki:hover { background: #f59e0b; }
.prev-stanki { left: 10px; }
.next-stanki { right: 10px; }
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.dot {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}
.dot.active { background: #f59e0b; width: 24px; }
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}
.tech-card {
    background: #f1f5f9;
    border-radius: 28px;
    padding: 28px;
    transition: 0.2s;
}
.tech-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.tech-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #0b1e33;
}
.tech-card h3 i { color: #f59e0b; margin-right: 10px; }
.tech-card ul { list-style: none; padding-left: 0; }
.tech-card li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
.tech-card li:before {
    content: '—';
    color: #f59e0b;
    position: absolute;
    left: 0;
}
.desc-text {
    margin: 30px 0 20px;
    line-height: 1.7;
}
.desc-text p {
    margin-bottom: 16px;
    text-align: justify;
}
.commercial-offer {
    background: #0b1e33;
    color: white;
    padding: 40px;
    border-radius: 32px;
    text-align: center;
    margin: 40px 0;
}
.commercial-offer .btn-offer {
    background: #f59e0b;
    color: #0b1e33;
    padding: 14px 32px;
    border-radius: 40px;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    font-weight: 600;
}
.catalog-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}
.catalog-links a {
    color: #f59e0b;
    text-decoration: none;
    margin: 0 4px;
}
.btn-catalog {
    display: inline-block;
    background: #f59e0b;
    color: #0b1e33;
    padding: 10px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
}
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 880px) {
    .header-contacts {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .main-nav-wrapper {
        display: none;
    }
    .main-nav-wrapper.show {
        display: block;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        background: #0c2e4a;
        z-index: 101;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 16px 0;
        flex-wrap: wrap;
    }
    .dropdown {
        display: block;
        width: 100%;
        text-align: center;
    }
    .dropdown-content {
        position: static;
        width: 100%;
    }
    .dropdown:hover .dropdown-content {
        display: none;
    }
    .dropdown.active .dropdown-content {
        display: block;
    }
    .risk-item-row, .risk-item-row.reverse {
        flex-direction: column;
    }
    .risk-image {
        width: 100%;
        min-height: 260px;
    }
    .about-grid, .contacts-wrapper {
        grid-template-columns: 1fr;
    }
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .carousel-slide img {
        height: 200px;
    }
}
