/*
Theme Name: NexCore IT
Theme URI: https://nexcore.ca
Author: NexCore IT
Author URI: https://nexcore.ca
Description: A modern, security-first WordPress theme for Managed Service Providers. Features full-page hero, mega-menu, services grid, cybersecurity landing page, case studies, and blog templates.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nexcore
Tags: managed-services, technology, cybersecurity, dark, business, blog, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready
*/

/* ─────────────────────────────────────────────
   NEXCORE IT — THEME STYLESHEET
   All base styles live here. Page-specific
   styles are enqueued via functions.php.
───────────────────────────────────────────── */

:root {
  --bg-base:        #0B0F1A;
  --bg-surface:     #131929;
  --bg-card:        #1A2235;
  --bg-card-hover:  #1F2940;
  --border:         rgba(255,255,255,0.07);
  --border-accent:  rgba(168,85,247,0.3);
  --text-primary:   #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted:     #64748B;
  --accent:         oklch(65% 0.22 280);
  --accent-dim:     oklch(65% 0.22 280 / 0.15);
  --accent2:        oklch(65% 0.22 200);
  --accent2-dim:    oklch(65% 0.22 200 / 0.12);
  --font-head:      'Barlow', sans-serif;
  --font-body:      'DM Sans', sans-serif;
  --radius:         10px;
  --radius-lg:      16px;
  --container:      1280px;
  --nav-h:          72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-accent); border-radius: 3px; }

/* ─── LAYOUT ─── */
.nc-container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.nc-section    { padding: 100px 0; }
.nc-section-sm { padding: 60px 0; }

/* ─── TYPOGRAPHY ─── */
.nc-section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.nc-section-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--accent); }

.nc-section-title {
  font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--text-primary); text-wrap: pretty;
}
.nc-section-title em { font-style: normal; color: var(--accent); }
.nc-section-body { font-size: 1.05rem; color: var(--text-secondary); max-width: 560px; margin-top: 16px; text-wrap: pretty; }
.nc-section-head { margin-bottom: 60px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--text-primary); }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p  { color: var(--text-secondary); line-height: 1.75; }

/* ─── BUTTONS ─── */
.btn, .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  letter-spacing: 0.03em; padding: 13px 28px; border-radius: 6px;
  transition: all 0.2s ease; white-space: nowrap; cursor: pointer; text-decoration: none;
}
.btn-primary, .wp-block-button.is-style-primary .wp-block-button__link {
  background: var(--accent); color: #fff !important;
  box-shadow: 0 0 24px oklch(65% 0.22 280 / 0.35);
}
.btn-primary:hover { background: oklch(68% 0.22 280); box-shadow: 0 0 36px oklch(65% 0.22 280 / 0.5); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--text-primary) !important;
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--border-accent); color: var(--accent) !important; background: var(--accent-dim); }
.btn-outline {
  background: transparent; color: var(--accent) !important;
  border: 1px solid oklch(65% 0.22 280 / 0.5);
}
.btn-outline:hover { background: var(--accent-dim); border-color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ─── CARDS ─── */
.nc-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; position: relative;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s; overflow: hidden;
}
.nc-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, oklch(65% 0.22 280 / 0.04) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.nc-card:hover { border-color: var(--border-accent); transform: translateY(-3px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.nc-card:hover::before { opacity: 1; }

/* ─── BADGE ─── */
.nc-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-dim); color: var(--accent);
  border: 1px solid oklch(65% 0.22 280 / 0.25);
  font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 100px;
  font-family: var(--font-head); letter-spacing: 0.05em;
}
.nc-badge-cyan {
  background: var(--accent2-dim); color: var(--accent2);
  border-color: oklch(65% 0.22 200 / 0.25);
}

/* ─── DIVIDER ─── */
hr, .nc-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ─── GRID BG ─── */
.nc-grid-bg {
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ─── STATS ─── */
.nc-stat-num { font-family: var(--font-head); font-size: 3rem; font-weight: 900; color: var(--text-primary); letter-spacing: -0.03em; line-height: 1; }
.nc-stat-num span { color: var(--accent); }
.nc-stat-label { font-size: 0.875rem; color: var(--text-secondary); margin-top: 6px; font-weight: 500; }

/* ─── NAV ─── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(11, 15, 26, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
#site-header.scrolled {
  background: rgba(11, 15, 26, 0.95);
  border-bottom-color: var(--border);
}

/* WP admin bar offset */
.admin-bar #site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar #site-header { top: 46px; }
}
.admin-bar .mega-menu { top: calc(var(--nav-h) + 32px); }
@media (max-width: 782px) {
  .admin-bar .mega-menu { top: calc(var(--nav-h) + 46px); }
}

/* Elementor editor: make header static so it doesn't overlap the canvas */
body.elementor-editor-active #site-header,
body.elementor-editor-preview #site-header {
  position: static !important;
  top: auto !important;
}
body.elementor-editor-active .mega-menu,
body.elementor-editor-preview .mega-menu {
  position: absolute !important;
  top: var(--nav-h) !important;
}
#site-header .nc-container {
  height: 100%; display: flex; align-items: center;
}
.site-logo {
  display: flex; align-items: center; gap: 10px; margin-right: auto;
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em;
}
.site-logo .logo-icon {
  width: 32px; height: 32px; border-radius: 8px; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.site-logo .logo-accent { color: var(--accent); }

/* Primary Nav */
#primary-menu-wrapper {
  display: flex; align-items: center; gap: 4px;
}
#primary-menu, #primary-menu ul { list-style: none; margin: 0; padding: 0; }
#primary-menu { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
#primary-menu > li { display: flex; align-items: center; }
#primary-menu > li > a {
  display: block; padding: 8px 14px;
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  color: var(--text-secondary); transition: color 0.2s;
}
#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current-menu-parent > a { color: var(--accent); }

/* Services mega-menu trigger */
#primary-menu > li.menu-item-has-children { position: relative; }
#primary-menu > li.menu-item-has-children > a::after {
  content: '▾'; margin-left: 4px; font-size: 10px;
  display: inline-block; transition: transform 0.2s;
}
#primary-menu > li.menu-item-has-children:hover > a::after { transform: rotate(180deg); }

/* Mega menu */
.mega-menu {
  display: none; position: fixed; left: 0; right: 0;
  top: var(--nav-h); z-index: 999;
  background: rgba(19, 25, 41, 0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 40px 0 48px;
}
#primary-menu > li.menu-item-has-children:hover .mega-menu { display: block; }
.mega-menu-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.mega-menu-item {
  display: flex; flex-direction: column; gap: 10px; padding: 16px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; transition: all 0.2s; text-decoration: none;
}
.mega-menu-item:hover { border-color: var(--border-accent); background: var(--bg-card-hover); }
.mega-menu-item .icon-wrap {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--accent-dim); display: flex; align-items: center; justify-content: center;
  border: 1px solid oklch(65% 0.22 280 / 0.2);
}
.mega-menu-item .icon-wrap.cyan { background: var(--accent2-dim); border-color: oklch(65% 0.22 200 / 0.2); }
.mega-menu-item span { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.mega-menu-footer { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; gap: 16px; align-items: center; }
.mega-menu-footer p { font-size: 13px; color: var(--text-muted); }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 10px; margin-left: 24px; }

/* Mobile toggle */
.menu-toggle {
  display: none; padding: 8px; background: none; border: none;
  color: var(--text-primary); cursor: pointer;
}
.mobile-nav { display: none; }

/* ─── HERO ─── */
.nc-hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding-top: var(--nav-h);
  background: radial-gradient(ellipse 80% 60% at 50% 40%, oklch(65% 0.22 280 / 0.08) 0%, transparent 60%), var(--bg-base);
}
.nc-hero__content { position: relative; z-index: 2; max-width: 780px; padding: 60px 0; }
.nc-hero__eyebrow { margin-bottom: 24px; }
.nc-hero__headline {
  font-family: var(--font-head); font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900; line-height: 1.0; letter-spacing: -0.03em;
  color: var(--text-primary); margin-bottom: 28px; text-wrap: pretty;
}
.nc-hero__headline em { color: var(--accent); font-style: italic; }
.nc-hero__headline .outline-text {
  -webkit-text-stroke: 1px var(--text-primary); -webkit-text-fill-color: transparent;
}
.nc-hero__body { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--text-secondary); max-width: 560px; margin-bottom: 40px; line-height: 1.7; }
.nc-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.nc-hero__trust { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.nc-hero__trust-item {
  display: flex; align-items: center; gap: 7px;
  color: var(--text-muted); font-size: 12px; font-weight: 600;
  font-family: var(--font-head); letter-spacing: 0.04em;
}

/* ─── STATS BAR ─── */
.nc-stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 52px 0;
}
.nc-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.nc-stat-item { text-align: center; }

/* ─── SERVICES ─── */
.nc-services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.nc-service-card { cursor: pointer; }
.nc-service-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-dim); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; border: 1px solid oklch(65% 0.22 280 / 0.2);
}
.nc-service-icon.cyan { background: var(--accent2-dim); border-color: oklch(65% 0.22 200 / 0.2); }
.nc-service-card h3 { font-size: 1rem; margin-bottom: 10px; }
.nc-service-card p { font-size: 0.875rem; line-height: 1.6; }
.nc-service-link { margin-top: 18px; display: flex; align-items: center; gap: 6px; color: var(--accent); font-size: 13px; font-weight: 600; font-family: var(--font-head); }

/* Services sidebar layout */
.nc-services-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.nc-services-sidebar { position: sticky; top: calc(var(--nav-h) + 20px); }
.nc-services-nav-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border-radius: 8px; border: none; cursor: pointer;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  text-align: left; transition: all 0.2s; width: 100%;
  background: transparent; color: var(--text-secondary);
  border-left: 3px solid transparent;
}
.nc-services-nav-item.active, .nc-services-nav-item:hover {
  background: var(--accent-dim); color: var(--accent);
  border-left-color: var(--accent);
}

/* ─── SPLIT SECTION ─── */
.nc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.nc-split-reverse { direction: rtl; }
.nc-split-reverse > * { direction: ltr; }

/* ─── FEATURE LIST ─── */
.nc-feature-item { display: flex; gap: 16px; margin-bottom: 24px; }
.nc-feature-icon {
  width: 40px; height: 40px; border-radius: 8px; background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 1px solid oklch(65% 0.22 280 / 0.2);
}
.nc-feature-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.nc-feature-item p { font-size: 0.875rem; }

/* ─── DASHBOARD WIDGET ─── */
.nc-dashboard {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden;
}
.nc-dashboard-label {
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 20px;
}
.nc-dashboard-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.nc-dashboard-row:last-of-type { border-bottom: none; }
.nc-dashboard-row-label { font-size: 13px; color: var(--text-secondary); }
.nc-dashboard-row-val { font-family: var(--font-head); font-weight: 800; font-size: 1rem; }
.nc-dashboard-row-trend { font-size: 11px; color: var(--text-muted); font-family: var(--font-head); margin-left: 12px; }
.nc-status-pill {
  margin-top: 16px; padding: 14px 16px;
  background: oklch(65% 0.22 200 / 0.07);
  border: 1px solid oklch(65% 0.22 200 / 0.2);
  border-radius: 8px; display: flex; gap: 10px; align-items: center;
}
.nc-status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent2); flex-shrink: 0;
  animation: nc-pulse 1.5s ease-in-out infinite;
}
.nc-status-text { font-size: 12px; color: var(--accent2); font-family: var(--font-head); font-weight: 600; }

/* ─── TESTIMONIALS ─── */
.nc-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nc-testimonial-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.nc-star { width: 16px; height: 16px; fill: oklch(75% 0.18 65); }
.nc-testimonial-quote { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.nc-testimonial-author { display: flex; gap: 12px; align-items: center; }
.nc-testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-accent); font-family: var(--font-head);
  font-weight: 800; font-size: 15px; color: var(--accent); flex-shrink: 0;
}
.nc-testimonial-name { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; }
.nc-testimonial-title { font-size: 0.8rem; color: var(--text-muted); }

/* ─── BLOG ─── */
.nc-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nc-blog-card { cursor: pointer; display: flex; flex-direction: column; }
.nc-blog-thumb {
  height: 160px; border-radius: 8px; overflow: hidden;
  margin-bottom: 18px; border: 1px solid var(--border);
}
.nc-blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nc-blog-meta { display: flex; gap: 14px; font-size: 12px; color: var(--text-muted); padding-top: 12px; border-top: 1px solid var(--border); margin-top: auto; }
.nc-blog-card h3 { font-size: 1.05rem; line-height: 1.35; margin-bottom: 10px; }
.nc-blog-excerpt { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.nc-blog-read-more { color: var(--accent); font-size: 13px; font-weight: 600; font-family: var(--font-head); }

/* Blog single */
.nc-post-header { padding: 80px 0 60px; background: var(--bg-surface); border-bottom: 1px solid var(--border); }
.nc-post-content { max-width: 760px; }
.nc-post-content p { margin-bottom: 20px; }
.nc-post-content h2 { margin: 40px 0 16px; }
.nc-post-content h3 { margin: 32px 0 12px; }
.nc-post-content ul, .nc-post-content ol { padding-left: 24px; margin-bottom: 20px; color: var(--text-secondary); line-height: 1.8; }
.nc-post-content blockquote {
  margin: 32px 0; padding: 24px 28px;
  border-left: 3px solid var(--accent); background: var(--bg-card);
  border-radius: 0 8px 8px 0;
}
.nc-post-content blockquote p { color: var(--text-primary); font-size: 1.1rem; }

/* ─── CASE STUDIES ─── */
.nc-cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.nc-case-tag-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px;
  font-family: var(--font-head);
}
.nc-case-metrics { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.nc-case-metric {
  font-size: 12px; font-weight: 600; padding: 4px 12px;
  border-radius: 100px; font-family: var(--font-head);
  background: var(--accent-dim); color: var(--accent);
  border: 1px solid oklch(65% 0.22 280 / 0.2);
}
.nc-case-metric.cyan {
  background: var(--accent2-dim); color: var(--accent2);
  border-color: oklch(65% 0.22 200 / 0.2);
}

/* ─── CONTACT ─── */
.nc-contact-layout { display: grid; grid-template-columns: 1fr 480px; gap: 60px; align-items: start; }
.nc-contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.nc-contact-icon {
  width: 40px; height: 40px; border-radius: 8px; background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 1px solid oklch(65% 0.22 280 / 0.2);
}
.nc-contact-label { font-family: var(--font-head); font-weight: 600; color: var(--text-primary); font-size: 0.95rem; }
.nc-contact-sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* ─── FORM ─── */
.nc-form { display: flex; flex-direction: column; gap: 16px; }
.nc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nc-label {
  display: block; font-size: 12px; font-weight: 600; font-family: var(--font-head);
  color: var(--text-muted); margin-bottom: 6px; letter-spacing: 0.05em; text-transform: uppercase;
}
.nc-input, .nc-select, .nc-textarea {
  width: 100%; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 16px; color: var(--text-primary);
  font-size: 14px; font-family: var(--font-body); outline: none;
  transition: border-color 0.2s;
}
.nc-input:focus, .nc-select:focus, .nc-textarea:focus { border-color: var(--border-accent); }
.nc-input::placeholder, .nc-textarea::placeholder { color: var(--text-muted); }
.nc-textarea { resize: vertical; min-height: 100px; }
.nc-select { cursor: pointer; }
.nc-form-note { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 4px; }

/* ─── ACCORDION (FAQ) ─── */
.nc-accordion { }
.nc-accordion-item { border-bottom: 1px solid var(--border); }
.nc-accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; font-family: var(--font-head); font-size: 1.05rem; font-weight: 600;
  color: var(--text-primary); cursor: pointer; background: none; border: none;
  text-align: left; gap: 16px; transition: color 0.2s;
}
.nc-accordion-trigger:hover { color: var(--accent); }
.nc-accordion-icon {
  width: 24px; height: 24px; flex-shrink: 0; display: flex; align-items: center;
  justify-content: center; border: 1px solid var(--border); border-radius: 50%;
  transition: all 0.25s; font-size: 16px; line-height: 1;
}
.nc-accordion-item.open .nc-accordion-icon { background: var(--accent); border-color: var(--accent); transform: rotate(45deg); color: #fff; }
.nc-accordion-body { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.nc-accordion-item.open .nc-accordion-body { max-height: 300px; }
.nc-accordion-body p { color: var(--text-secondary); padding-bottom: 22px; line-height: 1.7; }

/* ─── CTA BAND ─── */
.nc-cta-band {
  position: relative; padding: 100px 0; overflow: hidden; text-align: center;
}
.nc-cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, oklch(65% 0.22 280 / 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.nc-cta-band h2 { margin-bottom: 20px; }
.nc-cta-band p { max-width: 500px; margin: 0 auto 40px; font-size: 1.05rem; }
.nc-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── PAGE HEADERS ─── */
.nc-page-header {
  padding: 80px 0 60px;
  background: var(--bg-surface); border-bottom: 1px solid var(--border);
}

/* ─── SOC FEED ─── */
.nc-soc-feed { }
.nc-soc-entry {
  display: flex; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--border); align-items: flex-start;
}
.nc-soc-time { font-family: monospace; font-size: 11px; color: var(--text-muted); flex-shrink: 0; padding-top: 2px; }
.nc-soc-badge {
  font-family: var(--font-head); font-size: 10px; font-weight: 700;
  letter-spacing: 0.05em; padding: 2px 7px; border-radius: 4px; flex-shrink: 0;
}
.nc-soc-badge.info  { background: var(--accent2-dim); color: var(--accent2); }
.nc-soc-badge.warn  { background: oklch(75% 0.18 80 / 0.15); color: oklch(75% 0.18 80); }
.nc-soc-badge.crit  { background: oklch(65% 0.22 20 / 0.15); color: oklch(70% 0.22 20); }
.nc-soc-msg { font-size: 12px; color: var(--text-secondary); }
.nc-soc-live {
  margin-top: 14px; display: flex; align-items: center; gap: 8px;
  color: var(--accent2); font-size: 12px; font-family: var(--font-head); font-weight: 600;
}

/* ─── FOOTER ─── */
#site-footer {
  background: var(--bg-surface); border-top: 1px solid var(--border); padding: 60px 0 32px;
}
.nc-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.nc-footer-brand p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; max-width: 260px; margin: 16px 0 20px; }
.nc-footer-badges { display: flex; gap: 10px; }
.nc-footer-col-title {
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px;
}
.nc-footer-menu { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.nc-footer-menu a { font-size: 13px; color: var(--text-secondary); transition: color 0.2s; }
.nc-footer-menu a:hover { color: var(--accent); }
.nc-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border);
}
.nc-footer-legal { display: flex; gap: 20px; }
.nc-footer-legal a { color: var(--text-muted); transition: color 0.2s; }
.nc-footer-legal a:hover { color: var(--text-primary); }

/* ─── ANIMATIONS ─── */
@keyframes nc-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}
@keyframes nc-pulse-node {
  0%, 100% { opacity: 0.4; transform: scale(1); transform-origin: center; transform-box: fill-box; }
  50%      { opacity: 1;   transform: scale(1.6); transform-origin: center; transform-box: fill-box; }
}

.nc-hero__network {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.45; z-index: 1; pointer-events: none;
}
.nc-hero__glow {
  position: absolute; top: 20%; right: -5%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, oklch(65% 0.22 200 / 0.08) 0%, transparent 70%);
  z-index: 1; pointer-events: none;
}
@keyframes nc-float-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.nc-fade-in { animation: nc-float-up 0.7s ease forwards; }
.nc-delay-1 { animation-delay: 0.1s; opacity: 0; }
.nc-delay-2 { animation-delay: 0.25s; opacity: 0; }
.nc-delay-3 { animation-delay: 0.4s; opacity: 0; }
.nc-delay-4 { animation-delay: 0.6s; opacity: 0; }
.nc-delay-5 { animation-delay: 0.8s; opacity: 0; }

.nc-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.nc-reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── GUTENBERG BLOCK COMPAT ─── */
.wp-block-group { margin: 0; }
.wp-block-image img { border-radius: var(--radius); }
.wp-block-quote {
  border-left: 3px solid var(--accent); padding: 20px 24px;
  background: var(--bg-card); border-radius: 0 8px 8px 0; margin: 32px 0;
}
.wp-block-quote p { color: var(--text-primary); }
.wp-block-quote cite { color: var(--text-muted); font-size: 13px; }
.wp-block-separator { border-color: var(--border); }
.wp-block-code { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 20px; color: var(--accent2); font-size: 14px; }

/* ─── WOOCOMMERCE (optional) ─── */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button {
  background: var(--accent) !important; color: #fff !important;
  border-radius: 6px; font-family: var(--font-head); font-weight: 700;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .nc-split { grid-template-columns: 1fr; gap: 48px; }
  .nc-services-layout { grid-template-columns: 1fr; }
  .nc-services-sidebar { position: static; }
  .nc-cases-grid { grid-template-columns: 1fr; }
  .nc-contact-layout { grid-template-columns: 1fr; }
  .nc-testimonials-grid { grid-template-columns: 1fr 1fr; }
  .nc-blog-grid { grid-template-columns: 1fr 1fr; }
  .nc-footer-grid { grid-template-columns: 1fr 1fr; }
  .nc-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nc-container { padding: 0 20px; }
  .nc-section { padding: 70px 0; }
  #primary-menu-wrapper { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav.open { display: block; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--bg-surface); border-bottom: 1px solid var(--border); padding: 20px; }
  .nc-testimonials-grid { grid-template-columns: 1fr; }
  .nc-blog-grid { grid-template-columns: 1fr; }
  .nc-footer-grid { grid-template-columns: 1fr; }
  .mega-menu-grid { grid-template-columns: repeat(2, 1fr); }
  .nc-form-grid { grid-template-columns: 1fr; }
  .nc-hero__headline { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .nc-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
