/* =========================
   Общие настройки
========================= */

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


html {
    scroll-behavior: smooth;
}


body {

    font-family: Arial, Helvetica, sans-serif;

    color: #333;

    background: #fff;

    line-height: 1.6;

}


.container {

    width: 90%;

    max-width: 1200px;

    margin: 0 auto;

}


h2 {

    text-align: center;

    font-size: 32px;

    margin-bottom: 40px;

    color: #1d3557;

}


a {

    text-decoration: none;

    color: inherit;

}





/* =========================
   Шапка
========================= */


.header {

    background: #ffffff;

    border-bottom: 1px solid #ddd;

    position: sticky;

    top: 0;

    z-index: 100;

}



.header-inner {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 20px 0;

}



.logo {

    display: flex;

    align-items: center;

    gap: 15px;

}


.logo img {

    width: 55px;

    height: 55px;

    object-fit: contain;

}



.logo h1 {

    text-transform: uppercase;

    font-size: 25px;

    color: #1d3557;

}


.logo span {

    color: #777;

    font-size: 14px;

}



nav {

    display: flex;

    gap: 30px;

}


nav a {

    color: #333;

    font-weight: 600;

    transition: 0.3s;

}


nav a:hover {

    color: #1d3557;

}





/* =========================
   Главный экран
========================= */


.hero {

    background: #f4f7fb;

    padding: 70px 0;

}



.hero-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

}



.hero-text {

    flex: 1;

}



.hero-text h2 {

    text-align: left;

    font-size: 42px;

    margin-bottom: 20px;

}



.hero-text p {

    font-size: 20px;

    color: #555;

    margin-bottom: 30px;

}



.button {

    display: inline-block;

    background: #1d3557;

    color: white;

    padding: 14px 35px;

    border-radius: 5px;

    transition: 0.3s;

}



.button:hover {

    background: #274c77;

}

.button-secondary {
    background: #ffffff;
    color: #1d3557;
    border: 1px solid #1d3557;
    margin-left: 10px;
}

.button-secondary:hover {
    background: #f4f7fb;
}




.hero-image {

    flex: 1;

}


.hero-image img {

    width: 100%;

    border-radius: 10px;

}





/* =========================
   Преимущества
========================= */


.advantages {

    padding: 70px 0;

}



.cards {

    display: grid;

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

    gap: 25px;

}



.card {

    padding: 30px;

    background: #f7f7f7;

    border-radius: 10px;

    text-align: center;

    transition: 0.3s;

}



.card:hover {

    transform: translateY(-5px);

}



.card h3 {

    color: #1d3557;

    margin-bottom: 15px;

}





/* =========================
   Каталог
========================= */


.catalog {

    padding: 70px 0;

    background: #f4f7fb;

}

.catalog-link-wrap {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.catalog-page {
    padding: 70px 0;
    background: #f4f7fb;
}

.catalog-page__intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px;
    color: #555;
    font-size: 18px;
}

.catalog-notice,
.hero-note {
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 10px;
    color: #455a64;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.catalog-grid {
    display: grid;
    gap: 25px;
}

.product-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 25px;
    align-items: start;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.product-image {
    background: linear-gradient(135deg, #e9f2ff, #f7f7f7);
    border: 1px dashed #b7c9e2;
    border-radius: 10px;
    height: 220px;
    min-height: 220px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
    color: #4f6b8a;
    font-weight: 600;
    font-size: 18px;
    align-self: start;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.product-info h3 {
    color: #1d3557;
    margin-bottom: 10px;
}

.product-info p {
    margin-bottom: 15px;
    color: #555;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
}

.product-table th,
.product-table td {
    border: 1px solid #dfe7f1;
    padding: 10px 12px;
    text-align: left;
}

.product-table th {
    background: #f4f7fb;
    color: #1d3557;
}



.products {

    display: flex;

    gap: 25px;

    overflow-x: auto;

    padding-bottom: 10px;

    scroll-snap-type: x proximity;

}



.product {

    flex: 0 0 280px;

    min-width: 280px;

    background: white;

    padding: 30px;

    border-radius: 10px;

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

    scroll-snap-align: start;

}



.products::-webkit-scrollbar {

    height: 8px;

}



.products::-webkit-scrollbar-thumb {

    background: #1d3557;

    border-radius: 10px;

}



.product h3 {

    color: #1d3557;

    font-size: 24px;

    margin-bottom: 20px;

}



.product ul {

    list-style: none;

}



.product li {

    margin-bottom: 10px;

}





/* =========================
   Применение
========================= */


.application {

    padding: 70px 0;

}



.application-grid {

    display: grid;

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

    gap: 20px;

}



.application-grid div {

    text-align: center;

    padding: 30px;

    background: #f7f7f7;

    border-radius: 10px;

    font-size: 18px;

}






/* =========================
   О компании
========================= */


.about {

    padding: 70px 0;

    background: #f4f7fb;

}


.about p {

    max-width: 900px;

    margin: auto;

    text-align: center;

    font-size: 18px;

}





/* =========================
   Доставка
========================= */


.delivery {

    padding: 70px 0;

}



.delivery-content {

    display: flex;

    align-items: center;

    gap: 40px;

}



.delivery-content img {

    width: 400px;

    border-radius: 10px;

}







/* =========================
   Контакты
========================= */


.contacts {

    padding: 70px 0;

    background: #1d3557;

    color: white;

}



.contacts h2 {

    color: white;

}



.contacts p {

    text-align: center;

    font-size: 20px;

    margin-bottom: 15px;

}



.contacts a {

    color: #a8dadc;

}





/* =========================
   Footer
========================= */


.footer {

    background: #111;

    color: white;

    padding: 25px 0;

    text-align: center;

}





/* =========================
   Адаптив
========================= */


@media(max-width:900px){

.product-card {
    grid-template-columns: 1fr;
}

.product-image {
    height: 200px;
    min-height: 200px;
}

.header-inner {

    flex-direction: column;

    gap:20px;

}



nav {

    flex-wrap: wrap;

    justify-content:center;

}



.hero-content {

    flex-direction: column;

}



.hero-text h2 {

    font-size:32px;

}



.cards {

    grid-template-columns:1fr;

}



.products {

    display: grid;

    grid-template-columns:1fr;

    overflow: visible;

}



.application-grid {

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

}



.delivery-content {

    flex-direction:column;

}



.delivery-content img {

    width:100%;

}


}




@media(max-width:500px){


.application-grid {

    grid-template-columns:1fr;

}


h2 {

    font-size:26px;

}


}