:root {
    --nf-bg: #f5f3ee;
    --nf-surface: #ffffff;
    --nf-surface-soft: #f0ede6;
    --nf-border-subtle: rgba(15, 23, 42, 0.08);
    --nf-border-strong: rgba(15, 23, 42, 0.18);
    --nf-text-main: #102133;
    --nf-text-muted: #6b7280;
    --nf-accent: #123a5a;      /* main logo navy */
    --nf-accent-soft: #e1e7f0;
    --nf-accent-strong: #0a2740;
    --nf-radius-lg: 1.25rem;
    --nf-radius-md: 0.9rem;
    --nf-radius-pill: 999px;
    --nf-shadow-soft: 0 14px 45px rgba(15, 23, 42, 0.12);
    --nf-shadow-hover: 0 18px 60px rgba(15, 23, 42, 0.18);
}

/* Reset & base */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top left, #ffffff 0, var(--nf-bg) 40%, #f2eee7 100%);
    color: var(--nf-text-main);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.nf-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nf-main {
    min-height: 60vh;
}

/* Header */

.nf-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(16px);
    background: rgba(245, 243, 238, 0.88);
    border-bottom: 1px solid var(--nf-border-subtle);
}

.nf-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.5rem;
    gap: 1.5rem;
}

.nf-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.nf-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 2px solid var(--nf-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--nf-accent);
    position: relative;
    overflow: hidden;
}

/* simple circular motif echoing the logo */
.nf-logo-icon::before,
.nf-logo-icon::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    border: 2px solid var(--nf-accent);
    inset: 6px;
    opacity: 0.35;
}

.nf-logo-text {
    font-weight: 650;
    letter-spacing: 0.03em;
    font-size: 1.15rem;
    color: var(--nf-accent-strong);
}

.nf-logo-small .nf-logo-text {
    font-size: 1rem;
}

.nf-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.95rem;
}

.nf-nav a {
    position: relative;
    color: var(--nf-text-muted);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nf-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--nf-accent), var(--nf-accent-strong));
    transition: width 0.24s ease;
}

.nf-nav a:hover {
    color: var(--nf-accent-strong);
}

.nf-nav a:hover::after {
    width: 100%;
}

/* Buttons */

.nf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.3rem;
    border-radius: var(--nf-radius-pill);
    border: 1px solid var(--nf-accent);
    background: var(--nf-accent);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 30px rgba(18, 58, 90, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
    cursor: pointer;
}

.nf-btn:hover {
    transform: translateY(-1px);
    background: var(--nf-accent-strong);
    border-color: var(--nf-accent-strong);
    box-shadow: var(--nf-shadow-hover);
}

.nf-btn-outline {
    background: transparent;
    color: var(--nf-accent-strong);
    border-color: rgba(18, 58, 90, 0.25);
    box-shadow: none;
}

.nf-btn-outline:hover {
    background: rgba(18, 58, 90, 0.05);
    box-shadow: 0 6px 18px rgba(18, 58, 90, 0.25);
}

.nf-btn-small {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    box-shadow: none;
}

/* Hero */

.nf-hero {
    padding: 4.5rem 0 3.75rem;
}

.nf-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.nf-hero-text h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.2rem, 3vw + 1.2rem, 3.1rem);
    letter-spacing: -0.03em;
    color: var(--nf-accent-strong);
}

.nf-hero-text p {
    margin: 0 0 1.8rem;
    max-width: 34rem;
    color: var(--nf-text-muted);
    line-height: 1.6;
}

.nf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.4rem;
}

.nf-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--nf-text-muted);
}

.nf-hero-meta span {
    padding: 0.35rem 0.8rem;
    border-radius: var(--nf-radius-pill);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--nf-border-subtle);
}

/* Hero side card */

.nf-hero-card {
    background: radial-gradient(circle at top left, rgba(18, 58, 90, 0.08), transparent 55%), var(--nf-surface);
    border-radius: var(--nf-radius-lg);
    padding: 1.8rem 1.7rem;
    border: 1px solid var(--nf-border-subtle);
    box-shadow: var(--nf-shadow-soft);
    position: relative;
    overflow: hidden;
}

.nf-hero-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top, rgba(18, 58, 90, 0.08), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.nf-hero-card h2 {
    position: relative;
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    color: var(--nf-accent-strong);
}

.nf-hero-card ul {
    position: relative;
    list-style: none;
    margin: 0 0 1.4rem;
    padding: 0;
    color: var(--nf-text-muted);
    font-size: 0.9rem;
}

.nf-hero-card li {
    padding-left: 1rem;
    position: relative;
    margin-bottom: 0.45rem;
}

.nf-hero-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--nf-accent);
}

.nf-hero-contact {
    position: relative;
    padding-top: 0.6rem;
    border-top: 1px dashed var(--nf-border-subtle);
    font-size: 0.9rem;
    color: var(--nf-text-muted);
}

.nf-hero-contact p {
    margin: 0.15rem 0;
}

.nf-hero-contact a {
    color: var(--nf-accent-strong);
}

/* Sections */

.nf-section {
    padding: 3.5rem 0;
}

.nf-section-title,
.nf-page-title {
    margin: 0 0 0.75rem;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
    color: var(--nf-accent-strong);
}

.nf-page-title {
    margin-bottom: 0.4rem;
}

.nf-page-intro {
    margin: 0 0 1.8rem;
    max-width: 40rem;
    color: var(--nf-text-muted);
    line-height: 1.65;
}

/* Grids & cards */

.nf-grid {
    display: grid;
    gap: 1.7rem;
}

.nf-grid-2 {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
}

.nf-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nf-card {
    position: relative;
    border-radius: var(--nf-radius-md);
    padding: 1.4rem 1.5rem;
    background: var(--nf-surface);
    border: 1px solid var(--nf-border-subtle);
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.nf-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    pointer-events: none;
    transition: border-color 0.22s ease;
}

.nf-card h2,
.nf-card h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
    color: var(--nf-accent-strong);
}

.nf-card p {
    margin: 0 0 0.8rem;
    font-size: 0.92rem;
    color: var(--nf-text-muted);
}

.nf-card ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: var(--nf-text-muted);
}

.nf-card li + li {
    margin-top: 0.25rem;
}

.nf-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nf-shadow-hover);
    border-color: rgba(18, 58, 90, 0.3);
    background: linear-gradient(180deg, #ffffff, #f8f5f0);
}

.nf-card:hover::after {
    border-color: rgba(18, 58, 90, 0.25);
}

.nf-card-highlight {
    background: linear-gradient(145deg, #ffffff, #eef2f8);
}

.nf-card-service {
    border-style: solid;
}

.nf-card-contact {
    background: #faf6ef;
}

/* Forms */

.nf-form {
    display: grid;
    gap: 1rem;
}

.nf-form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--nf-text-main);
}

.nf-form-group input,
.nf-form-group textarea {
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid var(--nf-border-subtle);
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.nf-form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.nf-form-group input:focus,
.nf-form-group textarea:focus {
    border-color: var(--nf-accent);
    box-shadow: 0 0 0 1px rgba(18, 58, 90, 0.12);
    background: #ffffff;
}

.nf-note {
    font-size: 0.8rem;
    color: var(--nf-text-muted);
}

/* CTA block */

.nf-cta-block {
    margin-top: 3rem;
    border-radius: var(--nf-radius-lg);
    padding: 1.9rem 1.7rem;
    background: radial-gradient(circle at left, rgba(18, 58, 90, 0.12), transparent 55%),
        var(--nf-accent-soft);
    border: 1px solid rgba(18, 58, 90, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.nf-cta-block h2 {
    margin: 0;
    color: var(--nf-accent-strong);
}

.nf-cta-block p {
    margin: 0 0 0.7rem;
    color: var(--nf-text-muted);
}

/* Footer */

.nf-footer {
    border-top: 1px solid var(--nf-border-subtle);
    background: #f4f1ea;
    margin-top: 2rem;
}

.nf-footer-inner {
    padding: 1.7rem 0 1.4rem;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1.7rem;
    align-items: flex-start;
}

.nf-footer-text {
    margin: 0.5rem 0 0.75rem;
    font-size: 0.9rem;
    color: var(--nf-text-muted);
}

.nf-footer-text-small {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: var(--nf-text-muted);
}

.nf-footer-contact p {
    margin: 0.1rem 0;
    font-size: 0.9rem;
}

.nf-footer-contact a {
    color: var(--nf-accent-strong);
}

.nf-footer-copy {
    grid-column: 1 / -1;
    border-top: 1px solid var(--nf-border-subtle);
    padding-top: 0.9rem;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: var(--nf-text-muted);
}

.nf-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.nf-social a {
    font-size: 0.8rem;
    padding: 0.25rem 0.7rem;
    border-radius: var(--nf-radius-pill);
    border: 1px solid rgba(18, 58, 90, 0.16);
    background: rgba(255, 255, 255, 0.9);
}

/* Animations */

@keyframes nf-fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nf-hero-text,
.nf-hero-card,
.nf-section {
    animation: nf-fade-up 0.6s ease-out;
}

.nf-hero-card {
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

/* Responsive */

@media (max-width: 900px) {
    .nf-header-inner {
        padding-inline: 0;
    }

    .nf-nav {
        display: none;
    }

    .nf-hero {
        padding-top: 3rem;
    }

    .nf-hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .nf-grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .nf-grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .nf-footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }
}
