/*
Theme Name: NF Facility Management
Theme URI: https://nffacility.dk
Author: NF Facility Management
Author URI: https://nffacility.dk
Description: Et moderne, professionelt tema til NF Facility Management – et dansk ejendomsservicefirma med fokus på kvalitet, stabilitet og pålidelig service. Temaet indeholder hjemmeside, om os, servicepakker/priser og kontaktside.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nf-facility
Tags: business, cleaning, facility-management, danish, custom-logo, custom-menu, featured-images, responsive-layout
*/

/* =========================================================
   NF FACILITY MANAGEMENT – DESIGN SYSTEM
   Farver fra logo: Navy (#1e3a8a) & Green (#4caf50)
   ========================================================= */

:root {
    --nf-navy: #1e3a8a;
    --nf-navy-dark: #162a63;
    --nf-navy-light: #2f4fb6;
    --nf-green: #4caf50;
    --nf-green-dark: #3d8b40;
    --nf-green-light: #e8f5e9;
    --nf-gray-900: #111827;
    --nf-gray-700: #374151;
    --nf-gray-500: #6b7280;
    --nf-gray-300: #d1d5db;
    --nf-gray-100: #f3f4f6;
    --nf-gray-50:  #f9fafb;
    --nf-white: #ffffff;
    --nf-black: #0b1020;
    --nf-shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06);
    --nf-shadow:    0 4px 14px rgba(17, 24, 39, 0.08);
    --nf-shadow-lg: 0 20px 45px rgba(17, 24, 39, 0.12);
    --nf-radius: 14px;
    --nf-radius-sm: 8px;
    --nf-radius-lg: 22px;
    --nf-container: 1200px;
    --nf-transition: 0.25s cubic-bezier(.4,.0,.2,1);
    --nf-font-sans: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, system-ui, -apple-system, sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--nf-font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--nf-gray-700);
    background: var(--nf-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nf-navy); text-decoration: none; transition: color var(--nf-transition); }
a:hover { color: var(--nf-green); }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--nf-font-sans);
    color: var(--nf-gray-900);
    line-height: 1.2;
    margin: 0 0 .6em;
    font-weight: 700;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1vw + 1rem, 1.5rem); }
p  { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

/* ---------- Utility ---------- */
.nf-container { width: 100%; max-width: var(--nf-container); margin: 0 auto; padding: 0 24px; }
.nf-section { padding: 80px 0; }
.nf-section--tight { padding: 56px 0; }
.nf-section--hero { padding: 0; }
.nf-text-center { text-align: center; }
.nf-eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--nf-green);
    background: var(--nf-green-light);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.nf-section-title {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}
.nf-section-title p { color: var(--nf-gray-500); font-size: 1.05rem; margin: 10px 0 0; }

/* ---------- Buttons ---------- */
.nf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    font-weight: 600;
    border-radius: var(--nf-radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--nf-transition);
    font-size: 1rem;
    line-height: 1;
    text-decoration: none !important;
}
.nf-btn--primary {
    background: var(--nf-green);
    color: var(--nf-white) !important;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.28);
}
.nf-btn--primary:hover {
    background: var(--nf-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(76, 175, 80, 0.38);
}
.nf-btn--secondary {
    background: var(--nf-navy);
    color: var(--nf-white) !important;
}
.nf-btn--secondary:hover { background: var(--nf-navy-dark); transform: translateY(-2px); }
.nf-btn--outline {
    background: transparent;
    border-color: var(--nf-navy);
    color: var(--nf-navy) !important;
}
.nf-btn--outline:hover { background: var(--nf-navy); color: var(--nf-white) !important; }
.nf-btn--ghost {
    background: rgba(255,255,255,0.15);
    color: var(--nf-white) !important;
    backdrop-filter: blur(10px);
    border-color: rgba(255,255,255,0.35);
}
.nf-btn--ghost:hover { background: rgba(255,255,255,0.25); }

/* ---------- Header / Navigation ---------- */
.nf-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--nf-gray-100);
    transition: box-shadow var(--nf-transition);
}
.nf-site-header.is-scrolled { box-shadow: var(--nf-shadow); }
.nf-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 130px;
    gap: 24px;
}
.nf-logo { display: flex; align-items: center; gap: 10px; }
.nf-logo img { height: 118px; width: auto; max-width: 380px; object-fit: contain; display: block; }
@media (max-width: 768px) {
    .nf-logo img { height: 76px; max-width: 240px; }
}
.nf-logo-text { display: none; }

.nf-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}
.nf-nav a {
    color: var(--nf-gray-700);
    font-weight: 500;
    font-size: 0.98rem;
    padding: 8px 0;
    position: relative;
}
.nf-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--nf-green);
    transition: width var(--nf-transition);
}
.nf-nav a:hover::after,
.nf-nav .current-menu-item > a::after,
.nf-nav .current_page_item > a::after { width: 100%; }
.nf-nav a:hover,
.nf-nav .current-menu-item > a,
.nf-nav .current_page_item > a { color: var(--nf-navy); }

.nf-header-cta { display: flex; align-items: center; gap: 18px; }
.nf-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--nf-navy);
    font-weight: 600;
}
.nf-header-phone svg { width: 18px; height: 18px; fill: var(--nf-green); }

.nf-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--nf-navy);
}
.nf-mobile-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.nf-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 20% 10%, rgba(76, 175, 80, 0.15), transparent 60%),
        radial-gradient(900px 500px at 90% 80%, rgba(30, 58, 138, 0.12), transparent 60%),
        linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    padding: 100px 0 120px;
}
.nf-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
}
.nf-hero h1 {
    font-size: clamp(2.2rem, 3.2vw + 1rem, 3.8rem);
    line-height: 1.08;
    margin-bottom: 20px;
    color: var(--nf-gray-900);
}
.nf-hero h1 span.accent { color: var(--nf-green); }
.nf-hero .lead {
    font-size: 1.18rem;
    color: var(--nf-gray-500);
    max-width: 560px;
    margin-bottom: 32px;
}
.nf-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.nf-hero-trust {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    align-items: center;
    color: var(--nf-gray-500);
    font-size: 0.93rem;
}
.nf-hero-trust div {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nf-hero-trust svg { width: 20px; height: 20px; fill: var(--nf-green); flex-shrink: 0; }

.nf-hero-visual {
    position: relative;
    padding: 24px;
}
.nf-hero-card {
    background: var(--nf-white);
    border-radius: var(--nf-radius-lg);
    padding: 40px;
    box-shadow: var(--nf-shadow-lg);
    position: relative;
    z-index: 2;
    text-align: center;
}
.nf-hero-card img { max-height: 240px; margin: 0 auto 24px; }
.nf-hero-card h3 { margin-bottom: 8px; }
.nf-hero-card p { color: var(--nf-gray-500); margin: 0; }

.nf-hero-badge {
    position: absolute;
    background: var(--nf-white);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: var(--nf-shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
}
.nf-hero-badge .icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--nf-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.nf-hero-badge .icon svg { width: 22px; height: 22px; fill: var(--nf-green); }
.nf-hero-badge .text { font-weight: 700; color: var(--nf-gray-900); font-size: 0.95rem; }
.nf-hero-badge .text small { display: block; color: var(--nf-gray-500); font-weight: 500; font-size: 0.8rem; }

.nf-hero-badge--tl { top: 0; left: 0; }
.nf-hero-badge--br { bottom: 10px; right: 0; }

/* ---------- Trust/Features strip ---------- */
.nf-trust-strip {
    background: var(--nf-white);
    padding: 48px 0;
    border-top: 1px solid var(--nf-gray-100);
    border-bottom: 1px solid var(--nf-gray-100);
}
.nf-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.nf-trust-item .num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--nf-navy);
    line-height: 1;
    margin-bottom: 6px;
}
.nf-trust-item .label {
    color: var(--nf-gray-500);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ---------- Service Cards ---------- */
.nf-services {
    background: var(--nf-gray-50);
}
.nf-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.nf-service-card {
    background: var(--nf-white);
    border-radius: var(--nf-radius);
    padding: 36px 30px;
    box-shadow: var(--nf-shadow-sm);
    border: 1px solid var(--nf-gray-100);
    transition: all var(--nf-transition);
    position: relative;
    overflow: hidden;
}
.nf-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--nf-shadow-lg);
    border-color: var(--nf-green);
}
.nf-service-card .icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--nf-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.nf-service-card .icon-wrap { color: var(--nf-green); }
.nf-service-card .icon-wrap svg { width: 32px; height: 32px; fill: var(--nf-green); }
.nf-service-card .icon-wrap svg[fill="none"] { fill: none; stroke: var(--nf-green); }
.nf-service-card h3 { margin: 0 0 12px; font-size: 1.25rem; }
.nf-service-card p { color: var(--nf-gray-500); margin: 0; }
.nf-service-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 1100px; margin-left: auto; margin-right: auto; }
.nf-service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--nf-green);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s ease;
}
.nf-service-link:hover { gap: 12px; color: #3c9a40; }
.nf-service-link svg { transition: transform 0.2s ease; }
.nf-service-link:hover svg { transform: translateX(3px); }

/* ---------- Pricing Cards ---------- */
.nf-pricing {
    background: var(--nf-white);
}
.nf-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}
.nf-price-card {
    background: var(--nf-white);
    border: 2px solid var(--nf-gray-100);
    border-radius: var(--nf-radius-lg);
    padding: 40px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all var(--nf-transition);
}
.nf-price-card:hover { transform: translateY(-4px); box-shadow: var(--nf-shadow); }
.nf-price-card--featured {
    border-color: var(--nf-green);
    background: linear-gradient(180deg, #ffffff 0%, #f6fcf7 100%);
    box-shadow: 0 20px 45px rgba(76,175,80,0.15);
    transform: translateY(-8px);
}
.nf-price-card--featured:hover { transform: translateY(-12px); }
.nf-price-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--nf-green);
    color: var(--nf-white);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.nf-price-card h3 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 6px;
    color: var(--nf-navy);
}
.nf-price-card .tier-desc {
    text-align: center;
    color: var(--nf-gray-500);
    font-size: 0.92rem;
    margin-bottom: 24px;
}
.nf-price-amount {
    text-align: center;
    margin: 10px 0 22px;
}
.nf-price-amount .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--nf-gray-900);
}
.nf-price-amount .price small { font-size: 0.9rem; color: var(--nf-gray-500); font-weight: 500; }
.nf-price-amount .period { display:block; color: var(--nf-gray-500); font-size: 0.88rem; }
.nf-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
}
.nf-price-features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
    color: var(--nf-gray-700);
    font-size: 0.96rem;
    border-bottom: 1px dashed var(--nf-gray-100);
}
.nf-price-features li:last-child { border-bottom: none; }
.nf-price-features li::before {
    content: '';
    width: 20px; height: 20px;
    background: var(--nf-green-light) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234caf50'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}
.nf-price-card .nf-btn { width: 100%; justify-content: center; }

/* ---------- Why Us ---------- */
.nf-why {
    background: linear-gradient(180deg, var(--nf-white) 0%, var(--nf-gray-50) 100%);
}
.nf-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.nf-why-img {
    border-radius: var(--nf-radius-lg);
    overflow: hidden;
    box-shadow: var(--nf-shadow-lg);
    background: linear-gradient(135deg, var(--nf-navy) 0%, var(--nf-navy-light) 100%);
    aspect-ratio: 4/3;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.nf-why-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(76,175,80,.35), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,.1), transparent 50%);
    pointer-events: none;
}
.nf-why-img .nf-logo-card {
    position: relative;
    z-index: 1;
    background: var(--nf-white);
    border-radius: var(--nf-radius);
    padding: 32px 40px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.22);
    width: 78%;
    max-width: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nf-why-img .nf-logo-card img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    display: block;
    filter: none;
    opacity: 1;
}
.nf-why-list { list-style: none; padding: 0; margin: 28px 0 0; }
.nf-why-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--nf-gray-100);
}
.nf-why-list li:last-child { border-bottom: none; }
.nf-why-list .icon {
    width: 44px; height: 44px;
    background: var(--nf-green-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nf-why-list .icon svg { width: 22px; height: 22px; fill: var(--nf-green); }
.nf-why-list h4 { margin: 0 0 4px; font-size: 1.05rem; color: var(--nf-gray-900); }
.nf-why-list p { margin: 0; color: var(--nf-gray-500); font-size: 0.95rem; }

/* ---------- Testimonials / Values ---------- */
.nf-values {
    background: var(--nf-navy);
    color: var(--nf-white);
    position: relative;
    overflow: hidden;
}
.nf-values::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 400px at 10% 10%, rgba(76,175,80,.25), transparent 60%),
        radial-gradient(600px 400px at 90% 90%, rgba(47,79,182,.4), transparent 60%);
    pointer-events: none;
}
.nf-values .nf-eyebrow { background: rgba(76,175,80,0.2); color: #a5e2a7; }
.nf-values h2 { color: var(--nf-white); }
.nf-values .nf-section-title p { color: rgba(255,255,255,0.72); }
.nf-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
}
.nf-value-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--nf-radius);
    padding: 34px;
    text-align: center;
    transition: all var(--nf-transition);
}
.nf-value-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}
.nf-value-card .icon-wrap {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: var(--nf-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.nf-value-card .icon-wrap svg { width: 32px; height: 32px; fill: var(--nf-white); }
.nf-value-card h3 { color: var(--nf-white); font-size: 1.2rem; margin-bottom: 10px; }
.nf-value-card p { color: rgba(255,255,255,0.75); margin: 0; font-size: 0.97rem; }

/* ---------- CTA ---------- */
.nf-cta-section {
    background: linear-gradient(135deg, var(--nf-green) 0%, var(--nf-green-dark) 100%);
    color: var(--nf-white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.nf-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 10% 50%, rgba(255,255,255,0.2), transparent 60%),
        radial-gradient(500px 300px at 90% 50%, rgba(255,255,255,0.15), transparent 60%);
}
.nf-cta-section h2 { color: var(--nf-white); margin-bottom: 10px; position: relative; }
.nf-cta-section p { color: rgba(255,255,255,0.92); font-size: 1.1rem; margin-bottom: 30px; position: relative; }
.nf-cta-section .actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}
.nf-cta-section .nf-btn--primary {
    background: var(--nf-white);
    color: var(--nf-green-dark) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.nf-cta-section .nf-btn--primary:hover { background: var(--nf-gray-100); color: var(--nf-navy) !important; }

/* ---------- Page Headers ---------- */
.nf-page-header {
    background: linear-gradient(135deg, var(--nf-navy) 0%, var(--nf-navy-light) 100%);
    color: var(--nf-white);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.nf-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 400px at 20% 10%, rgba(76,175,80,.25), transparent 60%),
        radial-gradient(600px 400px at 90% 90%, rgba(255,255,255,.08), transparent 60%);
}
.nf-page-header h1 {
    color: var(--nf-white);
    margin-bottom: 12px;
    position: relative;
}
.nf-page-header p {
    color: rgba(255,255,255,0.85);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.1rem;
    position: relative;
}
.nf-breadcrumb {
    display: inline-flex;
    gap: 8px;
    margin-top: 16px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    position: relative;
}
.nf-breadcrumb a { color: rgba(255,255,255,0.9); }
.nf-breadcrumb a:hover { color: var(--nf-white); }

/* ---------- Content pages ---------- */
.nf-content {
    padding: 80px 0;
}
.nf-content .prose {
    max-width: 800px;
    margin: 0 auto;
}
.nf-content .prose p { font-size: 1.07rem; color: var(--nf-gray-700); }
.nf-content h2 { margin-top: 1.8em; }

/* ---------- Contact Page ---------- */
.nf-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: start;
}
.nf-contact-info {
    background: var(--nf-navy);
    color: var(--nf-white);
    border-radius: var(--nf-radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.nf-contact-info::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76,175,80,0.35), transparent 65%);
}
.nf-contact-info h2 { color: var(--nf-white); margin-bottom: 8px; position: relative; }
.nf-contact-info .sub { color: rgba(255,255,255,0.8); margin-bottom: 28px; position: relative; }
.nf-contact-details { list-style: none; padding: 0; margin: 0; position: relative; }
.nf-contact-details li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.nf-contact-details li:last-child { border-bottom: none; }
.nf-contact-details .icon {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nf-contact-details .icon svg { width: 20px; height: 20px; fill: #a5e2a7; }
.nf-contact-details .label { font-size: 0.82rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.08em; }
.nf-contact-details .value { color: var(--nf-white); font-weight: 600; font-size: 1.05rem; }
.nf-contact-details .value a { color: var(--nf-white); }
.nf-contact-details .value a:hover { color: #a5e2a7; }

.nf-contact-form {
    background: var(--nf-white);
    border-radius: var(--nf-radius-lg);
    padding: 40px;
    box-shadow: var(--nf-shadow);
    border: 1px solid var(--nf-gray-100);
}
.nf-contact-form h2 { margin-bottom: 6px; }
.nf-contact-form .sub { color: var(--nf-gray-500); margin-bottom: 26px; }
.nf-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.nf-field { margin-bottom: 16px; }
.nf-field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--nf-gray-700);
    margin-bottom: 6px;
}
.nf-field input,
.nf-field select,
.nf-field textarea {
    width: 100%;
    padding: 13px 16px;
    font: inherit;
    font-size: 0.98rem;
    color: var(--nf-gray-900);
    background: var(--nf-gray-50);
    border: 2px solid var(--nf-gray-100);
    border-radius: var(--nf-radius-sm);
    transition: all var(--nf-transition);
}
.nf-field input:focus,
.nf-field select:focus,
.nf-field textarea:focus {
    outline: none;
    border-color: var(--nf-green);
    background: var(--nf-white);
    box-shadow: 0 0 0 4px rgba(76,175,80,0.12);
}
.nf-field textarea { min-height: 130px; resize: vertical; }
.nf-form-notice {
    background: var(--nf-green-light);
    color: var(--nf-green-dark);
    padding: 14px 16px;
    border-radius: var(--nf-radius-sm);
    font-size: 0.95rem;
    margin-bottom: 16px;
    display: none;
    border-left: 4px solid var(--nf-green);
}
.nf-form-notice.is-visible { display: block; }
.nf-form-notice.is-error {
    background: #fef2f2;
    color: #991b1b;
    border-left-color: #ef4444;
}

/* ---------- Map placeholder ---------- */
.nf-map {
    background: linear-gradient(135deg, var(--nf-gray-100) 0%, var(--nf-gray-50) 100%);
    aspect-ratio: 16/7;
    border-radius: var(--nf-radius);
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nf-gray-500);
    font-weight: 500;
    overflow: hidden;
}
.nf-map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- About Page ---------- */
.nf-about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.nf-about-story .visual {
    background: linear-gradient(135deg, var(--nf-navy) 0%, var(--nf-green-dark) 100%);
    border-radius: var(--nf-radius-lg);
    aspect-ratio: 4/5;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--nf-shadow-lg);
}
.nf-about-story .visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(76,175,80,0.3), transparent 60%);
    pointer-events: none;
}
.nf-about-story .visual .nf-logo-card {
    position: relative;
    z-index: 1;
    background: var(--nf-white);
    border-radius: var(--nf-radius);
    padding: 36px 44px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
    width: 80%;
    max-width: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nf-about-story .visual .nf-logo-card img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    display: block;
    filter: none;
    opacity: 1;
}
.nf-about-text p { font-size: 1.05rem; color: var(--nf-gray-700); }
.nf-about-text p.lead { font-size: 1.2rem; color: var(--nf-gray-900); font-weight: 500; line-height: 1.5; }

/* ---------- Footer ---------- */
.nf-site-footer {
    background: var(--nf-gray-900);
    color: rgba(255,255,255,0.72);
    padding: 70px 0 0;
    margin-top: 0;
}
.nf-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 50px;
}
.nf-footer-about img {
    height: 104px;
    width: 100%;
    max-width: 360px;
    object-fit: contain;
    margin-bottom: 22px;
    background: var(--nf-white);
    padding: 16px 32px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    display: block;
}
/* Footer logo card — sized to sit comfortably alongside the other columns */
.nf-footer-about {
    display: flex;
    flex-direction: column;
}
.nf-footer-about img.nf-footer-logo--xl {
    height: 180px;
    max-width: 360px;
    padding: 24px 32px;
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .nf-footer-about img { height: 82px; max-width: 300px; padding: 14px 24px; }
    .nf-footer-about img.nf-footer-logo--xl { height: 140px; max-width: 300px; padding: 18px 24px; }
}
.nf-footer-social { display: flex; gap: 10px; }
/* Centered social row that sits between the grid and the bottom legal row */
.nf-footer-social--center {
    justify-content: center;
    gap: 14px;
    margin: 0 auto 24px;
    padding: 0;
}
.nf-footer-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    transition: all var(--nf-transition);
}
.nf-footer-social a:hover { background: var(--nf-green); color: var(--nf-white); transform: translateY(-2px); }
.nf-footer-social svg { width: 18px; height: 18px; fill: currentColor; }

.nf-footer-col h4 {
    color: var(--nf-white);
    font-size: 1.05rem;
    margin-bottom: 20px;
}
.nf-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nf-footer-col li { margin-bottom: 10px; }
.nf-footer-col a {
    color: rgba(255,255,255,0.68);
    font-size: 0.95rem;
}
.nf-footer-col a:hover { color: var(--nf-green); }
.nf-footer-col .contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 0.93rem;
}
.nf-footer-col .contact-item svg {
    width: 18px; height: 18px;
    fill: var(--nf-green);
    flex-shrink: 0;
    margin-top: 2px;
}
.nf-footer-bottom {
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
}
.nf-footer-bottom .legal { display: flex; gap: 20px; flex-wrap: wrap; }
.nf-footer-bottom .legal a { color: rgba(255,255,255,0.7); }
.nf-footer-bottom .legal a:hover { color: var(--nf-green); }

/* ---------- FAQ ---------- */
.nf-faq-list { max-width: 820px; margin: 0 auto; }
.nf-faq-item {
    background: var(--nf-white);
    border: 1px solid var(--nf-gray-100);
    border-radius: var(--nf-radius);
    margin-bottom: 14px;
    overflow: hidden;
    transition: all var(--nf-transition);
}
.nf-faq-item:hover { border-color: var(--nf-green); }
.nf-faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--nf-gray-900);
}
.nf-faq-q svg { width: 22px; height: 22px; fill: var(--nf-green); transition: transform var(--nf-transition); flex-shrink: 0; }
.nf-faq-item.is-open .nf-faq-q svg { transform: rotate(180deg); }
.nf-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--nf-transition), padding var(--nf-transition);
    padding: 0 24px;
    color: var(--nf-gray-500);
}
.nf-faq-item.is-open .nf-faq-a {
    max-height: 400px;
    padding: 0 24px 20px;
}

/* ---------- Animations ---------- */
@keyframes nf-fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.nf-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.nf-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .nf-hero-grid,
    .nf-why-grid,
    .nf-about-story,
    .nf-contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .nf-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .nf-service-grid,
    .nf-pricing-grid,
    .nf-values-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .nf-price-card--featured { transform: none; }
    .nf-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .nf-about-story .visual { aspect-ratio: 16/9; max-width: 100%; }
}

@media (max-width: 768px) {
    .nf-section { padding: 60px 0; }
    .nf-header-cta .nf-btn,
    .nf-header-phone { display: none; }
    .nf-mobile-toggle { display: inline-flex; }
    .nf-nav {
        position: fixed;
        top: 92px;
        left: 0; right: 0;
        background: var(--nf-white);
        border-bottom: 1px solid var(--nf-gray-100);
        transform: translateY(-130%);
        transition: transform 0.3s ease;
        box-shadow: var(--nf-shadow-lg);
    }
    .nf-nav.is-open { transform: translateY(0); }
    .nf-nav ul { flex-direction: column; padding: 24px; gap: 0; }
    .nf-nav li { border-bottom: 1px solid var(--nf-gray-100); }
    .nf-nav li:last-child { border-bottom: none; }
    .nf-nav a { padding: 14px 0; display: block; }
    .nf-hero { padding: 60px 0 70px; }
    .nf-hero-actions { flex-direction: column; }
    .nf-hero-actions .nf-btn { width: 100%; justify-content: center; }
    .nf-form-row { grid-template-columns: 1fr; }
    .nf-footer-grid { grid-template-columns: 1fr; text-align: center; }
    .nf-footer-col { align-items: center; }
    .nf-footer-about { align-items: center; }
    .nf-footer-about img.nf-footer-logo--xl { margin-left: auto; margin-right: auto; }
    .nf-footer-col h4 { text-align: center; }
    .nf-footer-col ul { text-align: center; }
    .nf-footer-col .contact-item { justify-content: center; }
    .nf-footer-bottom { flex-direction: column; text-align: center; align-items: center; }
    .nf-footer-bottom .legal { justify-content: center; }
    .nf-page-header { padding: 60px 0 48px; }
    .nf-hero-badge { display: none; }
}

/* ---------- Print ---------- */
@media print {
    .nf-site-header, .nf-site-footer, .nf-cta-section { display: none; }
    body { color: #000; }
}

/* ---------- WordPress required alignment / gallery helpers ---------- */
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.wp-caption { max-width: 100%; }
.wp-caption-text { text-align: center; font-size: 0.88em; color: var(--nf-gray-500); }
