/* ===============================
   BASIC
================================ */

:root {
    --navy: #173b5d;
    --blue: #245f87;
    --accent: #d9a441;

    --text: #263640;
    --muted: #6c7c86;

    --white: #ffffff;
    --surface: #f4f7f9;
    --border: #dce5ea;

    --shadow:
        0 14px 35px rgba(18, 57, 91, 0.08);

    --radius: 18px;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.6;
}


img {
    display: block;

    width: 100%;
}


a {
    color: inherit;

    text-decoration: none;
}


.container {
    width:
        min(
            1120px,
            calc(100% - 40px)
        );

    margin-inline: auto;
}


/* ===============================
   HEADER
================================ */

.site-header {
    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(255, 255, 255, 0.96);

    border-bottom:
        1px solid var(--border);

    backdrop-filter:
        blur(12px);
}


.nav-wrap {
    min-height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

/* ===============================
   BRAND LOGO
================================ */

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand-logo {
    width: 42px;
    height: 42px;

    object-fit: contain;

    flex-shrink: 0;
}

.brand-text {
    display: grid;
    gap: 1px;
}

.brand-text strong {
    color: var(--navy);

    font-size: 13px;

    letter-spacing: 0.04em;
}

.brand-text small {
    color: var(--muted);

    font-size: 11px;
}

.main-navigation {
    display: flex;

    align-items: center;

    gap: 28px;
}

.main-navigation a {
    position: relative;

    color: var(--text);

    font-size: 14px;

    font-weight: 600;
}

.main-navigation a::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: -7px;

    width: 0;

    height: 2px;

    background: var(--accent);

    transition:
        width 0.25s ease;
}


.main-navigation a:hover::after {
    width: 100%;
}

/* ===============================
   HAMBURGER
================================ */

.menu-toggle {
    display: none;

    width: 44px;

    height: 44px;

    border: 0;

    background: transparent;

    cursor: pointer;
}


.menu-toggle span {
    display: block;

    width: 23px;

    height: 2px;

    margin: 5px auto;

    background: var(--navy);
}

/* ===============================
   HERO
================================ */

.hero {
    padding:
        90px 0
        80px;

    background:
        linear-gradient(
            135deg,
            #f4f7f9 0%,
            #ffffff 60%
        );
}


.hero-grid {
    display: grid;

    grid-template-columns:
        1.1fr
        0.9fr;

    align-items: center;

    gap: 70px;
}


.eyebrow {
    margin-bottom: 12px;

    color: var(--blue);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.16em;
}


.hero h1 {
    max-width: 680px;

    color: var(--navy);

    font-size:
        clamp(
            36px,
            5vw,
            62px
        );

    line-height: 1.08;

    letter-spacing:
        -0.035em;
}


.hero-text {
    max-width: 590px;

    margin:
        24px 0
        30px;

    color: var(--muted);

    font-size: 16px;
}


.button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding:
        0 22px;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 700;
}


.button-primary {
    background: var(--navy);

    color: var(--white);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.button-primary:hover {
    background: var(--blue);

    transform:
        translateY(-2px);
}



/* ===============================
   HERO PANEL
================================ */

.hero-panel {
    min-height: 390px;

    display: grid;

    place-items: center;

    padding: 25px;

    border-radius: 26px;

    background: var(--navy);

    box-shadow: var(--shadow);
}


.hero-panel-inner {
    width: 100%;

    min-height: 335px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    padding: 40px;

    border:
        1px solid
        rgba(255, 255, 255, 0.22);

    color: var(--white);

    text-align: center;
}


.hero-panel-inner span {
    font-size: 42px;

    font-weight: 800;

    letter-spacing: 0.05em;
}


.hero-panel-inner strong {
    color: var(--accent);

    font-size: 24px;

    letter-spacing: 0.12em;
}


.hero-panel-inner small {
    margin-top: 18px;

    color:
        rgba(
            255,
            255,
            255,
            0.72
        );

    font-size: 13px;
}

/* ===============================
   PRODUCTS
================================ */

.products-section {
    padding:
        95px 0;
}


.section-heading {
    display: flex;

    align-items: end;

    justify-content:
        space-between;

    gap: 40px;

    margin-bottom: 35px;
}


.section-heading h2,
.about-section h2,
.contact-box h2 {
    color: var(--navy);

    font-size:
        clamp(
            28px,
            4vw,
            42px
        );

    line-height: 1.15;

    letter-spacing:
        -0.025em;
}


.section-heading > p {
    max-width: 360px;

    color: var(--muted);

    font-size: 14px;
}


.product-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


.product-card {
    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius);

    background:
        var(--white);

    box-shadow:
        0 8px 25px
        rgba(18, 57, 91, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.product-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        var(--shadow);
}


.product-image {
    aspect-ratio: 4 / 3;

    overflow: hidden;

    background:
        #edf2f5;
}


.product-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}


.product-content {
    padding: 22px;
}


.product-number {
    color: var(--accent);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.1em;
}


.product-content h3 {
    margin:
        6px 0
        7px;

    color: var(--navy);

    font-size: 19px;
}


.product-content p {
    color: var(--muted);

    font-size: 13px;
}


/* ===============================
   ABOUT
================================ */

.about-section {
    padding:
        90px 0;

    background:
        var(--surface);
}


.about-grid {
    display: grid;

    grid-template-columns:
        0.8fr
        1.2fr;

    gap: 70px;
}


.about-grid > div:last-child {
    color: var(--muted);

    font-size: 15px;
}


.about-grid p + p {
    margin-top: 15px;
}


/* ===============================
   CONTACT
================================ */

.contact-section {
    padding:
        90px 0;
}


.contact-box {
    display: grid;

    grid-template-columns:
        1fr
        0.8fr;

    gap: 60px;

    padding: 55px;

    border-radius: 24px;

    background: var(--navy);

    color: var(--white);
}


.contact-box h2 {
    color: var(--white);
}


.contact-box .eyebrow {
    color: var(--accent);
}


.contact-box > div:first-child p:last-child {
    max-width: 500px;

    margin-top: 15px;

    color:
        rgba(
            255,
            255,
            255,
            0.7
        );
}


.contact-list {
    display: grid;

    align-content: center;

    gap: 14px;

    font-size: 14px;
}

.contact-label {
    display: block;
    margin-bottom: 8px;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-list a {
    color: var(--white);

    font-weight: 700;
}


.contact-list a:hover {
    color: var(--accent);
}


.contact-list span {
    color:
        rgba(
            255,
            255,
            255,
            0.68
        );
}


/* ===============================
   FOOTER
================================ */

.site-footer {
    color: #cbd8e1;
    background: #102f47;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding-top: 55px;
    padding-bottom: 45px;
}

.footer-brand .brand-name {
    color: #ffffff;
}

.footer-brand p {
    margin-top: 10px;
    color: #aebfca;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-links a {
    color: #cbd8e1;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 20px;
    padding-bottom: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    color: #8fa5b3;
    font-size: 0.78rem;
}


/* ===============================
   TABLET
================================ */

@media (max-width: 700px) {

    .hero-grid,
    .about-grid,
    .contact-box {
        grid-template-columns: 1fr;
    }


    .hero-grid {
        gap: 45px;
    }


    .product-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .section-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }

}


/* ===============================
   MOBILE
================================ */

@media (max-width: 600px) {

    .container {
        width:
            calc(100% - 28px);
    }


    .nav-wrap {
        min-height: 68px;
    }


    .menu-toggle {
        display: block;

        position: relative;

        z-index: 1001;
    }


    .main-navigation {

        position: absolute;

        top: 68px;

        left: 14px;

        right: 14px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 8px;

        border:
            1px solid
            var(--border);

        border-radius: 14px;

        background:
            var(--white);

        box-shadow:
            var(--shadow);

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-8px);

        pointer-events: none;

        transition:
            0.2s ease;
    }


    .main-navigation.active {

        opacity: 1;

        visibility: visible;

        transform:
            translateY(0);

        pointer-events: auto;
    }


    .main-navigation a {

        padding:
            12px 14px;

        border-radius: 9px;
    }


    .main-navigation a:hover {
        background:
            var(--surface);
    }


    .main-navigation a::after {
        display: none;
    }


    .brand-text strong {
        font-size: 11px;
    }


    .brand-text small {
        font-size: 10px;
    }


    .hero {
        padding:
            65px 0
            55px;
    }


    .hero h1 {
        font-size: 38px;
    }


    .hero-panel {
        min-height: 300px;
    }


    .hero-panel-inner {
        min-height: 245px;

        padding: 25px;
    }


    .hero-panel-inner span {
        font-size: 32px;
    }


    .products-section,
    .about-section,
    .contact-section {
        padding:
            65px 0;
    }


    .product-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .contact-box {
        padding:
            32px 24px;

        gap: 35px;
    }


    .footer-wrap {
        flex-direction: column;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* =========================
   ACCESSIBILITY
========================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
