/* ===================================
   МЕХАНИЗМ СЕРВИС
   Main stylesheet
=================================== */


/* ===================================
   VARIABLES
=================================== */

:root {

    --primary: #0B4A78;
    --primary-dark: #08385D;

    --secondary: #0D2945;

    --text: #252525;
    --text-light: #6B7280;

    --white: #ffffff;

    --background: #F5F7FA;

    --border: #E5E7EB;

    --shadow:
    0 15px 40px rgba(0,0,0,0.08);

    --transition:
    .35s ease;

}





/* ===================================
   RESET
=================================== */


* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}



html {

    scroll-behavior: smooth;

}



body {

    font-family:
    "Inter",
    Arial,
    sans-serif;

    color: var(--text);

    background:
    var(--white);

    line-height: 1.6;

}



img {

    max-width: 100%;

    display: block;

}



a {

    text-decoration: none;

    color: inherit;

}



ul {

    list-style: none;

}



button {

    border: none;

    background: none;

    cursor: pointer;

}

.lucide {
    width: 1em;
    height: 1em;
    stroke-width: 1.8;
    vertical-align: -0.15em;
}






/* ===================================
   CONTAINER
=================================== */


.container{

    max-width:1440px;
    margin:0 auto;
    padding:0 20px;

}






/* ===================================
   TOPBAR
=================================== */


.topbar {

    background:
    var(--secondary);

    color:
    var(--white);

    font-size:
    14px;

}



.topbar .container {

    height: 42px;

    display:
    flex;

    justify-content:
    space-between;

    align-items:
    center;

}



.topbar-left,
.topbar-right {

    display:
    flex;

    align-items:
    center;

    gap:
    25px;

}



.topbar a {

    transition:
    var(--transition);

}



.topbar a:hover {

    color:
    #9ccaff;

}







/* ===================================
   HEADER
=================================== */


.header {

    background:
    var(--white);

    height:
    92px;

    display:
    flex;

    align-items:
    center;

    position:
    relative;

    z-index:
    10;

}



.header .container {

    display:
    flex;

    align-items:
    center;

    justify-content:
    space-between;

}





/* LOGO */


.logo {

    display:
    flex;

    align-items:
    center;

    gap:
    15px;

}



.logo img {

    width:
    58px;

    height:
    58px;

    object-fit: contain;

}



.logo-text h2 {

    font-size:
    22px;

    line-height:
    1;

    font-weight:
    800;

    text-transform:
    uppercase;

}



.logo-text h2 span {

    color:
    var(--primary);

}



.logo-text p {

    margin-top:
    6px;

    font-size:
    12px;

    color:
    var(--text-light);

}







/* NAVIGATION */


.navigation ul {

    display:
    flex;

    align-items:
    center;

    gap:
    35px;

}



.navigation a {

    font-size:
    15px;

    font-weight:
    600;

    color:
    var(--secondary);

    position:
    relative;

}



.navigation a::after {

    content:"";

    position:
    absolute;

    bottom:
    -8px;

    left:
    0;

    width:
    0;

    height:
    2px;

    background:
    var(--primary);

    transition:
    var(--transition);

}



.navigation a:hover::after {

    width:
    100%;

}







/* HEADER ACTIONS */


.header-actions {

    display:
    flex;

    align-items:
    center;

    gap:
    12px;

}



.search-btn,
.cart-btn {

    width:
    42px;

    height:
    42px;

    border:
    1px solid var(--border);

    border-radius:
    8px;

    transition:
    var(--transition);

}



.search-btn:hover,
.cart-btn:hover {

    border-color:
    var(--primary);

    color:
    var(--primary);

}





.callback-btn {

    background:
    var(--primary);

    color:
    white;

    padding:
    13px 22px;

    border-radius:
    7px;

    font-size:
    14px;

    font-weight:
    600;

    transition:
    var(--transition);

}



.callback-btn:hover {

    background:
    var(--primary-dark);

}








/* ===================================
   HERO
=================================== */


.hero {

    min-height:
    720px;

    position:
    relative;

    overflow:
    hidden;

    background:
    #0d2945;

}



.hero .container {

    min-height:
    720px;

    display:
    flex;

    align-items:
    center;

    position:
    relative;

    z-index:
    2;

}





.hero-overlay {

    position:
    absolute;

    inset:
    0;

    background:

    linear-gradient(
        90deg,
        rgba(8,35,60,.95),
        rgba(8,35,60,.65),
        rgba(8,35,60,.2)
    );

    z-index:
    1;

}



.hero-image {

    position:
    absolute;

    right:
    0;

    top:
    0;

    width:
    60%;

    height:
    100%;

    z-index:
    1;

}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 41, 69, .9) 0%, rgba(13, 41, 69, .52) 42%, rgba(13, 41, 69, .06) 100%);
}



.hero-image img {

    width:
    100%;

    height:
    100%;

    object-fit:
    cover;

}





.hero-content {

    width:
    min(52%, 650px);

    position:
    relative;

    z-index:
    3;

    color:
    white;

}





.hero-subtitle {

    display:
    inline-block;

    margin-bottom:
    20px;

    color:
    #9dc9ff;

    font-size:
    16px;

    font-weight:
    600;

}





.hero h1 {

    font-size:
    56px;

    line-height:
    1.15;

    font-weight:
    800;

    margin-bottom:
    25px;

}



.hero p {

    font-size:
    18px;

    color:
    rgba(255,255,255,.85);

    margin-bottom:
    30px;

}



.hero-features {

    display:
    grid;

    grid-template-columns:
    repeat(2,1fr);

    gap:
    15px;

    margin-bottom:
    35px;

}



.hero-features div {

    font-size:
    15px;

}

.hero-features .lucide {
    margin-right: 7px;
    color: #9dc9ff;
}



.hero-buttons {

    display:
    flex;

    gap:
    15px;

}



.btn {

    display:
    inline-flex;

    align-items:
    center;

    justify-content:
    center;

    padding:
    15px 30px;

    border-radius:
    7px;

    font-weight:
    600;

    transition:
    var(--transition);

}



.btn-primary {

    background:
    var(--primary);

    color:
    white;

}



.btn-primary:hover {

    background:
    var(--primary-dark);

}



.btn-secondary {

    border:
    1px solid rgba(255,255,255,.5);

    color:
    white;

}



.btn-secondary:hover {

    background:
    white;

    color:
    var(--secondary);

}
/* ===================================
   SECTION GLOBAL STYLES
=================================== */


section {

    padding:
    100px 0;

}



.section-header {

    text-align:
    center;

    max-width:
    750px;

    margin:
    0 auto 60px;

}



.section-label {

    display:
    inline-block;

    color:
    var(--primary);

    font-size:
    14px;

    font-weight:
    700;

    text-transform:
    uppercase;

    letter-spacing:
    1px;

    margin-bottom:
    15px;

}



.section-header h2 {

    font-size:
    40px;

    line-height:
    1.2;

    font-weight:
    800;

    margin-bottom:
    20px;

}



.section-header p {

    color:
    var(--text-light);

    font-size:
    17px;

}








/* ===================================
   CATEGORIES
=================================== */


.categories {

    background:
    var(--background);

}





.categories-grid {

    display:
    grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:
    30px;

}





.category-card {

    background:
    white;

    padding:
    35px;

    border-radius:
    14px;

    border:
    1px solid var(--border);

    transition:
    var(--transition);

    position:
    relative;

    overflow:
    hidden;

}



.category-card::before {

    content:"";

    position:
    absolute;

    top:
    0;

    left:
    0;

    width:
    100%;

    height:
    4px;

    background:
    var(--primary);

    transform:
    scaleX(0);

    transform-origin:
    left;

    transition:
    var(--transition);

}



.category-card:hover::before {

    transform:
    scaleX(1);

}



.category-card:hover {

    transform:
    translateY(-8px);

    box-shadow:
    var(--shadow);

}



.category-icon {

    width:
    70px;

    height:
    70px;

    display:
    flex;

    align-items:
    center;

    justify-content:
    center;

    background:
    rgba(11,92,173,.1);

    color:
    var(--primary);

    border-radius:
    12px;

    font-size:
    32px;

    margin-bottom:
    25px;

}

.category-icon .lucide,
.advantage-icon .lucide {
    width: 34px;
    height: 34px;
    stroke-width: 1.6;
}



.category-card h3 {

    font-size:
    22px;

    margin-bottom:
    12px;

}



.category-card p {

    color:
    var(--text-light);

    font-size:
    15px;

    margin-bottom:
    20px;

}

.category-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
}

.category-subcategories li {
    padding: 5px 9px;
    border-radius: 5px;
    background: #eef4f8;
    color: var(--secondary);
    font-size: 12px;
    line-height: 1.25;
}

.category-subcategories a {
    color: inherit;
}

.category-subcategories a:hover,
.category-card h3 a:hover,
.category-link:hover {
    color: var(--primary);
}

.category-link {
    color: var(--primary);
    font-weight: 600;
}



.category-card span {

    color:
    var(--primary);

    font-weight:
    600;

    font-size:
    14px;

}









/* ===================================
   PRODUCTS
=================================== */


.products {

    background:
    white;

}





.products-grid {

    display:
    grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:
    25px;

}



.product-card {

    border:
    1px solid var(--border);

    border-radius:
    12px;

    overflow:
    hidden;

    background:
    white;

    transition:
    var(--transition);

}



.product-card:hover {

    transform:
    translateY(-8px);

    box-shadow:
    var(--shadow);

}





.product-image {

    height:
    260px;

    background:
    #f1f3f6;

    overflow:
    hidden;

}



.product-image img {

    width:
    100%;

    height:
    100%;

    object-fit:
    cover;

    transition:
    .5s ease;

}



.product-card:hover img {

    transform:
    scale(1.08);

}





.product-info {

    padding:
    25px;

}



.product-info span {

    font-size:
    13px;

    color:
    var(--text-light);

}



.product-info h3 {

    font-size:
    18px;

    margin:
    12px 0 18px;

}



.product-info a {

    color:
    var(--primary);

    font-weight:
    600;

    font-size:
    14px;

}



.products-button {

    display:
    flex;

    justify-content:
    center;

    margin-top:
    50px;

}









/* ===================================
   ADVANTAGES
=================================== */


.advantages {

    background:
    var(--background);

}





.advantages-grid {

    display:
    grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:
    25px;

}





.advantage-card {

    background:
    white;

    padding:
    35px 25px;

    border-radius:
    12px;

    text-align:
    center;

    transition:
    var(--transition);

}



.advantage-card:hover {

    transform:
    translateY(-7px);

    box-shadow:
    var(--shadow);

}





.advantage-icon {

    width:
    65px;

    height:
    65px;

    margin:
    0 auto 20px;

    display:
    flex;

    align-items:
    center;

    justify-content:
    center;

    border-radius:
    50%;

    background:
    rgba(11,92,173,.1);

    font-size:
    28px;

}





.advantage-card h3 {

    font-size:
    18px;

    margin-bottom:
    12px;

}



.advantage-card p {

    color:
    var(--text-light);

    font-size:
    14px;

}
/* ===================================
   ABOUT COMPANY
=================================== */


.about {

    background:
    white;

}



.about-wrapper {

    display:
    grid;

    grid-template-columns:
    1fr 1fr;

    gap:
    70px;

    align-items:
    center;

}



.about-image {

    height:
    500px;

    border-radius:
    16px;

    overflow:
    hidden;

}



.about-image img {

    width:
    100%;

    height:
    100%;

    object-fit:
    cover;

}



.about-content h2 {

    font-size:
    40px;

    line-height:
    1.2;

    font-weight:
    800;

    margin-bottom:
    25px;

}



.about-content p {

    color:
    var(--text-light);

    margin-bottom:
    18px;

    font-size:
    16px;

}







/* ===================================
   PRODUCTION
=================================== */


.production {

    position:
    relative;

    background:
    url("../img/production.jpg")
    center/cover no-repeat;

    color:
    white;

}



.production-overlay {

    position:
    absolute;

    inset:
    0;

    background:
    rgba(9,38,66,.92);

}



.production .container {

    position:
    relative;

    z-index:
    2;

}



.production-content {

    max-width:
    850px;

}



.production-content .section-label {

    color:
    #9ccaff;

}



.production-content h2 {

    font-size:
    44px;

    line-height:
    1.2;

    margin-bottom:
    25px;

}



.production-content p {

    color:
    rgba(255,255,255,.8);

    font-size:
    18px;

    max-width:
    700px;

    margin-bottom:
    45px;

}



.production-stats {

    display:
    flex;

    gap:
    80px;

}



.stat {

    display:
    flex;

    flex-direction:
    column;

}



.stat strong {

    font-size:
    48px;

    font-weight:
    800;

}



.stat span {

    color:
    rgba(255,255,255,.7);

}









/* ===================================
   ORDER
=================================== */


.order {

    background:
    white;

}



.order-grid {

    display:
    grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:
    25px;

}



.order-item {

    text-align:
    center;

    position:
    relative;

}



.order-number {

    width:
    75px;

    height:
    75px;

    margin:
    0 auto 25px;

    border-radius:
    50%;

    display:
    flex;

    align-items:
    center;

    justify-content:
    center;

    background:
    var(--primary);

    color:
    white;

    font-size:
    22px;

    font-weight:
    700;

}



.order-item h3 {

    font-size:
    18px;

    margin-bottom:
    12px;

}



.order-item p {

    color:
    var(--text-light);

    font-size:
    14px;

}









/* ===================================
   CALLBACK
=================================== */


.callback {

    padding:
    70px 0;

}



.callback-box {

    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    border-radius:
    18px;

    padding:
    55px 65px;

    color:
    white;

    display:
    flex;

    justify-content:
    space-between;

    align-items:
    center;

}



.callback-box h2 {

    font-size:
    36px;

    line-height:
    1.2;

    margin-bottom:
    15px;

}



.callback-box p {

    color:
    rgba(255,255,255,.8);

}



.callback-buttons {

    display:
    flex;

    gap:
    15px;

}



.btn-white {

    background:
    white;

    color:
    var(--secondary);

}



.btn-white:hover {

    background:
    #e8eef5;

}



.btn-outline-white {

    border:
    1px solid rgba(255,255,255,.5);

    color:
    white;

}



.btn-outline-white:hover {

    background:
    white;

    color:
    var(--secondary);

}









/* ===================================
   FOOTER
=================================== */


.footer {

    background:
    #081d33;

    color:
    white;

    padding:
    80px 0 30px;

}



.footer-grid {

    display:
    grid;

    grid-template-columns:
    1.5fr 1fr 1fr 1fr;

    gap:
    50px;

}



.footer-company h3 {

    font-size:
    28px;

    text-transform:
    uppercase;

    margin-bottom:
    20px;

}



.footer-company span {

    color:
    #55a7ff;

}



.footer-company p {

    color:
    rgba(255,255,255,.65);

    max-width:
    280px;

}



.footer-column {

    display:
    flex;

    flex-direction:
    column;

    gap:
    12px;

}



.footer-column h4 {

    font-size:
    18px;

    margin-bottom:
    10px;

}



.footer-column a,
.footer-column p {

    color:
    rgba(255,255,255,.65);

    font-size:
    14px;

    transition:
    var(--transition);

}



.footer-column a:hover {

    color:
    white;

}



.footer-bottom {

    border-top:
    1px solid rgba(255,255,255,.1);

    margin-top:
    50px;

    padding-top:
    25px;

    color:
    rgba(255,255,255,.5);

    font-size:
    14px;

}
/* ===================================
   RESPONSIVE
=================================== */



@media (max-width: 1200px) {






    .navigation ul {

        gap:
        20px;

    }
    .hero h1 {

        font-size:
        48px;

    }


    .categories-grid {

        grid-template-columns:
        repeat(2,1fr);

    }


    .products-grid {

        grid-template-columns:
        repeat(2,1fr);

    }


    .advantages-grid {

        grid-template-columns:
        repeat(2,1fr);

    }


    .order-grid {

        grid-template-columns:
        repeat(2,1fr);

    }


    .footer-grid {

        grid-template-columns:
        repeat(2,1fr);

    }

}









@media (max-width: 992px) {



    .topbar .container {

        flex-direction:
        column;

        height:
        auto;

        padding:
        10px 20px;

        gap:
        8px;

    }



    .header {

        height:
        auto;

        padding:
        20px 0;

    }



    .header .container {

        flex-wrap:
        wrap;

        gap:
        20px;

    }



    .navigation {

        order:
        3;

        width:
        100%;

    }



    .navigation ul {

        justify-content:
        center;

        flex-wrap:
        wrap;

    }



    .hero {

        min-height:
        650px;

    }



    .hero-image {

        width:
        100%;

        opacity:
        .35;

    }



    .hero-content {

        width:
        100%;

    }



    .hero h1 {

        font-size:
        42px;

    }



    .about-wrapper {

        grid-template-columns:
        1fr;

        gap:
        40px;

    }



    .about-image {

        height:
        400px;

    }



    .production-stats {

        gap:
        40px;

    }



    .callback-box {

        flex-direction:
        column;

        align-items:
        flex-start;

        gap:
        30px;

    }



}









@media (max-width: 768px) {



    section {

        padding:
        70px 0;

    }



    .container {

        padding:
        0 15px;

    }



    .logo-text p {

        display:
        none;

    }



    .navigation ul {

        flex-direction:
        column;

        gap:
        15px;

    }



    .header-actions {

        width:
        100%;

    }



    .callback-btn {

        width:
        100%;

        text-align:
        center;

    }



    .hero {

        min-height:
        600px;

    }



    .hero .container {

        min-height:
        600px;

    }



    .hero h1 {

        font-size:
        34px;

    }



    .hero p {

        font-size:
        16px;

    }



    .hero-features {

        grid-template-columns:
        1fr;

    }



    .hero-buttons {

        flex-direction:
        column;

    }



    .btn {

        width:
        100%;

    }



    .section-header h2 {

        font-size:
        32px;

    }



    .categories-grid,
    .products-grid,
    .advantages-grid,
    .order-grid {

        grid-template-columns:
        1fr;

    }



    .category-card {

        padding:
        30px;

    }



    .product-image {

        height:
        230px;

    }



    .about-content h2 {

        font-size:
        32px;

    }



    .production-content h2 {

        font-size:
        34px;

    }



    .production-stats {

        flex-direction:
        column;

        gap:
        25px;

    }



    .stat strong {

        font-size:
        40px;

    }



    .callback-box {

        padding:
        35px 25px;

    }



    .callback-box h2 {

        font-size:
        28px;

    }



    .callback-buttons {

        width:
        100%;

        flex-direction:
        column;

    }



    .footer-grid {

        grid-template-columns:
        1fr;

        gap:
        35px;

    }


}









@media (max-width: 480px) {



    .topbar-left,
    .topbar-right {

        flex-direction:
        column;

        gap:
        5px;

    }



    .logo {

        gap:
        8px;

    }



    .logo img {

        width:
        45px;

        height:
        45px;

    }



    .logo-text h2 {

        font-size:
        18px;

    }



    .hero h1 {

        font-size:
        30px;

    }



    .hero-subtitle {

        font-size:
        14px;

    }



    .section-header h2 {

        font-size:
        28px;

    }



}
.cart-link {

    position: relative;

}



#cart-count {

    position: absolute;

    top: -8px;

    right: -8px;

    width: 20px;

    height: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--primary);

    color: white;

    border-radius: 50%;

    font-size: 12px;

    font-weight: 700;

}

/* ===================================
   HEADER SEARCH
=================================== */

.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.search-btn {
    width: 42px;
    height: 42px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: #fff;

    cursor: pointer;

    font-size: 22px;
    line-height: 1;

    transition: var(--transition);
}

.search-btn:hover {
    border-color: var(--primary);
}

.header-search-form {
    position: absolute;

    top: calc(100% + 12px);
    right: 0;

    width: 360px;

    padding: 10px;

    display: none;

    gap: 8px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 10px;

    box-shadow: 0 12px 35px rgba(0,0,0,.12);

    z-index: 100;
}

.header-search-form.active {
    display: flex;
}

.header-search-form input {
    flex: 1;

    min-width: 0;

    height: 42px;

    padding: 0 13px;

    border: 1px solid var(--border);
    border-radius: 7px;

    outline: none;

    font-family: inherit;
    font-size: 14px;
}

.header-search-form input:focus {
    border-color: var(--primary);
}

.header-search-form button {
    height: 42px;

    padding: 0 18px;

    border: none;
    border-radius: 7px;

    background: var(--primary);
    color: #fff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}


/* ===================================
   CART
=================================== */

.cart-icon {
    position: relative;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 8px;

    color: inherit;
    text-decoration: none;

    font-size: 21px;
    line-height: 1;

    transition: var(--transition);
}

.cart-icon:hover {
    border-color: var(--primary);
    color: var(--primary);
}

#cart-count {
    position: absolute;

    top: -7px;
    right: -7px;

    min-width: 20px;
    height: 20px;

    padding: 0 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);
    color: #fff;

    border-radius: 50%;

    font-size: 11px;
    line-height: 1;
    font-weight: 700;

    box-sizing: border-box;
}
/* FIX HEADER / BOX SIZING */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}


/* HEADER */

.header .container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    flex-shrink: 0;
}

.navigation {
    min-width: 0;
}

.navigation ul {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}


/* ПОИСК */

.header-search {
    position: relative;
    flex-shrink: 0;
}

.search-btn {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: #fff;

    cursor: pointer;
    font-size: 22px;
}


/* КОРЗИНА */

.cart-icon {
    position: relative;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    font-size: 21px;
    line-height: 1;

    border: 1px solid var(--border);
    border-radius: 8px;

    flex-shrink: 0;
}

#cart-count {
    position: absolute;

    top: -7px;
    right: -7px;

    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);
    color: #fff;

    border-radius: 50%;

    font-size: 11px;
    font-weight: 700;
}
@media (max-width: 1100px) {

    .header {
        height: auto;
        padding: 18px 0;
    }

    .header .container {
        flex-wrap: wrap;
    }

    .navigation {
        order: 3;
        width: 100%;
    }

    .navigation ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px 25px;
    }

}
