:root {
    --navy: #06234b;
    --blue: #0b3d78;
    --gold: #c99432;
    --gold2: #f5c763;
    --ink: #172136;
    --muted: #667085;
    --bg: #f7f9fc;
    --white: #fff;
    --border: #e5e8ef;
    --shadow: 0 18px 45px rgba(6, 35, 75, .12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, Segoe UI, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
}


/* =========================
   TOP BAR
   ========================= */

.topbar {
    background: #041b3c;
    color: #fff;
    font-size: 13px;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 22px;
    flex-wrap: wrap;
}


/* =========================
   HEADER
   ========================= */

.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    z-index: 10;
    border-bottom: 1px solid var(--border);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 6px 22px;
    min-height: 90px;
}

.brand {
    display: flex;
    align-items: center;
    line-height: 0;
    flex-shrink: 0;
}

.brand img {
    width: 250px;
    max-width: 60vw;
    height: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 6px;
    align-items: center;
}

.nav a {
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    color: #21324d;
}

.nav a:hover,
.nav a.active {
    background: #eef4ff;
    color: var(--blue);
}

.quote {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(6, 35, 75, .18);
}

.hamburger {
    display: none;
    border: 0;
    background: var(--navy);
    color: #fff;
    border-radius: 10px;
    padding: 9px 12px;
    font-weight: 800;
}


/* =========================
   HERO
   ========================= */

.hero {
    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(245, 199, 99, .28),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #fff 0%,
            #f4f8ff 45%,
            #eaf1fb 100%
        );
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 34px;
    align-items: center;
    padding-top: 70px;
    padding-bottom: 70px;
}

.eyebrow {
    color: var(--gold);
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 900;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.02;
    margin: 12px 0 16px;
    color: var(--navy);
}

.hero p {
    font-size: 18px;
    color: #3b4a62;
    max-width: 640px;
}

.cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    padding: 14px 20px;
    font-weight: 850;
    border: 1px solid transparent;
    transition: .2s;
}

.btn.primary {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #fff;
}

.btn.secondary {
    border-color: rgba(201, 148, 50, .45);
    color: #8a641e;
    background: #fff;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}


/* =========================
   HERO CARD
   ========================= */

.hero-card {
    position: relative;
    min-height: 440px;
    border-radius: 34px;
    background: linear-gradient(
        140deg,
        #06234b 0%,
        #0c3c78 55%,
        #d19a33 100%
    );
    box-shadow: var(--shadow);
    overflow: hidden;
    color: #fff;
    padding: 28px;
}

.globe {
    position: absolute;
    right: -68px;
    top: 22px;
    width: 360px;
    height: 360px;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    opacity: .9;
}

.globe:before,
.globe:after {
    content: "";
    position: absolute;
    inset: 40px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    transform: rotate(35deg);
}

.globe:after {
    inset: 92px;
    transform: rotate(-28deg);
}

.ship-art {
    position: absolute;
    left: 28px;
    bottom: 64px;
    right: 34px;
    height: 150px;
}

.ship-hull {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    height: 45px;
    background: #fff;
    border-radius: 0 12px 75px 12px;
    clip-path: polygon(
        0 0,
        82% 0,
        100% 26%,
        83% 100%,
        7% 100%
    );
    opacity: .97;
}

.ship-deck {
    position: absolute;
    left: 95px;
    bottom: 57px;
    width: 250px;
    height: 65px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.ship-deck span {
    background: rgba(255, 255, 255, .9);
    border-radius: 3px;
}

.wave {
    position: absolute;
    left: 22px;
    right: 50px;
    bottom: 0;
    height: 20px;
    border-top: 6px solid var(--gold2);
    border-radius: 50%;
    opacity: .95;
}

.hero-card h3 {
    position: relative;
    z-index: 2;
    font-size: 26px;
    margin: 0 0 8px;
}

.hero-card p {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, .86);
    font-size: 15px;
    max-width: 290px;
}


/* =========================
   SECTIONS
   ========================= */

.section {
    padding: 76px 0;
    height: auto;
    min-height: 0;
    overflow: visible;
}

.section.white {
    background: #fff;
}

.section-title {
    max-width: 720px;
}

.section-title h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    color: var(--navy);
    margin: 0 0 12px;
}

.section-title p {
    color: var(--muted);
    font-size: 17px;
    margin-top: 0;
}


/* =========================
   GRIDS
   ========================= */

.grid {
    display: grid;
    gap: 22px;
}

.grid.four {
    grid-template-columns: repeat(4, 1fr);
}

.grid.three {
    grid-template-columns: repeat(3, 1fr);
}


/* =========================
   CARDS
   ========================= */

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .06);
}

.card h3 {
    margin: 10px 0 8px;
    color: var(--navy);
}

.icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        var(--navy),
        var(--blue)
    );
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 24px;
    font-weight: 900;
}

.icon.gold {
    background: linear-gradient(
        135deg,
        #f5c763,
        #b98421
    );
}


/* =========================
   SPLIT SECTION
   ========================= */

.split {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 32px;
    align-items: start;
}


/* =========================
   FACT BAR
   ========================= */

.factbar {
    background: linear-gradient(
        135deg,
        var(--navy),
        #0b3d78
    );
    color: #fff;
    border-radius: 28px;
    padding: 22px;
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.fact strong {
    display: block;
    color: #f7d081;
}


/* =========================
   PRODUCTS
   ========================= */

.products {
    grid-template-columns: repeat(3, 1fr);
}

.product-card {
    overflow: hidden;
    padding: 0;
}

.product-top {
    height: 126px;
    background: linear-gradient(
        135deg,
        #eaf1fb,
        #fff
    );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
}

.product-card .body {
    padding: 22px;
}


/* =========================
   MARKETPLACES
   ========================= */

.marketplaces {
    background: linear-gradient(
        135deg,
        #fff7e2,
        #eaf2ff
    );
    border: 1px solid rgba(201, 148, 50, .24);
    border-radius: 26px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.marketplaces > div:first-child {
    flex: 1 1 300px;
    min-width: 0;
}

.marketplaces h3 {
    line-height: 1.3;
}

.marketplaces p {
    line-height: 1.5;
}

.badge {
    padding: 10px 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
    font-weight: 900;
    color: var(--navy);
    box-shadow: 0 6px 18px rgba(16, 24, 40, .06);
}


/* =========================
   CONTACT
   ========================= */

.contact-wrap {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 28px;
}

.contact-info .line {
    display: flex;
    gap: 12px;
    margin: 16px 0;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 14px;
    font: inherit;
}

.form textarea {
    min-height: 130px;
}


/* =========================
   FOOTER
   ========================= */

.footer {
    background: #041b3c;
    color: #dce7f8;
    padding: 38px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
}

.footer img {
    width: 260px;
    max-width: 100%;
    background: #fff;
    border-radius: 14px;
    padding: 10px;
}

.mini {
    font-size: 13px;
    color: #9fb1cc;
}


/* =========================
   PAGE HERO
   ========================= */

.page-hero {
    background: linear-gradient(
        135deg,
        #061f43,
        #0d3b73
    );
    color: #fff;
    padding: 54px 0;
}

.page-hero h1 {
    font-size: 48px;
    margin: 0;
}

.breadcrumb {
    color: #f5c763;
    font-weight: 800;
}


/* =========================
   TOAST
   ========================= */

.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background: #06234b;
    color: #fff;
    padding: 14px 18px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: none;
}

.toast.show {
    display: block;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 860px) {

    .hamburger {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        left: 22px;
        right: 22px;
        top: 84px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 18px;
        box-shadow: var(--shadow);
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
    }

    .nav.open {
        display: flex;
    }

    .hero .container,
    .split,
    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .hero-card {
        min-height: 330px;
    }

    .grid.four,
    .grid.three,
    .products,
    .factbar,
    .footer-grid {
        grid-template-columns: 1fr;
    }


    /* =========================
       MOBILE LOGO
       ========================= */

    .header-row {
        min-height: 75px;
        padding: 6px 22px;
    }

    .brand {
        line-height: 0;
        height: auto;
    }

    .brand img {
        width: 200px;
        max-width: 55vw;
        height: auto;
        display: block;
    }


    /* =========================
       MOBILE PAGE HERO
       ========================= */

    .page-hero {
        padding: 42px 0;
    }

    .page-hero h1 {
        font-size: 38px;
        line-height: 1.1;
    }


    /* =========================
       MOBILE SECTIONS
       ========================= */

    .section {
        height: auto;
        min-height: 0;
        padding-top: 55px;
        padding-bottom: 55px;
        overflow: visible;
    }

    .section-title {
        width: 100%;
        max-width: 100%;
    }

    .section-title h2 {
        font-size: clamp(30px, 8vw, 40px);
        line-height: 1.15;
        margin: 0 0 14px;
    }

    .section-title p {
        width: 100%;
        max-width: 100%;
        margin: 0;
        font-size: 16px;
        line-height: 1.6;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }


    /* =========================
       MOBILE MARKETPLACES
       ========================= */

    .marketplaces {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 20px;
    }

    .marketplaces > div:first-child {
        width: 100%;
        flex: none;
    }

    .marketplaces h3 {
        font-size: 20px;
        line-height: 1.3;
        margin: 0 !important;
    }

    .marketplaces p {
        font-size: 15px;
        line-height: 1.5;
        margin: 6px 0 4px !important;
    }

    .badge {
        width: 100%;
        text-align: center;
        padding: 9px 14px;
    }


    /* =========================
       MOBILE FOOTER
       ========================= */

    .footer {
        padding: 32px 0;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer img {
        width: 220px;
    }
}


/* =========================
   SMALL PHONES
   ========================= */

@media (max-width: 480px) {

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .topbar .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .header-row {
        padding-left: 18px;
        padding-right: 18px;
        min-height: 70px;
    }

    .brand img {
        width: 175px;
        max-width: 52vw;
    }

    .hamburger {
        padding: 8px 10px;
        font-size: 13px;
    }

    .section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .section-title h2 {
        font-size: 30px;
        line-height: 1.15;
    }

    .section-title p {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-hero h1 {
        font-size: 34px;
    }

    .page-hero {
        padding: 38px 0;
    }

    .marketplaces {
        padding: 18px;
        border-radius: 20px;
    }

    .marketplaces h3 {
        font-size: 19px;
    }

    .marketplaces p {
        font-size: 15px;
    }
}