:root {
    --navy: #06344b;
    --navy-deep: #032536;
    --blue: #0c83b8;
    --blue-bright: #32b6e8;
    --green: #185d14;
    --ink: #162b36;
    --body: #536772;
    --muted: #f3f7f8;
    --line: #dce7ea;
    --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.nn-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.nn-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    transition: background .25s ease, box-shadow .25s ease, color .25s ease;
}
.nn-header.is-scrolled {
    color: var(--ink);
    background: rgba(255, 255, 255, .97);
    border-color: transparent;
    box-shadow: 0 10px 35px rgba(3, 37, 54, .09);
}
.nn-nav-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 36px;
}

.nn-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
    color: inherit;
    line-height: 1;
}
.nn-brand-logo {
    width: 185px;
    height: auto;
}
.nn-brand-mark {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border: 7px solid var(--blue-bright);
    border-radius: 50%;
    box-shadow: inset 0 0 0 5px currentColor;
}
.nn-brand-mark span {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
}
.nn-brand-copy {
    display: grid;
    gap: 3px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.nn-brand-copy strong { font-size: 17px; letter-spacing: .07em; }
.nn-brand-copy small {
    color: var(--blue-bright);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .28em;
}

.nn-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 31px;
    margin-left: auto;
}
.nn-navigation a {
    position: relative;
    padding: 28px 0;
    font-size: 14px;
    font-weight: 700;
}
.nn-navigation a::after {
    position: absolute;
    right: 0;
    bottom: 21px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--blue-bright);
    transform: scaleX(0);
    transition: transform .2s ease;
}
.nn-navigation a:hover::after,
.nn-navigation a.is-active::after { transform: scaleX(1); }

.nn-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 24px;
    color: var(--white);
    background: var(--blue);
    border: 1px solid var(--blue);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.nn-button:hover {
    background: #096f9d;
    border-color: #096f9d;
    transform: translateY(-2px);
}
.nn-button-small { min-height: 42px; padding: 0 18px; }
.nn-button-ghost { background: transparent; border-color: rgba(255, 255, 255, .55); }
.nn-button-ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }
.nn-button-light { color: var(--navy); background: var(--white); border-color: var(--white); }
.nn-button-light:hover { color: var(--white); background: var(--blue); border-color: var(--blue); }

.nn-menu-button {
    width: 44px;
    height: 44px;
    display: none;
    padding: 10px;
    margin-left: auto;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
}
.nn-menu-button span {
    width: 24px;
    height: 2px;
    display: block;
    margin: 5px auto;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}
.nn-menu-button.is-open span:first-child { transform: translateY(7px) rotate(45deg); }
.nn-menu-button.is-open span:nth-child(2) { opacity: 0; }
.nn-menu-button.is-open span:last-child { transform: translateY(-7px) rotate(-45deg); }

.nn-hero {
    min-height: 790px;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    background: url("../images/napstone_banner_image.jpg") center / cover no-repeat;
}
.nn-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 28, 42, .94) 0%, rgba(3, 37, 54, .8) 50%, rgba(3, 37, 54, .35) 100%);
}
.nn-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(250px, .6fr);
    align-items: end;
    gap: 110px;
    padding-top: 110px;
}
.nn-hero-copy { max-width: 760px; }
.nn-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.nn-eyebrow span { width: 30px; height: 2px; display: inline-block; background: currentColor; }
.nn-eyebrow-light { color: var(--blue-bright); }
.nn-hero h1 {
    margin: 0;
    font-size: clamp(52px, 6.5vw, 88px);
    line-height: .99;
    letter-spacing: -.045em;
}
.nn-hero h1 em { color: var(--blue-bright); font-style: normal; }
.nn-hero-lead {
    max-width: 680px;
    margin: 29px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 20px;
    line-height: 1.7;
}
.nn-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.nn-hero-panel {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(3, 37, 54, .62);
    backdrop-filter: blur(9px);
}
.nn-panel-label {
    display: block;
    color: var(--blue-bright);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.nn-hero-panel strong { display: block; margin: 4px 0 2px; font-size: 39px; line-height: 1.2; }
.nn-hero-panel p { margin: 0; color: rgba(255, 255, 255, .75); font-size: 14px; }
.nn-hero-panel p i { margin-right: 5px; color: var(--blue-bright); }
.nn-panel-rule { height: 1px; margin: 23px 0; background: rgba(255, 255, 255, .17); }
.nn-scroll-cue {
    position: absolute;
    z-index: 2;
    bottom: 30px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.nn-section { padding: 110px 0; }
.nn-section-muted { background: var(--muted); }
.nn-about-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 90px;
}
.nn-image-frame { position: relative; padding: 0 28px 28px 0; }
.nn-image-frame::after {
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    width: 74%;
    height: 76%;
    content: "";
    background: #d9edf4;
}
.nn-image-frame img { width: 100%; min-height: 550px; object-fit: cover; }
.nn-experience-card {
    position: absolute;
    right: -20px;
    bottom: 60px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    color: var(--white);
    background: var(--navy);
    box-shadow: 0 20px 45px rgba(3, 37, 54, .2);
}
.nn-experience-card strong { color: var(--blue-bright); font-size: 46px; line-height: 1; }
.nn-experience-card span {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.nn-section-copy h2,
.nn-section-heading h2,
.nn-mission-card h2,
.nn-trust-content h2,
.nn-values-grid h2,
.nn-contact-intro h2 {
    margin: 0;
    font-size: clamp(37px, 4vw, 55px);
    line-height: 1.12;
    letter-spacing: -.035em;
}
.nn-lead { margin: 25px 0 0; color: var(--body); font-size: 18px; }
.nn-check-list { display: grid; gap: 15px; margin: 31px 0; }
.nn-check-list div { display: flex; align-items: flex-start; gap: 13px; color: var(--body); }
.nn-check-list i {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: grid;
    place-items: center;
    margin-top: 2px;
    color: var(--white);
    background: var(--green);
    border-radius: 50%;
    font-size: 14px;
}
.nn-check-list strong { color: var(--ink); }
.nn-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 14px; font-weight: 900; }
.nn-text-link i { transition: transform .2s ease; }
.nn-text-link:hover i { transform: translateX(5px); }

.nn-mission-section { padding: 0 0 110px; }
.nn-mission-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 70px;
    color: var(--white);
    background: var(--navy);
}
.nn-mission-card p:not(.nn-eyebrow) { margin: 7px 0 26px; color: rgba(255, 255, 255, .75); font-size: 18px; }
.nn-text-link-light { color: var(--blue-bright); }

.nn-section-heading {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    align-items: end;
    gap: 80px;
    margin-bottom: 52px;
}
.nn-section-heading > p { margin: 0 0 8px; color: var(--body); }
.nn-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.nn-service-card {
    position: relative;
    min-height: 270px;
    padding: 36px 32px;
    overflow: hidden;
    background: var(--white);
    transition: transform .25s ease, box-shadow .25s ease;
}
.nn-service-card:hover { z-index: 2; box-shadow: 0 20px 50px rgba(3, 37, 54, .13); transform: translateY(-5px); }
.nn-service-card > i { display: inline-block; margin-bottom: 25px; color: var(--blue); font-size: 39px; }
.nn-service-card h3 { margin: 0 0 11px; font-size: 20px; line-height: 1.3; }
.nn-service-card p { margin: 0; color: var(--body); font-size: 14px; }
.nn-service-number { position: absolute; top: 23px; right: 27px; color: #d6e4e8; font-size: 13px; font-weight: 900; }

.nn-trust-section {
    position: relative;
    padding: 120px 0;
    color: var(--white);
    background: url("../images/bg/cta.jpg") center / cover no-repeat;
}
.nn-trust-overlay { position: absolute; inset: 0; background: rgba(3, 37, 54, .91); }
.nn-trust-content { position: relative; z-index: 1; text-align: center; }
.nn-trust-content .nn-eyebrow { justify-content: center; }
.nn-trust-content > p:not(.nn-eyebrow) {
    max-width: 760px;
    margin: 24px auto 0;
    color: rgba(255, 255, 255, .75);
    font-size: 18px;
}
.nn-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; text-align: left; }
.nn-process-grid > div { padding: 28px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .06); }
.nn-process-grid span { color: var(--blue-bright); font-size: 12px; font-weight: 900; }
.nn-process-grid h3 { margin: 15px 0 6px; font-size: 20px; }
.nn-process-grid p { margin: 0; color: rgba(255, 255, 255, .68); font-size: 14px; }

.nn-values-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
    gap: 80px;
}
.nn-value-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.nn-value-cards div {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 15px 40px rgba(3, 37, 54, .06);
}
.nn-value-cards strong { color: var(--green); font-size: 50px; line-height: 1; }
.nn-value-cards span {
    margin-top: 10px;
    color: var(--body);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.nn-contact-section {
    padding: 110px 0;
    color: var(--white);
    background: linear-gradient(120deg, var(--green) 0%, #0c4511 100%);
}
.nn-contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 100px;
}
.nn-contact-intro > p:not(.nn-eyebrow) { margin: 24px 0 32px; color: rgba(255, 255, 255, .76); font-size: 18px; }
.nn-contact-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.nn-contact-list a {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 23px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    transition: background .2s ease, transform .2s ease;
}
.nn-contact-list a:hover { background: rgba(255, 255, 255, .16); transform: translateY(-3px); }
.nn-contact-list i { flex: 0 0 auto; color: #9dda8a; font-size: 24px; }
.nn-contact-list span { font-size: 14px; line-height: 1.6; }
.nn-contact-list small {
    display: block;
    margin-bottom: 5px;
    color: #9dda8a;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.nn-footer { padding: 36px 0; color: rgba(255, 255, 255, .58); background: #021d2b; }
.nn-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.nn-footer p { margin: 0; font-size: 13px; }
.nn-brand-footer { color: var(--white); }
.nn-brand-logo-footer { width: 170px; }
.nn-brand-footer .nn-brand-mark { width: 38px; height: 38px; border-width: 6px; }

.nn-back-to-top {
    position: fixed;
    z-index: 900;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--blue);
    border: 0;
    border-radius: 4px;
    box-shadow: 0 12px 25px rgba(3, 37, 54, .22);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease;
}
.nn-back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 1050px) {
    .nn-navigation { gap: 20px; }
    .nn-nav-cta { display: none; }
    .nn-hero-content { gap: 50px; }
    .nn-about-grid, .nn-contact-grid { gap: 60px; }
    .nn-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .nn-shell { width: min(100% - 32px, 720px); }
    .nn-header {
        color: var(--ink);
        background: var(--white);
        border: 0;
        box-shadow: 0 8px 25px rgba(3, 37, 54, .08);
    }
    .nn-nav-wrap { min-height: 72px; }
    .nn-menu-button { display: block; }
    .nn-navigation {
        position: absolute;
        top: 72px;
        right: 0;
        left: 0;
        display: none;
        padding: 12px 16px 22px;
        background: var(--white);
        box-shadow: 0 20px 30px rgba(3, 37, 54, .1);
    }
    .nn-navigation.is-open { display: grid; }
    .nn-navigation a { padding: 11px 8px; }
    .nn-navigation a::after { display: none; }
    .nn-hero { min-height: 760px; }
    .nn-hero-content { grid-template-columns: 1fr; align-items: center; gap: 35px; padding-top: 100px; }
    .nn-hero-panel { max-width: 360px; }
    .nn-scroll-cue { display: none; }
    .nn-section, .nn-trust-section, .nn-contact-section { padding: 80px 0; }
    .nn-about-grid,
    .nn-values-grid,
    .nn-contact-grid,
    .nn-mission-card,
    .nn-section-heading { grid-template-columns: 1fr; }
    .nn-about-grid, .nn-values-grid, .nn-contact-grid { gap: 50px; }
    .nn-image-frame img { min-height: 460px; }
    .nn-mission-section { padding-bottom: 80px; }
    .nn-mission-card { gap: 30px; padding: 45px; }
    .nn-section-heading { gap: 20px; }
    .nn-process-grid { grid-template-columns: repeat(2, 1fr); }
    .nn-footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
    .nn-shell { width: calc(100% - 24px); }
    .nn-brand-logo { width: 158px; }
    .nn-hero h1 { font-size: 46px; }
    .nn-hero-lead { font-size: 17px; }
    .nn-actions, .nn-actions .nn-button { width: 100%; }
    .nn-section-copy h2,
    .nn-section-heading h2,
    .nn-mission-card h2,
    .nn-trust-content h2,
    .nn-values-grid h2,
    .nn-contact-intro h2 { font-size: 36px; }
    .nn-image-frame { padding: 0 14px 14px 0; }
    .nn-image-frame img { min-height: 380px; }
    .nn-experience-card { right: 0; bottom: 35px; padding: 16px 18px; }
    .nn-experience-card strong { font-size: 36px; }
    .nn-mission-card { padding: 32px 24px; }
    .nn-services-grid,
    .nn-process-grid,
    .nn-value-cards,
    .nn-contact-list { grid-template-columns: 1fr; }
    .nn-service-card { min-height: auto; }
    .nn-footer .nn-brand { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
