* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    color: #111;
    font-family: 'Nunito Sans', sans-serif;
    font-style: normal;
    line-height: 1.6;
    letter-spacing: normal;
}

.container {
    max-width: 1250px;
    margin: auto;
    padding: 0 30px;
}

/* ===== HEADER ===== */

header {
    position: sticky;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 0.5px solid #ABABAB;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.logo {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ===== NAV ===== */

nav {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
}

@media (max-width: 1024px) {
    .contact-info {
        display: none;
    }
}

.contact-info a {
    color: inherit;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

nav a {
    margin: 0 18px;
    text-decoration: none;
    color: #111;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: #111;
    transition: 0.4s;
}

nav a:hover::after {
    width: 100%;
}

.btn {
    background: #E49900;
    color: #fff !important;
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav .btn {
    margin-left: 25px;
}

.btn:hover {
    background: #E49900;
}

/* ===== BURGER ===== */

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

@media (max-width: 768px) {
    .burger {
        display: flex !important;
    }
}

.burger span {
    width: 26px;
    height: 2px;
    background: #111;
    margin: 5px 0;
    transition: 0.4s;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: #f5f5f5;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    color: #D9D9D9;
    padding: 120px 30px;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    z-index: 500;
}

body.menu-open {
    overflow: hidden;
}

.mobile-menu a {
    color: #111;
    text-decoration: none;
    margin-bottom: 25px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.mobile-menu.active {
    right: 0;
}

/* ===== SECTIONS ===== */

section {
    padding: 70px 0;
}

/* ===== HERO + PARALLAX ===== */

.hero {
    padding: 0;
    color: #fff;
    text-align: center;
    width: 100%;
    height: 500px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./images/base_background_big_crop.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0% 0%;
    background-color: #111;
    display: block;
    align-content: center;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 90px 20px;
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./images/base_background_small_crop.jpg');
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        height: auto;
        padding: 110px 30px;
    }
}

.hero h1 {
    max-width: 1150px;
    margin: 0 auto 30px;
    line-height: 1.3;
    font-size: 46px;
    font-weight: 800;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 38px;
    }
}

.hero h3 {
    max-width: 650px;
    margin: auto;
    font-size: 18px;
    font-weight: 500;
}

/* ===== PRODUCTS ===== */

.products {
    background: #fff;
    text-align: center;
}

.products h2 {
    font-size: 32px;
    font-weight: 800;
}

.product-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .product-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .product-grid {
        gap: 40px;
    }
}

.product-grid h3 {
    font-size: 22px;
    font-weight: 700;
}

.product-grid p {
    font-size: 20px;
    font-weight: 500;
}

.product-item {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./images/metall.jpg');
    background-repeat: no-repeat;
    background-color: #111;
    color: #fff;
    width: 230px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    transition: 0.5s;
}

.product-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* ===== ABOUT ===== */

.about-short {
    background: #f5f5f5;
    text-align: center;
}

.about-title {
    max-width: 800px;
    line-height: 1.4;
    font-size: 25px;
    font-weight: 650;
    margin: 0 auto 70px;
}

@media (max-width: 768px) {
    .about-title {
        font-size: 21px;
        font-weight: 650;
    }
}

.about-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

@media (max-width: 768px) {
    .about-grid {
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .about-grid {
        gap: 30px;
    }
}

.about-item {
    flex: 0 0 280px;
    transition: 0.4s;
}

@media (max-width: 768px) {
    .about-item {
        flex: none;
        width: 100%;
        max-width: 320px;
    }
}

.about-icon {
    width: 115px;
    height: 115px;
    margin: 0 auto 30px;
    background: #e49800cd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
}

@media (max-width: 768px) {
    .about-icon {
        margin: 0 auto 18px;
    }
}

.about-item:hover .about-icon {
    background: #e49800ac;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-icon img {
    width: 115px;
    height: 115px;
    object-fit: contain;
}

.about-item h3 {
    color: #111;
    font-size: 18px;
    font-weight: 500;
}

/* ===== DELIVERY ===== */

.delivery {
    display: flex;
    justify-content: center;

}

.delivery h2 {
    margin-bottom: 5px;
    font-size: 28px;
    font-weight: 800;
}

.delivery p {
    font-size: 18px;
    font-weight: 500;
}

/* ===== FORM ===== */

.form-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #ececec 100%);
}

.form-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 70px;
    margin: 0 auto;
    width: fit-content;
}

@media (max-width: 768px) {
    .form-wrapper {
        flex-direction: column;
        gap: 70px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .form-wrapper {
        gap: 40px;
    }
}

form {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: 0.4s ease;
    max-width: 500px;
}

@media (max-width: 768px) {
    form {
        max-width: 100%;
    }
}

form:hover {
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
}

form textarea,
form input {
    width: 100%;
    padding: 16px 18px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background: #fafafa;
    transition: 0.3s ease;
    font-size: 15px;
    font-family: 'Nunito Sans', sans-serif;
}

form textarea {
    min-height: 110px;
    resize: vertical;
}

form textarea:focus,
form input:focus {
    outline: none;
    border-color: #E49900;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(228, 153, 0, 0.15);
}

.form-left {
    max-width: 520px;
    flex: 1;
}

@media (max-width: 768px) {
    .form-left {
        flex: none;
        width: 100%;
    }
}

.form-left h2 {
    margin: 0 auto 15px;
    font-size: 28px;
    font-weight: 800;
    text-align: center;
}

.form-right {
    max-width: 420px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

@media (max-width: 768px) {
    .form-right {
        max-width: 100%;
        flex: none;
        width: 100%;
    }
}

.form-right h2 {
    margin: 0 0 12px 0;
    font-size: 26px;
    font-weight: 700;
}

.form-right h3 {
    margin: 0 0 12px 0;
    font-size: 17px;
    font-weight: 500;
}

.form-right a {
    color: inherit;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
}

.form-right a:hover {
    text-decoration: underline;
}

.form-button {
    display: block;
    border: none;
    width: 100%;
    margin: 24px auto 0;
    padding: 16px 17px;
    font-weight: 550;
    letter-spacing: 2px;
}

/* ===== CONTACTS ===== */

.contacts {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    gap: 40px;
}

@media (max-width: 768px) {
    .contacts {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}

.contacts img {
    width: 700px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: 0.4s ease;
}

.contacts img:hover {
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .contacts img {
        max-width: 100%;
        height: auto;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .contacts img {
        width: 500px;
    }
}

.contacts h2 {
    margin-bottom: 5px;
    font-size: 28px;
    font-weight: 800;
}

.contacts p {
    font-size: 18px;
    font-weight: 400;
}

.contacts a {
    font-size: 18px;
    font-weight: 400;
    color: inherit;
    text-decoration: none;
}

.contacts a:hover {
    text-decoration: underline;
}

.contacts-right {
    align-content: center;
}

/* ===== FOOTER ===== */

footer {
    color: #fff;
    padding: 30px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./images/base_background_big_crop.jpg');
    background-size: cover;
    background-position: 0% 0%;
    background-repeat: no-repeat;
    background-color: #111;
}

@media (max-width: 768px) {
    .footer {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./images/base_background_small_crop.jpg');
    }
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }
}

.footer-container p {
    font-size: 16px;
    font-weight: 500;
}

.footer-container a {
    color: inherit;
    text-decoration: none;
}

.footer-container a:hover {
    text-decoration: underline;
}

.social_networks_lincs {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.social_network-linc-item {
    margin-bottom: 7px;
    display: flex;
    align-items: center;
}

.social_network-linc-item img {
    width: 24px;
    height: 24px;
    margin-right: 7px;
}

.social_networks_lincs a {
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}

/* ===== TABLE ===== */

.table-wrapper {
    padding: 0px 20px 30px;
    overflow-x: auto;
}

.my-table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.06);
    font-size: 15px;
}

@media (max-width: 600px) {

    .my-table {
        font-size: 14px;
    }
}

.my-table thead {
    background: #f5f5f5;
}

.my-table th {
    padding: 18px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.my-table td {
    padding: 16px 18px;
    font-weight: 600;
    font-size: 15px;
}

.my-table th:first-child,
.my-table td:first-child {
    text-align: left;
    width: 60px;
    color: #0000009a;
}

.my-table th:not(:first-child),
.my-table td:not(:first-child) {
    text-align: center;
}

.my-table tr:not(:last-child) td {
    border-bottom: 1px solid #eee;
}

.my-table th:not(:last-child),
.my-table td:not(:last-child) {
    border-right: 1px solid #f0f0f0;
}

.my-table tbody tr:hover {
    background: rgba(228, 153, 0, 0.05);
    transition: 0.3s;
}

@media (max-width: 600px) {

    .my-table th,
    .my-table td {
        padding: 12px;
    }
}

.price-table {
    max-width: 800px;
}

.steel-table {
    max-width: 1250px;
}

@media (max-width: 768px) {

    .steel-table {
        min-width: 800px;
    }

}

/* Всё тело таблицы — слева */
.my-table.steel-table tbody td {
    text-align: left;
}

/* Все заголовки по центру */
.my-table.steel-table thead th {
    text-align: center;
}

/* Первый заголовок — слева */
.my-table.steel-table thead th:first-child {
    text-align: left;
}

/* ===== BACK BUTTON ===== */

.back-btn {
    background: #E49900;
    color: #fff !important;
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: 0.3s;
    display: block;
    width: fit-content;
    margin: 0 auto 60px;
}

.back-btn:hover {
    background: #E49900;
}

/* ===== ANIMATION ON SCROLL ===== */

.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: 1s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== BUTTON ANIMATION ===== */

.btn,
form button,
.back-btn {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.3s ease;
}

/* мягкий подъём */
.btn:hover,
form button:hover,
.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* эффект нажатия */
.btn:active,
form button:active,
.back-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* световой блик */
.btn::before,
form button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transform: skewX(-20deg);
    transition: 0.7s;
}

/* анимация блика */
.btn:hover::before,
form button:hover::before {
    left: 130%;
}

/* ===== ANOTHER ===== */

.red {
    color: #d40000a0;
    font-weight: 700;
}