/*
Responsive scale policy
-----------------------
Desktop / standard monitor: 769px and wider (base rules)
Mobile: 768px and narrower (single override block)
There are intentionally no separate tablet or small-phone breakpoints.
*/

:root {
    --navy-950: #00152d;
    --navy-900: #031d3a;
    --navy-800: #08284c;
    --orange: #f04b0d;
    --orange-dark: #d93e00;
    --ink: #061634;
    --muted: #5c6879;
    --line: #dce2e8;
    --white: #ffffff;
    --page-width: 1380px;
    --header-height: 86px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    color: var(--ink);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.utility-bar {
    padding: 0 max(24px, calc((100% - var(--page-width)) / 2));
    background: linear-gradient(90deg, #001b39, #00132a);
    color: #fff;
    font-size: 12px;
}

.utility-bar__inner {
    width: 100%;
    min-height: 30px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.utility-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.utility-links a {
    text-decoration: none;
    padding: 0 13px;
    border-right: 1px solid rgba(255, 255, 255, .55);
}

.utility-links a:last-child {
    padding-right: 0;
    border-right: 0;
}

.utility-links a:hover {
    color: #ffb292;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    padding: 0 max(24px, calc((100% - var(--page-width)) / 2));
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e7ebf0;
    box-shadow: 0 4px 16px rgba(0, 20, 48, 0.08);
    backdrop-filter: blur(10px);
}

.site-header__inner {
    width: 100%;
    min-height: var(--header-height);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.brand {
    min-width: 315px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    flex: 0 0 auto;
}

.brand__logo {
    width: 112px;
    height: 58px;
    object-fit: contain;
}

.brand__name {
    color: #08183e;
    font-size: 25px;
    font-weight: 800;
    line-height: .92;
    letter-spacing: .4px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.main-nav > a,
.nav-dropdown__toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: var(--header-height);
    padding: 0 18px;
    border: 0;
    background: none;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    text-transform: uppercase;
    white-space: nowrap;
}

.main-nav > a:hover,
.nav-dropdown__toggle:hover {
    color: var(--orange);
}

.main-nav > a.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 14px;
    height: 3px;
    background: var(--orange);
}

.main-nav .nav-contact {
    min-height: 42px;
    margin-left: 8px;
    padding: 0 22px;
    border-radius: 4px;
    color: #fff;
    background: linear-gradient(180deg, #f65b11, #e74500);
    box-shadow: 0 5px 12px rgba(228, 68, 0, .2);
}

.main-nav .nav-contact:hover {
    color: #fff;
    background: var(--orange-dark);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown__menu {
    position: absolute;
    top: calc(100% - 9px);
    left: 50%;
    width: 230px;
    padding: 9px;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 6px;
    box-shadow: 0 16px 35px rgba(0, 20, 48, .18);
    transition: .2s ease;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-dropdown__menu a {
    display: block;
    padding: 10px 12px;
    text-decoration: none;
    text-transform: none;
    border-radius: 4px;
}

.nav-dropdown__menu a:hover {
    background: #f3f6f9;
    color: var(--orange);
}

.mobile-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #dbe1e7;
    border-radius: 4px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-nav-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
}

.hero {
    position: relative;
    min-height: 346px;
    padding-inline: 30px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 40% 42%, rgba(28, 114, 186, .24), transparent 18%),
        radial-gradient(circle at 86% 40%, rgba(51, 117, 164, .18), transparent 28%),
        linear-gradient(112deg, #00152c 0%, #031d3a 48%, #061a30 100%);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero::before {
    z-index: 1;
    opacity: .18;
    background-image:
        linear-gradient(90deg, transparent 49.5%, rgba(126, 191, 232, .3) 50%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(126, 191, 232, .22) 50%, transparent 50.5%);
    background-size: 84px 84px;
    transform: perspective(400px) rotateX(63deg) scale(1.7) translateY(32%);
    transform-origin: center bottom;
}

.hero::after {
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 12, 31, .2), transparent 45%, rgba(0, 11, 26, .08));
}

.hero-slides {
    position: relative;
    z-index: 2;
    min-height: 346px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    min-height: 346px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(28px);
    pointer-events: none;
    transition: opacity .65s ease, transform .65s ease, visibility .65s ease;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.hero-slide__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(90deg, rgba(0, 21, 45, .96) 0%, rgba(3, 29, 58, .88) 43%, rgba(3, 29, 58, .34) 72%, rgba(3, 29, 58, .52) 100%),
        var(--slide-background-image, none);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero__inner {
    position: relative;
    z-index: 2;
    width: min(var(--page-width), 100%);
    min-height: 346px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 38% 62%;
    align-items: center;
}

.hero__content {
    padding: 28px 0 36px;
}

.eyebrow {
    margin-bottom: 5px;
    color: #9fcae8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 590px;
    font-size: clamp(38px, 4vw, 54px);
    line-height: .98;
    letter-spacing: -.8px;
}

.hero h2 {
    margin-top: 7px;
    font-size: clamp(21px, 2vw, 29px);
    line-height: 1.05;
    font-weight: 700;
}

.hero__description {
    max-width: 500px;
    margin-top: 17px;
    font-size: 16px;
    line-height: 1.32;
}

.hero__actions {
    margin-top: 16px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.button {
    min-height: 42px;
    padding: 0 25px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    transition: .2s ease;
}

.button--primary {
    background: linear-gradient(180deg, #fa5e14, #e84500);
    color: #fff;
}

.button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(240, 75, 13, .3);
}

.button--outline {
    border: 1px solid rgba(255, 255, 255, .9);
    color: #fff;
}

.button--outline:hover {
    color: var(--ink);
    background: #fff;
}

.hero__visual {
    position: relative;
    align-self: stretch;
    min-width: 0;
}

.hero__machine {
    position: relative;
    z-index: 2;
    width: min(760px, 88%);
    max-height: 330px;
    right: -2%;
    bottom: -7px;
    object-fit: contain;
    filter: drop-shadow(0 24px 32px rgba(0, 0, 0, .55));
    mix-blend-mode: screen;
}

.hero__dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 24px;
    display: flex;
    gap: 12px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 13px;
    height: 13px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.hero-dot:hover,
.hero-dot:focus-visible {
    transform: scale(1.22);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .18);
    outline: none;
}

.hero-dot.is-active {
    background: var(--orange);
}

.products-section {
    width: min(var(--page-width), calc(100% - 60px));
    margin: 0 auto;
    padding: 6px 0 8px;
}

.section-heading {
    text-align: center;
    margin-bottom: 5px;
}

.section-heading h2 {
    color: #071a48;
    font-size: 28px;
    text-transform: uppercase;
    line-height: 1;
}

.section-heading span {
    display: block;
    width: 64px;
    height: 3px;
    margin: 8px auto 0;
    background: var(--orange);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe4ea;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(1, 22, 52, .04);
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(1, 22, 52, .11);
}

.product-card__image-wrap {
    height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 15px 0;
}

.product-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card__body {
    padding: 0 25px 10px;
}

.product-card h3 {
    color: var(--orange);
    font-size: 22px;
    line-height: 1;
}

.product-card p {
    min-height: 42px;
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.25;
}

.product-card__meta {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #071943;
    font-size: 12px;
}

.product-card__actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.small-button {
    min-height: 28px;
    padding: 0 16px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.small-button--outline {
    border: 1px solid #0d2b62;
    color: #082352;
}

.small-button--outline:hover {
    background: #082352;
    color: #fff;
}

.small-button--primary {
    background: var(--orange);
    color: #fff;
}

.small-button--primary:hover {
    background: var(--orange-dark);
}

.product-categories {
    width: min(var(--page-width), calc(100% - 60px));
    min-height: 54px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1.1fr 1.08fr 1.1fr .92fr 1.08fr .95fr;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(180deg, #06284b, #00162f);
}

.product-categories a {
    min-width: 0;
    padding: 6px 15px;
    display: grid;
    grid-template-columns: 58px 1fr 18px;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    border-right: 1px solid rgba(255, 255, 255, .26);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.product-categories a:last-child {
    border-right: 0;
}

.product-categories a:hover {
    background: #0a345e;
}

.product-categories img {
    width: 58px;
    height: 42px;
    object-fit: contain;
    mix-blend-mode: screen;
}

.product-categories b {
    color: var(--orange);
    font-size: 34px;
    font-weight: 400;
}

.category-icon {
    font-size: 37px;
    text-align: center;
}

.contact-band {
    color: #fff;
    background:
        radial-gradient(circle at 18% 40%, rgba(16, 87, 143, .32), transparent 29%),
        linear-gradient(105deg, #00172f, #062b4e 46%, #00172f);
}

.contact-band__inner {
    width: min(var(--page-width), calc(100% - 60px));
    min-height: 150px;
    margin: 0 auto;
    padding: 10px 24px 8px;
    display: grid;
    grid-template-columns: 30% 40% 30%;
    gap: 34px;
    align-items: center;
}

.contact-info h2 {
    font-size: 20px;
    text-transform: uppercase;
}

.contact-info > p {
    margin-bottom: 6px;
    font-size: 12px;
}

.contact-info a,
.contact-info .address {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 6px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.contact-info a:hover {
    color: #ff9d74;
}
.contact-form-wrap {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.contact-form {
    width: 100%;
    min-width: 0;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 10px;
}

.contact-form textarea {
    grid-column: 1 / -1;
    min-height: 44px;
    padding: 5px 11px;
    resize: vertical;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-width: 0;
    min-height: 27px;
    padding: 5px 11px;
    border: 1px solid #cfd6df;
    border-radius: 3px;
    background: #fff;
    color: #10203d;
    font-size: 12px;
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 2px rgba(240, 75, 13, .15);
}

.contact-form .honeypot {
    position: absolute;
    left: -9999px;
}

.submit-button {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: center;

    width: 132px;
    min-height: 30px;
    margin: 3px 0 0;

    border: 0;
    border-radius: 3px;
    background: var(--orange);
    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

.submit-button:hover {
    background: var(--orange-dark);
}

.submit-button:disabled {
    opacity: .65;
    cursor: wait;
}

.form-message {
    margin-bottom: 6px;
    padding: 7px 10px;
    border-radius: 3px;
    font-size: 12px;
}

.form-message.error {
    background: #702828;
    border: 1px solid #ad5858;
}

.contact-actions {
    display: grid;
    gap: 6px;
}

.contact-action-card {
    min-height: 62px;
    padding: 8px 13px;
    display: grid;
    grid-template-columns: 50px 1fr 30px;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--orange);
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
}

.contact-action-card:hover {
    background: rgba(240, 75, 13, .1);
}

.contact-action-card__icon {
    font-size: 37px;
    line-height: 1;
    text-align: center;
}

.contact-action-card strong,
.contact-action-card small {
    display: block;
}

.contact-action-card strong {
    font-size: 14px;
    text-transform: uppercase;
}

.contact-action-card small {
    margin-top: 2px;
    font-size: 12px;
}

.contact-action-card b {
    color: var(--orange);
    font-size: 30px;
}
/* =========================================================
   Footer
   ========================================================= */
footer {
    padding: 54px 30px 24px;
    color: #dce7f2;
    background: linear-gradient(135deg, #062746, #00142b 76%);
    border-top: 4px solid var(--orange);
}

.footer-content {
    width: min(var(--page-width), 100%);
    margin: 0 auto 34px;
    display: grid;
    grid-template-columns: 1.2fr repeat(4, 1fr);
    gap: 34px;
}

.footer-logo-section,
.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.footer-logo img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.footer-social {
    display: flex;
    gap: 9px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.footer-section h4 {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
    list-style: none;
}

.footer-section a {
    color: #b9c9d9;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #ff9a70;
}

.footer-bottom {
    width: min(var(--page-width), 100%);
    margin: 0 auto;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-copyright,
.footer-description {
    margin: 0;
    color: #9fb1c3;
    font-size: 12px;
}

.footer-description {
    max-width: 680px;
    text-align: right;
}

/* =========================================================
   Unified mobile scale
   ========================================================= */
@media (max-width: 768px) {
.brand {
        min-width: 250px;
    }

    .brand__name {
        font-size: 20px;
    }

    .main-nav {
        gap: 5px;
        font-size: 12px;
    }

    .main-nav > a,
    .nav-dropdown__toggle {
        padding: 0 12px;
    }

    .product-card__body {
        padding-inline: 18px;
    }

    .small-button {
        padding-inline: 11px;
    }
    .footer-content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

.utility-links a:nth-child(-n/**/+2) {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
        margin-left: auto;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 24px;
        right: 24px;
        display: none;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border: 1px solid #e0e5eb;
        box-shadow: 0 18px 35px rgba(0, 19, 45, .18);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav > a,
    .nav-dropdown__toggle {
        min-height: 42px;
        justify-content: flex-start;
        padding: 0 12px;
    }

    .main-nav > a.active::after {
        display: none;
    }

    .main-nav .nav-contact {
        margin: 4px 0 0;
        justify-content: center;
    }

    .nav-dropdown__menu {
        position: static;
        width: 100%;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 0 0 8px 16px;
    }

    .nav-dropdown:hover .nav-dropdown__menu {
        display: none;
    }

    .nav-dropdown.is-open .nav-dropdown__menu {
        display: block;
        transform: none;
    }

    .hero__inner {
        grid-template-columns: 48% 52%;
    }

    .hero__machine {
        width: 105%;
        right: -16%;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-card__image-wrap {
        height: 190px;
    }

    .product-categories {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-categories a:nth-child(n/**/+5) {
        border-top: 1px solid rgba(255, 255, 255, .2);
    }

    .contact-band__inner {
        grid-template-columns: 1fr 1.55fr;
    }

    .contact-actions {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }
     .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-logo-section {
        grid-column: 1 / -1;
    }

.utility-bar,
    .site-header {
        padding-inline: 18px;
    }

    .hero {
        padding-inline: 18px;
    }

    .products-section,
    .product-categories,
    .contact-band__inner {
        width: calc(100% - 36px);
    }

    .utility-bar__inner {
        min-height: 28px;
        justify-content: center;
    }

    .utility-links {
        display: none;
    }

    .site-header__inner {
        min-height: 68px;
    }

    .brand {
        gap: 10px;
    }

    .brand__logo {
        width: 88px;
        height: 48px;
    }

    .brand__name {
        font-size: 17px;
    }

    .hero {
        min-height: auto;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-bottom: 205px;
    }

    .hero__content {
        text-align: center;
        padding: 32px 0 25px;
    }

    .hero__description {
        margin-inline: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__visual {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 220px;
    }

    .hero__machine {
        width: 74%;
        max-height: 210px;
        right: 2%;
        bottom: -10px;
    }

    .hero__dots {
        bottom: 12px;
    }

    .section-heading h2 {
        font-size: 23px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card__image-wrap {
        height: 220px;
    }

    .product-categories {
        grid-template-columns: 1fr 1fr;
        border-radius: 4px 4px 0 0;
    }

    .product-categories a {
        min-height: 66px;
        border-top: 1px solid rgba(255, 255, 255, .2);
    }

    .product-categories a:last-child {
        grid-column: 1 / -1;
    }

    .contact-band__inner {
        grid-template-columns: 1fr;
        padding: 22px 14px;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info a,
    .contact-info .address {
        justify-content: center;
    }

    .contact-actions {
        grid-column: auto;
        grid-template-columns: 1fr;
    }
     footer {
        padding: 42px 20px 22px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .footer-description {
        text-align: left;
    }
}
