* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #17212b;
    background: #f7f4ef;
}

/* HEADER */
header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e6dccb;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 16px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 58px;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    text-decoration: none;
    color: #092c45;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.3px;
}

nav a:hover {
    color: #b9945a;
}

/* HERO */
.hero {
    min-height: 88vh;
    background:
        linear-gradient(rgba(5, 24, 38, 0.84), rgba(5, 24, 38, 0.9)),
        linear-gradient(135deg, #061f33, #0a3d62);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(199, 166, 106, 0.35);
    border-radius: 50%;
    right: -170px;
    top: 90px;
}

.hero-text {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.badge,
.section-label {
    display: inline-block;
    color: #b9945a;
    border: 1px solid rgba(185, 148, 90, 0.45);
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.badge,
.section-label.light {
    color: #f0d7a4;
    border-color: rgba(240, 215, 164, 0.55);
}

.hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 64px;
    line-height: 1.05;
    margin: 0 0 24px;
}

.hero p {
    font-size: 20px;
    line-height: 1.8;
    max-width: 760px;
    margin: 0 auto 36px;
    color: #e9eef2;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* BUTTONS */
.btn,
.btn-secondary {
    display: inline-block;
    padding: 15px 34px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    transition: 0.3s;
}

.btn {
    background: #c7a66a;
    color: #061f33;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.btn:hover {
    background: #e0c48b;
    transform: translateY(-3px);
}

.btn-secondary {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.75);
}

.btn-secondary:hover {
    background: white;
    color: #061f33;
}

/* SECTIONS */
.about,
.products,
.catalogue-section,
.contact {
    padding: 95px 24px;
    text-align: center;
}

h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: #082c45;
    font-size: 42px;
    margin: 0 0 18px;
    line-height: 1.15;
}

/* ABOUT */
.about {
    background: #fffaf2;
}

.about-wrapper {
    max-width: 1180px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 55px;
    align-items: center;
    text-align: left;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #596773;
    margin: 0;
}

.about-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 65px rgba(8, 44, 69, 0.24);
    border: 1px solid #eadfc9;
    position: relative;
}

.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 10px solid rgba(255, 250, 242, 0.35);
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
}

/* PRODUCTS */
.products {
    background: #f7f4ef;
}

.section-subtitle {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    color: #596773;
}

.product-grid {
    max-width: 1180px;
    margin: 48px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.card {
    min-height: 275px;
    background: #fffaf2;
    padding: 34px 24px;
    border-radius: 26px;
    border: 1px solid #eadfc9;
    box-shadow: 0 18px 35px rgba(20, 30, 40, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.35s;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    width: 70px;
    height: 3px;
    background: #c7a66a;
}

.card span {
    font-size: 34px;
    margin-bottom: 16px;
}

.card h3 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.25;
    color: #082c45;
}

.card p {
    margin: 0;
    color: #65717c;
    line-height: 1.6;
    font-size: 15px;
    max-width: 230px;
}

.card:hover {
    background: #082c45;
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(8, 44, 69, 0.22);
    border-color: #082c45;
}

.card:hover h3,
.card:hover p {
    color: white;
}

/* WHY NESTO */
.why-nesto {
    background:
        linear-gradient(rgba(5, 24, 38, 0.9), rgba(5, 24, 38, 0.94)),
        linear-gradient(135deg, #061f33, #0a3d62);
    color: white;
    padding: 100px 24px;
    text-align: center;
}

.why-container {
    max-width: 1100px;
    margin: auto;
}

.why-header {
    text-align: center;
    margin-bottom: 50px;
}

.why-header h2 {
    color: white;
}

.why-header p {
    max-width: 700px;
    margin: auto;
    color: #dceaf3;
    font-size: 18px;
    line-height: 1.7;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.why-item {
    min-height: 190px;
    background: rgba(255, 255, 255, 0.06);
    padding: 32px 24px;
    border-radius: 22px;
    border: 1px solid rgba(240, 215, 164, 0.16);
    transition: 0.3s;
    text-align: center;
}

.why-item h3 {
    margin: 0 0 12px;
    color: #f0d7a4;
    font-size: 20px;
}

.why-item p {
    margin: 0;
    color: #e8f6fb;
    line-height: 1.6;
    font-size: 15px;
}

.why-item:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.1);
}

/* CATALOGUE */
.catalogue-section {
    background: #fffaf2;
    color: #17212b;
}

.catalogue-section h2 {
    color: #082c45;
}

.catalogue-section p {
    max-width: 720px;
    margin: 0 auto 30px;
    font-size: 18px;
    line-height: 1.8;
    color: #596773;
}

/* CONTACT */
.contact {
    background: #f7f4ef;
}

.contact p {
    margin: 12px 0;
    font-size: 17px;
    color: #596773;
}

.contact a {
    color: #082c45;
    text-decoration: none;
    font-weight: 900;
}

.contact a:hover {
    color: #b9945a;
}

/* FOOTER */
footer {
    background: #051826;
    color: #d8c49a;
    text-align: center;
    padding: 28px;
    font-size: 14px;
}

/* TABLET */
@media (max-width: 1000px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image img {
        height: 360px;
    }

    .product-grid,
    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero h1 {
        font-size: 52px;
    }
}

/* MOBILE */
@media (max-width: 650px) {
    .container {
        flex-direction: column;
        gap: 14px;
        padding: 15px 20px;
    }

    nav {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        height: 52px;
    }

    .hero {
        min-height: auto;
        padding: 90px 20px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 17px;
    }

    h2 {
        font-size: 31px;
    }

    .about,
    .products,
    .catalogue-section,
    .contact {
        padding: 70px 20px;
    }

    .why-nesto {
        padding: 75px 20px;
    }

    .about-image img {
        height: 260px;
    }

    .product-grid,
    .why-grid {
        grid-template-columns: 1fr;
        max-width: 370px;
        margin-left: auto;
        margin-right: auto;
    }

    .card {
        min-height: 245px;
    }

    .why-item {
        min-height: 165px;
    }
}