/*
Theme Name: NebuLab SEO
Theme URI: https://nebu-lab.com
Author: NebuLab - Agencia SEO Mexico
Author URI: https://nebu-lab.com
Description: Tema WordPress ultra-optimizado para SEO, velocidad y conversión. Diseñado para posicionar "agencia SEO México" en el #1 de Google. Mobile-first, Core Web Vitals verdes, Schema JSON-LD, GEO-ready.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nebulab-seo
Tags: seo, agency, dark, one-column, custom-menu, featured-images, threaded-comments

NebuLab SEO Theme — Agencia SEO #1 en México
Optimizado para: agencia seo, agencia seo mexico, servicio seo, posicionamiento web
*/

/* ══════════════════════════════════════
   DESIGN SYSTEM — Variables Globales
   ══════════════════════════════════════ */
:root {
  --nl-navy:   #1E1549;
  --nl-coral:  #FF6A5B;
  --nl-cream:  #FAF2E9;
  --nl-white:  #FFFFFF;
  --nl-dark:   #0D0B1E;
  --nl-card:   #16133A;
  --nl-border: #2E2A5A;
  --nl-muted:  rgba(250,242,233,.6);
  --nl-green:  #00E5A0;
  --nl-gold:   #FFD700;
  --nl-font:   'Montserrat', system-ui, -apple-system, sans-serif;
  --nl-max-w:  1200px;
  --nl-rad:    12px;
  --nl-trans:  all .3s cubic-bezier(.4,0,.2,1);
}

/* ══════════════════════════════════════
   RESET + BASE
   ══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--nl-font);
  color: var(--nl-cream);
  background: var(--nl-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--nl-trans); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ══════════════════════════════════════
   TYPOGRAPHY
   ══════════════════════════════════════ */
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); font-weight: 900; line-height: 1.05; color: var(--nl-white); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.9rem); font-weight: 900; line-height: 1.1; color: var(--nl-white); }
h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 800; color: var(--nl-white); line-height: 1.2; }
h4 { font-size: .95rem; font-weight: 700; color: var(--nl-white); }
p  { font-size: .97rem; color: var(--nl-muted); line-height: 1.8; }

/* ══════════════════════════════════════
   LAYOUT UTILITIES
   ══════════════════════════════════════ */
.nl-wrap     { max-width: var(--nl-max-w); margin: 0 auto; padding: 0 24px; }
.nl-wrap-sm  { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.nl-wrap-xs  { max-width: 640px; margin: 0 auto; padding: 0 24px; }
.nl-sec      { padding: 88px 0; }
.nl-sec-sm   { padding: 56px 0; }
.nl-center   { text-align: center; }
.nl-grid-2   { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.nl-grid-3   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nl-grid-4   { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.nl-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--nl-font); font-weight: 800; font-size: .92rem;
  text-transform: uppercase; letter-spacing: .07em;
  padding: 16px 36px; border-radius: 4px; border: none;
  transition: var(--nl-trans); white-space: nowrap;
}
.nl-btn-coral { background: var(--nl-coral); color: #fff; box-shadow: 0 0 28px rgba(255,106,91,.35); }
.nl-btn-coral:hover { background: #e85a4b; transform: translateY(-2px); box-shadow: 0 0 44px rgba(255,106,91,.5); }
.nl-btn-outline { background: transparent; color: var(--nl-cream); border: 1.5px solid rgba(250,242,233,.25); }
.nl-btn-outline:hover { border-color: var(--nl-coral); color: var(--nl-coral); }
.nl-btn-navy { background: var(--nl-navy); color: #fff; border: 1.5px solid var(--nl-border); }
.nl-btn-navy:hover { background: #2a1f6e; transform: translateY(-2px); }
.nl-btn-green { background: var(--nl-green); color: var(--nl-dark); font-weight: 900; }
.nl-btn-green:hover { background: #00cc8e; transform: translateY(-2px); }
.nl-btn-lg { font-size: 1.05rem; padding: 20px 48px; }
.nl-btn-block { display: flex; justify-content: center; }
.nl-btn-full { width: 100%; justify-content: center; }

/* ══════════════════════════════════════
   LABELS / TAGS
   ══════════════════════════════════════ */
.nl-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; color: var(--nl-coral); margin-bottom: 14px;
}
.nl-label::before { content: ''; display: block; width: 18px; height: 2px; background: var(--nl-coral); }

.nl-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; color: var(--nl-coral);
  background: rgba(255,106,91,.1); border-radius: 3px;
  padding: 4px 10px;
}

/* ══════════════════════════════════════
   CARDS
   ══════════════════════════════════════ */
.nl-card {
  background: var(--nl-card); border: 1px solid var(--nl-border);
  border-radius: var(--nl-rad); padding: 28px; transition: var(--nl-trans);
}
.nl-card:hover { border-color: rgba(255,106,91,.4); transform: translateY(-4px); }

/* ══════════════════════════════════════
   HEADER / NAV
   ══════════════════════════════════════ */
.nl-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(13,11,30,.92); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--nl-border);
  transition: background .3s, box-shadow .3s;
}
.nl-header.scrolled {
  background: rgba(13,11,30,.98);
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.nl-header-inner {
  max-width: var(--nl-max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nl-logo { display: flex; align-items: center; gap: 10px; }
.nl-logo img { height: 40px; width: auto; }
.nl-logo-text {
  font-size: 1.3rem; font-weight: 900; color: var(--nl-white);
  letter-spacing: -.02em;
}
.nl-logo-text span { color: var(--nl-coral); }

.nl-nav { display: flex; align-items: center; gap: 6px; }
.nl-nav a {
  padding: 8px 16px; font-size: .82rem; font-weight: 700;
  color: rgba(250,242,233,.7); border-radius: 4px;
  transition: var(--nl-trans);
}
.nl-nav a:hover { color: var(--nl-coral); background: rgba(255,106,91,.08); }
.nl-nav a.active { color: var(--nl-coral); }

.nl-header-cta {
  background: var(--nl-coral); color: #fff; padding: 10px 22px;
  border-radius: 4px; font-size: .8rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  transition: var(--nl-trans); border: none;
}
.nl-header-cta:hover { background: #e85a4b; transform: translateY(-1px); }

/* Mobile Menu Toggle */
.nl-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; cursor: pointer;
}
.nl-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--nl-cream); transition: var(--nl-trans);
}
.nl-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nl-hamburger.active span:nth-child(2) { opacity: 0; }
.nl-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.nl-mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(13,11,30,.98); backdrop-filter: blur(20px);
  z-index: 9998; padding: 40px 24px;
  flex-direction: column; gap: 8px;
  overflow-y: auto;
}
.nl-mobile-nav.open { display: flex; }
.nl-mobile-nav a {
  display: block; padding: 16px 20px; font-size: 1rem; font-weight: 700;
  color: var(--nl-cream); border-bottom: 1px solid var(--nl-border);
  transition: var(--nl-trans);
}
.nl-mobile-nav a:hover { color: var(--nl-coral); padding-left: 28px; }
.nl-mobile-cta {
  display: block; text-align: center; margin-top: 20px;
  background: var(--nl-coral); color: #fff; padding: 18px;
  border-radius: 4px; font-weight: 800; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .06em;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.nl-footer {
  background: var(--nl-dark); border-top: 1px solid var(--nl-border);
  padding: 80px 0 0;
}
.nl-footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 60px;
  border-bottom: 1px solid var(--nl-border);
}
.nl-footer-brand p { font-size: .88rem; color: var(--nl-muted); margin-top: 16px; line-height: 1.7; }
.nl-footer h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--nl-coral); margin-bottom: 20px; }
.nl-footer-links a {
  display: block; padding: 6px 0; font-size: .88rem;
  color: rgba(250,242,233,.55); transition: var(--nl-trans);
}
.nl-footer-links a:hover { color: var(--nl-coral); padding-left: 6px; }

.nl-footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; font-size: .88rem; color: rgba(250,242,233,.55);
}

.nl-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; flex-wrap: wrap; gap: 16px;
}
.nl-footer-copy { font-size: .78rem; color: rgba(250,242,233,.3); }
.nl-footer-social { display: flex; gap: 12px; }
.nl-footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--nl-card); border: 1px solid var(--nl-border);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: var(--nl-trans);
}
.nl-footer-social a:hover { background: var(--nl-coral); border-color: var(--nl-coral); }

/* ══════════════════════════════════════
   PAGE HERO (reusable for service pages)
   ══════════════════════════════════════ */
.nl-page-hero {
  position: relative; padding: 160px 0 80px;
  background: var(--nl-dark); overflow: hidden; text-align: center;
}
.nl-page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255,106,91,.08) 0%, transparent 60%);
  pointer-events: none;
}
.nl-page-hero .nl-wrap { position: relative; z-index: 2; }
.nl-page-hero h1 { margin-bottom: 20px; }
.nl-page-hero p { font-size: 1.1rem; max-width: 600px; margin: 0 auto; color: rgba(250,242,233,.7); }

.nl-breadcrumbs {
  display: flex; justify-content: center; gap: 8px;
  font-size: .78rem; color: rgba(250,242,233,.4); margin-bottom: 24px;
}
.nl-breadcrumbs a { color: rgba(250,242,233,.5); }
.nl-breadcrumbs a:hover { color: var(--nl-coral); }
.nl-breadcrumbs .sep { color: rgba(250,242,233,.2); }

/* ══════════════════════════════════════
   SERVICE PAGE COMPONENTS
   ══════════════════════════════════════ */
.nl-svc-features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--nl-border);
  border-radius: var(--nl-rad); overflow: hidden;
}
.nl-svc-feature {
  background: var(--nl-card); padding: 36px 28px;
  position: relative; overflow: hidden; transition: var(--nl-trans);
}
.nl-svc-feature::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--nl-coral), var(--nl-gold));
  transform: scaleX(0); transform-origin: left; transition: .35s ease;
}
.nl-svc-feature:hover { background: #1a1740; }
.nl-svc-feature:hover::after { transform: scaleX(1); }
.nl-svc-feature-icon { font-size: 2.2rem; display: block; margin-bottom: 14px; }
.nl-svc-feature h3 { margin-bottom: 10px; font-size: 1.1rem; }
.nl-svc-feature p { font-size: .85rem; line-height: 1.7; }

/* Pricing Cards */
.nl-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nl-pricing-card {
  background: var(--nl-card); border: 1px solid var(--nl-border);
  border-radius: var(--nl-rad); padding: 36px; text-align: center;
  transition: var(--nl-trans); position: relative;
}
.nl-pricing-card.featured {
  border-color: var(--nl-coral);
  box-shadow: 0 0 40px rgba(255,106,91,.15);
  transform: scale(1.03);
}
.nl-pricing-card.featured::before {
  content: 'MAS POPULAR'; position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%); background: var(--nl-coral); color: #fff;
  padding: 4px 16px; border-radius: 20px; font-size: .68rem;
  font-weight: 800; letter-spacing: .08em;
}
.nl-pricing-name { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--nl-coral); margin-bottom: 12px; }
.nl-pricing-price { font-size: 2.8rem; font-weight: 900; color: var(--nl-white); line-height: 1; }
.nl-pricing-price span { font-size: .9rem; font-weight: 600; color: var(--nl-muted); }
.nl-pricing-period { font-size: .8rem; color: var(--nl-muted); margin-bottom: 24px; }
.nl-pricing-features { text-align: left; margin-bottom: 28px; }
.nl-pricing-features li {
  padding: 8px 0; font-size: .88rem; color: rgba(250,242,233,.7);
  border-bottom: 1px solid rgba(46,42,90,.5);
  display: flex; align-items: center; gap: 8px;
}
.nl-pricing-features li::before { content: '✓'; color: var(--nl-green); font-weight: 800; font-size: .8rem; }

/* Testimonial */
.nl-testimonial {
  background: var(--nl-card); border: 1px solid var(--nl-border);
  border-radius: var(--nl-rad); padding: 36px; position: relative;
}
.nl-testimonial::before { content: '"'; position: absolute; top: 16px; left: 24px; font-size: 4rem; color: rgba(255,106,91,.15); font-family: Georgia, serif; line-height: 1; }
.nl-testimonial p { font-size: 1rem; color: rgba(250,242,233,.8); font-style: italic; line-height: 1.8; margin-bottom: 16px; padding-left: 10px; }
.nl-testimonial-author { display: flex; align-items: center; gap: 12px; }
.nl-testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--nl-border); }
.nl-testimonial-name { font-size: .88rem; font-weight: 700; color: var(--nl-white); }
.nl-testimonial-role { font-size: .75rem; color: var(--nl-muted); }

/* FAQ */
.nl-faq-item {
  border: 1px solid var(--nl-border); border-radius: var(--nl-rad);
  margin-bottom: 10px; overflow: hidden; transition: border-color .3s;
}
.nl-faq-item.open, .nl-faq-item:hover { border-color: rgba(255,106,91,.4); }
.nl-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 26px; cursor: pointer; background: var(--nl-card);
  gap: 16px; transition: background .3s;
}
.nl-faq-item.open .nl-faq-q { background: rgba(255,106,91,.07); }
.nl-faq-q h3 { font-size: .95rem; font-weight: 700; color: var(--nl-white); margin: 0; line-height: 1.45; }
.nl-faq-toggle {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--nl-border); display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; color: var(--nl-muted);
  flex-shrink: 0; transition: all .3s;
}
.nl-faq-item.open .nl-faq-toggle { background: var(--nl-coral); color: #fff; transform: rotate(45deg); }
.nl-faq-a { display: none; padding: 0 26px 20px; background: var(--nl-card); }
.nl-faq-item.open .nl-faq-a { display: block; }
.nl-faq-a p { font-size: .88rem; color: var(--nl-muted); line-height: 1.8; }

/* CTA Section */
.nl-cta-section {
  background: var(--nl-dark); padding: 100px 0; text-align: center;
  position: relative; overflow: hidden;
}
.nl-cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,106,91,.1) 0%, transparent 65%);
  pointer-events: none;
}
.nl-cta-inner { position: relative; z-index: 2; }
.nl-cta-section h2 { margin-bottom: 16px; }
.nl-cta-section p { color: var(--nl-muted); font-size: 1.05rem; max-width: 540px; margin: 0 auto 40px; }
.nl-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.nl-cta-trust {
  display: flex; gap: 24px; justify-content: center;
  flex-wrap: wrap; margin-top: 28px;
}
.nl-cta-trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: .8rem; color: rgba(250,242,233,.5);
}

/* Contact Form */
.nl-form-group { margin-bottom: 20px; }
.nl-form-label {
  display: block; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--nl-coral); margin-bottom: 8px;
}
.nl-form-input,
.nl-form-textarea,
.nl-form-select {
  width: 100%; padding: 16px 20px; background: var(--nl-card);
  border: 1px solid var(--nl-border); border-radius: 8px;
  color: var(--nl-cream); font-family: var(--nl-font);
  font-size: .95rem; transition: border-color .3s;
  outline: none;
}
.nl-form-input:focus,
.nl-form-textarea:focus,
.nl-form-select:focus { border-color: var(--nl-coral); }
.nl-form-textarea { min-height: 140px; resize: vertical; }

/* ══════════════════════════════════════
   SINGLE POST (dark theme adaptation)
   ══════════════════════════════════════ */
.nl-single-hero {
  position: relative; background: var(--nl-dark);
  padding: 140px 20px 80px; text-align: center;
  color: var(--nl-cream); overflow: hidden;
}
.nl-single-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,11,30,.85) 0%, rgba(13,11,30,.98) 100%);
  z-index: 1;
}
.nl-single-hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.nl-single-h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900;
  line-height: 1.15; margin-bottom: 24px; letter-spacing: -.02em;
  color: var(--nl-white);
}
.nl-meta-bar {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 20px;
  font-size: .9rem; color: rgba(250,242,233,.6);
  background: rgba(255,255,255,.06); padding: 10px 25px;
  border-radius: 50px; backdrop-filter: blur(5px);
  border: 1px solid var(--nl-border);
}
.nl-meta-item { display: flex; align-items: center; gap: 6px; }
.nl-meta-item strong { color: var(--nl-white); }

/* Post Grid */
.nl-post-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 350px;
  gap: 50px; max-width: 1440px;
  margin: 60px auto 0; padding: 0 24px;
  align-items: start; position: relative;
}

/* TOC Sticky */
.nl-toc-col {
  position: sticky; top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto; padding-right: 15px;
  scrollbar-width: thin; scrollbar-color: rgba(250,242,233,.2) transparent;
  z-index: 10; height: fit-content;
}
.nl-toc-title {
  font-size: .75rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--nl-muted); font-weight: 700; margin-bottom: 20px;
  border-bottom: 1px solid var(--nl-border); padding-bottom: 10px;
}
.nl-toc-link {
  display: block; padding: 8px 0 8px 12px; text-decoration: none;
  color: rgba(250,242,233,.5); font-size: .85rem;
  border-left: 2px solid var(--nl-border); margin-left: 1px; line-height: 1.4;
}
.nl-toc-link:hover, .nl-toc-link.active {
  color: var(--nl-coral); border-left-color: var(--nl-coral);
  font-weight: 600; background: rgba(255,106,91,.05);
}

/* Content Column */
.nl-content-col { min-width: 0; }
.nl-entry-content { font-size: 1.1rem; color: rgba(250,242,233,.75); }
.nl-entry-content p { margin-bottom: 1.6em; line-height: 1.85; }
.nl-entry-content a { color: var(--nl-coral); text-decoration: underline; text-underline-offset: 3px; }
.nl-entry-content a:hover { color: var(--nl-gold); }
.nl-entry-content ul, .nl-entry-content ol { margin: 1.5em 0; padding-left: 24px; }
.nl-entry-content li { margin-bottom: .5em; color: rgba(250,242,233,.7); }
.nl-entry-content ul li { list-style: disc; }
.nl-entry-content ol li { list-style: decimal; }
.nl-entry-content blockquote {
  border-left: 4px solid var(--nl-coral); padding: 20px 24px;
  margin: 2em 0; background: rgba(255,106,91,.05);
  border-radius: 0 var(--nl-rad) var(--nl-rad) 0;
  font-style: italic; color: rgba(250,242,233,.8);
}
.nl-entry-content img {
  border-radius: var(--nl-rad); margin: 2em 0;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.nl-entry-content pre {
  background: var(--nl-card); border: 1px solid var(--nl-border);
  border-radius: var(--nl-rad); padding: 20px; overflow-x: auto;
  font-size: .88rem; margin: 1.5em 0;
}
.nl-entry-content code { background: rgba(255,106,91,.1); padding: 2px 6px; border-radius: 3px; font-size: .9em; color: var(--nl-coral); }
.nl-entry-content pre code { background: none; padding: 0; color: var(--nl-cream); }

/* H2 Styled */
h2.nl-custom-h2 {
  position: relative; font-size: 1.7rem; font-weight: 800;
  color: var(--nl-white); margin: 3rem 0 1.5rem;
  padding: 1.4rem 1.8rem; background: var(--nl-card);
  border-left: 5px solid var(--nl-coral);
  border-radius: 0 var(--nl-rad) var(--nl-rad) 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  line-height: 1.3; scroll-margin-top: 100px;
}
h2.nl-custom-h2:first-of-type { margin-top: 1.5rem; }
.nl-entry-content h3 { font-size: 1.35rem; font-weight: 700; margin: 2.5rem 0 1rem; color: var(--nl-white); }

/* Sidebar Sticky */
.nl-sidebar-col {
  position: sticky; top: 100px;
  height: fit-content; z-index: 10;
}
.nl-sidebar-widget {
  background: var(--nl-card); border: 1px solid var(--nl-border);
  border-radius: 16px; padding: 28px; margin-bottom: 24px;
  text-align: center;
}
.nl-author-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 14px;
  border: 3px solid var(--nl-border);
}
.nl-author-name { font-size: 1.15rem; font-weight: 800; margin: 0 0 4px; color: var(--nl-white); }
.nl-author-role { font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--nl-coral); font-weight: 700; margin-bottom: 12px; display: block; }
.nl-author-bio { font-size: .88rem; color: var(--nl-muted); margin-bottom: 16px; line-height: 1.5; }
.nl-btn-profile { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--nl-coral); text-decoration: none; }
.nl-btn-profile:hover { text-decoration: underline; }

.nl-widget-service { border-top: 4px solid var(--nl-coral); transition: transform .3s; }
.nl-widget-service:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.nl-ws-sub { font-size: .72rem; text-transform: uppercase; font-weight: 700; color: rgba(250,242,233,.4); margin-bottom: 8px; display: block; }
.nl-ws-title { font-size: 1.3rem; font-weight: 900; line-height: 1.2; margin: 0 0 12px; color: var(--nl-white); }
.nl-ws-desc { font-size: .9rem; color: rgba(250,242,233,.55); margin-bottom: 20px; }
.nl-btn-service {
  display: block; width: 100%; background: var(--nl-coral); color: #fff;
  text-decoration: none; padding: 14px; border-radius: 50px;
  font-weight: 800; font-size: .95rem; transition: .2s;
  box-shadow: 0 4px 12px rgba(255,106,91,.3); text-align: center;
}
.nl-btn-service:hover { background: #e85a4b; transform: translateY(-2px); }

/* Newsletter (Post) */
.nl-newsletter-post {
  margin: 80px auto 0; padding: 72px 24px;
  background: linear-gradient(135deg, var(--nl-navy) 0%, #2a1f6e 100%);
  color: var(--nl-white); text-align: center;
  position: relative; overflow: hidden;
  border-radius: var(--nl-rad);
  max-width: 1440px;
}
.nl-newsletter-post::before {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(255,106,91,.08); width: 300px; height: 300px;
  top: -100px; right: -50px; pointer-events: none;
}
.nl-nl-container { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.nl-nl-h2 { font-size: clamp(1.8rem, 4vw, 2.2rem); font-weight: 800; margin: 0 0 12px; }
.nl-nl-p { font-size: 1.05rem; opacity: .85; margin-bottom: 32px; line-height: 1.5; }
.nl-nl-form {
  display: flex; gap: 10px; justify-content: center;
  background: rgba(255,255,255,.1); padding: 8px;
  border-radius: 10px; border: 1px solid rgba(255,255,255,.15);
}
.nl-nl-input {
  flex: 1; padding: 14px 20px; border-radius: 6px;
  border: none; font-size: .95rem; outline: none;
  background: #fff; color: var(--nl-dark); min-width: 0;
  font-family: var(--nl-font);
}
.nl-nl-btn {
  background: var(--nl-coral); color: #fff; border: none;
  padding: 14px 28px; border-radius: 6px; font-weight: 800;
  cursor: pointer; font-size: .9rem; transition: .2s;
  white-space: nowrap; font-family: var(--nl-font);
}
.nl-nl-btn:hover { background: #e85a4b; transform: translateY(-1px); }

/* Archive/Blog Grid */
.nl-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nl-post-card {
  background: var(--nl-card); border: 1px solid var(--nl-border);
  border-radius: var(--nl-rad); overflow: hidden; transition: var(--nl-trans);
}
.nl-post-card:hover { transform: translateY(-4px); border-color: rgba(255,106,91,.3); }
.nl-post-thumb {
  height: 200px; background: linear-gradient(135deg, rgba(255,106,91,.2), rgba(30,21,73,.8));
  overflow: hidden; position: relative;
}
.nl-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.nl-post-card:hover .nl-post-thumb img { transform: scale(1.05); }
.nl-post-body { padding: 24px; }
.nl-post-cat {
  font-size: .68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; color: var(--nl-coral); margin-bottom: 8px;
}
.nl-post-card h3 { font-size: .95rem; line-height: 1.4; margin-bottom: 8px; }
.nl-post-card p { font-size: .82rem; color: var(--nl-muted); line-height: 1.6; }
.nl-post-meta {
  display: flex; justify-content: space-between; margin-top: 16px;
  padding-top: 16px; border-top: 1px solid var(--nl-border);
  font-size: .75rem; color: rgba(250,242,233,.35);
}
.nl-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700; color: var(--nl-coral);
  margin-top: 12px; text-transform: uppercase; letter-spacing: .05em;
}
.nl-read-more:hover { gap: 10px; }

/* Pagination */
.nl-pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; margin-top: 60px;
}
.nl-pagination a, .nl-pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 8px;
  font-size: .88rem; font-weight: 700;
  background: var(--nl-card); border: 1px solid var(--nl-border);
  color: var(--nl-cream); transition: var(--nl-trans);
}
.nl-pagination a:hover { border-color: var(--nl-coral); color: var(--nl-coral); }
.nl-pagination .current { background: var(--nl-coral); border-color: var(--nl-coral); color: #fff; }

/* 404 Page */
.nl-404 { text-align: center; padding: 180px 24px 120px; }
.nl-404-big { font-size: clamp(6rem, 15vw, 12rem); font-weight: 900; color: var(--nl-coral); line-height: 1; opacity: .3; }
.nl-404 h1 { font-size: 2rem; margin: 20px 0 12px; }
.nl-404 p { font-size: 1.05rem; max-width: 500px; margin: 0 auto 32px; }

/* ══════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════ */
@keyframes nl-fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.nl-anim { animation: nl-fadeUp .65s ease both; }
.nl-d1 { animation-delay: .1s; } .nl-d2 { animation-delay: .2s; }
.nl-d3 { animation-delay: .3s; } .nl-d4 { animation-delay: .4s; }

@keyframes nl-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.6); opacity: .5; } }
@keyframes nl-blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes nl-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes nl-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes nl-shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes nl-glow { 0%,100% { box-shadow: 0 0 20px rgba(255,106,91,.2); } 50% { box-shadow: 0 0 40px rgba(255,106,91,.5); } }

/* Lead Capture Styles */
.nl-lead-bar {
  background: linear-gradient(135deg, var(--nl-coral) 0%, #e85a4b 100%);
  padding: 36px 0; position: relative; overflow: hidden;
}
.nl-lead-bar::after {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.06); pointer-events: none;
}
.nl-lead-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}

.nl-phone-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--nl-coral); font-weight: 800; font-size: 1.1rem;
  transition: var(--nl-trans);
}
.nl-phone-link:hover { color: var(--nl-gold); }
.nl-phone-link svg { flex-shrink: 0; }

/* Floating CTA Pill */
.nl-sticky-cta {
  position: fixed; bottom: 24px; left: 24px; z-index: 9989;
  background: var(--nl-card); border: 1px solid var(--nl-border);
  border-radius: 50px; padding: 12px 24px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  font-size: .82rem; font-weight: 700; color: var(--nl-cream);
  transition: var(--nl-trans); animation: nl-float 3s ease infinite;
}
.nl-sticky-cta:hover { border-color: var(--nl-coral); transform: translateY(-2px); }
.nl-sticky-cta .nl-pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--nl-green); animation: nl-pulse 2s infinite;
}

/* Icon circles */
.nl-icon-circle {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(255,106,91,.1); border: 1px solid rgba(255,106,91,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--nl-trans);
}
.nl-icon-circle:hover { background: rgba(255,106,91,.2); transform: scale(1.05); }
.nl-icon-circle svg { width: 24px; height: 24px; stroke: var(--nl-coral); fill: none; stroke-width: 2; }

/* Gradient text */
.nl-gradient-text {
  background: linear-gradient(135deg, var(--nl-coral), var(--nl-gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Stats counter card */
.nl-stat-card {
  background: var(--nl-card); border: 1px solid var(--nl-border);
  border-radius: var(--nl-rad); padding: 24px; text-align: center;
  transition: var(--nl-trans); position: relative; overflow: hidden;
}
.nl-stat-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--nl-coral), var(--nl-gold));
}
.nl-stat-card:hover { transform: translateY(-4px); border-color: rgba(255,106,91,.4); }
.nl-stat-card .nl-stat-num {
  font-size: 2.4rem; font-weight: 900; line-height: 1;
  margin-bottom: 4px;
}

/* Trust badge row */
.nl-trust-row {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center; margin-top: 20px;
}
.nl-trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700; color: rgba(250,242,233,.6);
  background: rgba(255,255,255,.04); border: 1px solid var(--nl-border);
  border-radius: 50px; padding: 8px 16px;
}
.nl-trust-badge svg { width: 14px; height: 14px; stroke: var(--nl-green); fill: none; stroke-width: 2.5; }

/* Inline form (lead capture) */
.nl-inline-form {
  display: flex; gap: 10px; max-width: 500px;
  background: rgba(255,255,255,.08); padding: 6px;
  border-radius: 8px; border: 1px solid var(--nl-border);
}
.nl-inline-form input {
  flex: 1; padding: 14px 18px; background: var(--nl-card);
  border: 1px solid var(--nl-border); border-radius: 6px;
  color: var(--nl-cream); font-family: var(--nl-font); font-size: .9rem;
  outline: none; min-width: 0;
}
.nl-inline-form input:focus { border-color: var(--nl-coral); }
.nl-inline-form button {
  background: var(--nl-coral); color: #fff; border: none;
  padding: 14px 24px; border-radius: 6px; font-weight: 800;
  font-size: .85rem; cursor: pointer; transition: .2s;
  white-space: nowrap; font-family: var(--nl-font);
}
.nl-inline-form button:hover { background: #e85a4b; }

/* Comparison table */
.nl-compare-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.nl-compare-table th {
  background: var(--nl-card); padding: 14px 18px; text-align: left;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--nl-coral); border-bottom: 2px solid var(--nl-border);
}
.nl-compare-table td {
  padding: 12px 18px; border-bottom: 1px solid var(--nl-border);
  font-size: .88rem; color: rgba(250,242,233,.75);
}
.nl-compare-table tr:hover td { background: rgba(255,106,91,.03); }

/* Mini hero visual shapes (decorative) */
.nl-shape-1 {
  position: absolute; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(255,106,91,.06);
  filter: blur(60px); pointer-events: none; z-index: 0;
}
.nl-shape-2 {
  position: absolute; width: 300px; height: 300px;
  border-radius: 50%; background: rgba(30,21,73,.4);
  filter: blur(80px); pointer-events: none; z-index: 0;
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   ══════════════════════════════════════ */
@media (max-width: 1200px) {
  .nl-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 1150px) {
  .nl-post-grid { grid-template-columns: 240px 1fr; gap: 30px; }
  .nl-sidebar-col { display: none; }
}
@media (max-width: 1024px) {
  .nl-grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .nl-grid-3, .nl-svc-features { grid-template-columns: 1fr 1fr; }
  .nl-grid-4 { grid-template-columns: 1fr 1fr; }
  .nl-pricing-grid { grid-template-columns: 1fr 1fr; }
  .nl-blog-grid { grid-template-columns: 1fr 1fr; }
  .nl-nav { display: none; }
  .nl-hamburger { display: flex; }
}
@media (max-width: 900px) {
  .nl-post-grid { grid-template-columns: 1fr; display: flex; flex-direction: column; }
  .nl-toc-col { display: none; }
  .nl-sidebar-col { display: block; width: 100%; order: 3; margin-top: 40px; }
  .nl-single-hero { padding: 100px 20px 60px; }
  .nl-single-h1 { font-size: 2rem; }
  h2.nl-custom-h2 { font-size: 1.4rem; padding: 1.1rem; border-left-width: 4px; }
}
@media (max-width: 768px) {
  .nl-sec { padding: 60px 0; }
  .nl-grid-3, .nl-svc-features { grid-template-columns: 1fr; }
  .nl-pricing-grid { grid-template-columns: 1fr; }
  .nl-pricing-card.featured { transform: none; }
  .nl-blog-grid { grid-template-columns: 1fr; }
  .nl-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nl-footer-bottom { flex-direction: column; text-align: center; }
  .nl-btn { width: 100%; justify-content: center; }
  .nl-cta-btns { flex-direction: column; align-items: center; }
  .nl-page-hero { padding: 120px 0 60px; }
  .nl-nl-form { flex-direction: column; padding: 0; background: transparent; border: none; }
  .nl-nl-input { width: 100%; padding: 16px; }
  .nl-nl-btn { width: 100%; padding: 16px; }
  .nl-newsletter-post { border-radius: 0; margin: 60px -24px 0; padding: 56px 24px; }
}
@media (max-width: 480px) {
  .nl-grid-4 { grid-template-columns: 1fr; }
  .nl-meta-bar { flex-direction: column; gap: 8px; }
  .nl-breadcrumbs { flex-wrap: wrap; justify-content: center; }
}
