:root {
    --ink: #0b1220;
    --navy: #0f1b2d;
    --slate: #2b3646;
    --muted: #667489;
    --paper: #f6f8fb;
    --card: #ffffff;
    --line: #e2e8f0;
    --accent: #4f87a8;

    /* muted maritime */
    --accent2: #7aa37a;

    /* subdued secondary */
    --shadow: 0 14px 40px rgba(10,25,41,.10);
    --shadow2: 0 10px 28px rgba(10,25,41,.12);
    --radius: 18px;
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #f9fbfd 0%, var(--paper) 60%, #f3f6fb 100%);
}

a {
    color: inherit;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 28px;
}

/* Top nav */
.nav {
    box-shadow: 0 4px 14px rgba(15,27,45,.06);
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226,232,240,.9);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand img {
    height: 80px;
    width: auto;
    background-color: inherit;
    border-radius: 10px;
}

.brand .name {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand .name strong {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .2px;
}

.brand .name span {
    font-size: 12px;
    color: var(--muted);
}

.menu {
    display: flex;
    gap: 26px;
    align-items: center;
}

.menu a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #152235;
    padding: 10px 10px;
    border-radius: 12px;
    transition: background .2s ease, transform .2s ease;
}

.menu a:hover {
    background: rgba(79,135,168,.10);
    transform: translateY(-1px);
}

.menu a.active {
    background: rgba(15,27,45,.06);
    font-weight: 600;
}

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hamburger i {
    font-size: 18px;
    color: #132033;
}

/* Mobile menu */
.mobile-panel {
    display: none;
    border-top: 1px solid var(--line);
    padding: 10px 0 18px;
}

.mobile-panel a {
    display: block;
    padding: 12px 10px;
    margin: 6px 0;
    border-radius: 14px;
    text-decoration: none;
    color: #132033;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(226,232,240,.8);
}

.mobile-panel a:hover {
    background: rgba(79,135,168,.10);
}

/* Hero */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-bottom: 1px solid rgba(226,232,240,.8);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    will-change: transform;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 520px at 22% 35%, rgba(15,27,45,.55) 0%, rgba(15,27,45,.68) 45%, rgba(15,27,45,.78) 100%);
    pointer-events: none;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,27,45,.78) 0%, rgba(15,27,45,.62) 46%, rgba(15,27,45,.30) 100%);
}

.hero-inner {
    position: relative;
    padding: 78px 0;
    width: 100%;
    display: flex;
    align-items: center;
}

.hero-card {
    max-width: 860px;
    color: #eef5ff;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid rgba(231,237,245,.22);
    border-radius: 999px;
    background: rgba(231,237,245,.08);
    font-size: 12px;
    letter-spacing: .3px;
}

.kicker i {
    font-size: 16px;
    color: #d4e6f0;
}

.hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(34px, 4.2vw, 54px);
    line-height: 1.06;
    letter-spacing: -0.6px;
}

.hero p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(231,237,245,.92);
    max-width: 70ch;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(226,232,240,.22);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border .2s ease;
}

.btn i {
    font-size: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(79,135,168,1) 0%, rgba(65,120,150,1) 100%);
    color: #07111f;
    border-color: rgba(79,135,168,.25);
    box-shadow: 0 10px 24px rgba(79,135,168,.22);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(79,135,168,.28);
}

.btn-ghost {
    background: rgba(255,255,255,.08);
    color: #eef5ff;
}

.btn-ghost:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,.12);
}

/* Slider dots */
.dots {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(231,237,245,.40);
    background: rgba(231,237,245,.18);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.dot.active {
    background: rgba(231,237,245,.75);
    transform: scale(1.15);
}

/* Sections */
.section {
    padding: 74px 0;
}

.section.alt {
    background: rgba(255,255,255,.55);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.section-head h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.3px;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    max-width: 70ch;
    line-height: 1.6;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.card {
    background: var(--card);
    border: 1px solid rgba(226,232,240,.9);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 8px 24px rgba(10,25,41,.06);
    transition: transform .22s ease, box-shadow .22s ease, border .22s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow2);
    border-color: rgba(79,135,168,.30);
}

.card .icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: linear-gradient(135deg, rgba(79,135,168,.18) 0%, rgba(122,163,122,.12) 100%);
    border: 1px solid rgba(79,135,168,.18);
}

.card .icon i {
    font-size: 24px;
    color: #183246;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

/* Lists */
.ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ul li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--muted);
    line-height: 1.6;
}

.ul i {
    font-size: 20px;
    margin-top: 2px;
    color: var(--accent);
}

/* Split */
.split {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 22px;
    align-items: stretch;
}

.panel {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(226,232,240,.9);
    background: #fff;
    box-shadow: 0 8px 24px rgba(10,25,41,.06);
}

.panel-media {
    min-height: 260px;
    background-size: cover;
    background-position: center;
}

.panel-body {
    padding: 22px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #0f1b2d;
    background: rgba(79,135,168,.12);
    border: 1px solid rgba(79,135,168,.18);
    padding: 7px 10px;
    border-radius: 999px;
}

.tag i {
    font-size: 14px;
}

/* Contact */
.form {
    display: grid;
    gap: 12px;
}

.field {
    display: grid;
    gap: 6px;
}

label {
    font-size: 12px;
    color: #2b3646;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(226,232,240,.95);
    font: inherit;
    background: #fff;
    outline: none;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: rgba(79,135,168,.55);
    box-shadow: 0 0 0 4px rgba(79,135,168,.10);
}

.small {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #0b1220;
    color: #c9d6e4;
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer a {
    color: #e7edf5;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(231,237,245,.18);
    background: rgba(255,255,255,.06);
    transition: transform .2s ease, background .2s ease, border .2s ease;
}

.social a i {
    font-size: 20px;
}

.social a:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,.10);
    border-color: rgba(79,135,168,.35);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
    opacity: 1;
    transform: none;
}

/* Cookie */
.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: var(--max);
    margin: 0 auto;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226,232,240,.95);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 16px 16px;
    display: none;
    z-index: 1000;
}

.cookie-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cookie-text {
    max-width: 74ch;
}

.cookie-text strong {
    display: block;
    margin-bottom: 4px;
    color: #0f1b2d;
}

.cookie-text span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 13px;
}

.btn-secondary {
    background: rgba(15,27,45,.06);
    border-color: rgba(15,27,45,.12);
    color: #0f1b2d;
}

.btn-secondary:hover {
    background: rgba(15,27,45,.09);
    transform: translateY(-2px);
}

.btn-danger {
    background: rgba(192,45,45,.08);
    border-color: rgba(192,45,45,.18);
    color: #7a1f1f;
}

.btn-danger:hover {
    background: rgba(192,45,45,.12);
    transform: translateY(-2px);
}

.cookie-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(226,232,240,.95);
    box-shadow: var(--shadow2);
    z-index: 1000;
    cursor: pointer;
}

.cookie-fab i {
    font-size: 22px;
    color: #132033;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(11,18,32,.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    padding: 18px;
}

.modal-card {
    width: min(760px, 100%);
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(226,232,240,.95);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.modal-head {
    padding: 16px 16px;
    border-bottom: 1px solid rgba(226,232,240,.95);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.modal-head strong {
    color: #0f1b2d;
}

.modal-body {
    padding: 16px 16px;
    display: grid;
    gap: 12px;
}

.toggle {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 12px;
    border: 1px solid rgba(226,232,240,.95);
    border-radius: 16px;
    background: rgba(246,248,251,.7);
}

.toggle .left {
    display: grid;
    gap: 4px;
}

.toggle .left span {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.4;
}

.switch {
    width: 48px;
    height: 28px;
    background: rgba(15,27,45,.10);
    border-radius: 999px;
    position: relative;
    cursor: pointer;
    flex: 0 0 auto;
}

.switch::after {
    content: "";
    width: 22px;
    height: 22px;
    position: absolute;
    top: 3px;
    left: 3px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(10,25,41,.18);
    transition: left .2s ease, background .2s ease;
}

.switch.on {
    background: rgba(79,135,168,.55);
}

.switch.on::after {
    left: 23px;
}

.switch.disabled {
    opacity: .55;
    cursor: not-allowed;
}

.modal-actions {
    padding: 14px 16px;
    border-top: 1px solid rgba(226,232,240,.95);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

/* Page hero (secondary pages) */
.page-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(226,232,240,.8);
}

.page-hero .hero-bg {
    filter: saturate(.95) contrast(.98);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,27,45,.76) 0%, rgba(15,27,45,.56) 55%, rgba(15,27,45,.30) 100%);
}

.page-hero .hero-inner {
    padding: 66px 0;
}

/* Responsive */
@media (max-width: 980px){
    .split {
        grid-template-columns: 1fr;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 860px){
    .menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-panel.show {
        display: block;
    }

    .hero {
        min-height: 560px;
    }

    .hero-inner {
        padding: 70px 0;
    }
}

@media (max-width: 560px){
    .container {
        padding: 0 18px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero {
        min-height: 600px;
    }

    .card .icon {
        width: 52px;
        height: 52px;
    }
}

/* Enhanced spacing between topbar and main nav */
.nav {
    margin-top: 0;
}
