/* =========================================================
   NLP Analytics — sistema de marca
   Se carga al final (también vía header.html) para mandar
   sobre Bootstrap y los estilos heredados.
   ========================================================= */

:root {
    --accent: #14B8A6;        /* turquesa: botones y acentos */
    --accent-light: #2DD4BF;  /* turquesa claro: sobre fondos oscuros */
    --accent-dark: #0F766E;   /* turquesa oscuro: texto sobre blanco */
    --accent-soft: #E6F7F5;   /* fondo suave */
    --ink: #0B1220;           /* texto principal / fondos oscuros */
    --ink-2: #111A2B;
    --muted: #5B6472;         /* texto secundario */
    --line: #E3E8EE;
    --soft: #F5F8FA;          /* secciones alternas */
    --radius: 12px;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-head: 'Poppins', 'Inter', sans-serif;
}

/* ---------- Tipografía ---------- */
body {
    font-family: var(--font-body);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .nlp-head {
    font-family: var(--font-head);
    color: inherit;
    letter-spacing: -0.01em;
}

a { color: var(--accent-dark); }
a:hover { color: var(--accent); }

/* ---------- Botones ---------- */
.nlp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 0.98rem;
    padding: 12px 22px;
    border-radius: 8px;
    border: 1.5px solid transparent;
    text-decoration: none;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
    cursor: pointer;
    line-height: 1.2;
}
.nlp-btn:hover { text-decoration: none; transform: translateY(-1px); }

.nlp-btn-primary { background: var(--accent); color: #04211D; }
.nlp-btn-primary:hover { background: var(--accent-light); color: #04211D; }

.nlp-btn-ghost { border-color: var(--accent-light); color: var(--accent-light); background: transparent; }
.nlp-btn-ghost:hover { background: rgba(45, 212, 191, 0.12); color: var(--accent-light); }

.nlp-btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.nlp-btn-outline:hover { background: var(--ink); color: #fff; }

.nlp-btn-whatsapp { background: #25D366; color: #06331A; }
.nlp-btn-whatsapp:hover { background: #3DE07A; color: #06331A; }

/* ---------- Secciones ---------- */
.nlp-section { padding: 80px 0; }
.nlp-section-soft { background: var(--soft); }
.nlp-section-dark { background: var(--ink); color: #fff; }

.nlp-kicker {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 12px;
}
.nlp-section-dark .nlp-kicker, .nlp-hero .nlp-kicker, .nlp-page-hero .nlp-kicker { color: var(--accent-light); }

.nlp-title {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}
.nlp-lead { font-size: 1.1rem; color: var(--muted); max-width: 720px; }
.nlp-section-dark .nlp-lead { color: rgba(255, 255, 255, 0.78); }
.nlp-accent { color: var(--accent-dark); }
.nlp-section-dark .nlp-accent, .nlp-hero .nlp-accent { color: var(--accent-light); }

.nlp-bar { width: 48px; height: 4px; border-radius: 2px; background: var(--accent); margin: 0 0 24px; }

/* ---------- Hero de portada ---------- */
.nlp-hero {
    position: relative;
    min-height: 92vh;
    margin-top: -60px; /* el body tiene padding-top por la barra fija */
    padding: 140px 0 60px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: var(--ink) url('../images/hero-poster.jpg') center/cover no-repeat;
}
.nlp-hero video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}
.nlp-hero::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(5, 8, 14, 0.92) 0%, rgba(5, 8, 14, 0.78) 55%, rgba(5, 8, 14, 0.55) 100%);
    z-index: 1;
}
.nlp-hero .container { position: relative; z-index: 2; }
.nlp-hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 600;
    line-height: 1.12;
    max-width: 820px;
    margin-bottom: 20px;
}
.nlp-hero p.nlp-hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, 0.82); max-width: 640px; margin-bottom: 32px; }
.nlp-hero .nlp-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.nlp-stats {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 40px; /* columnas iguales, como las del fundador */
    margin-top: 56px; padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.nlp-stat b {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--accent-light);
    line-height: 1.1;
}
.nlp-stat span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }

/* En celular no se descarga el video: queda la imagen de fondo */
@media (max-width: 767.98px) {
    .nlp-hero video { display: none; }
    .nlp-hero { min-height: auto; padding: 120px 0 48px; }
    .nlp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
}

/* ---------- Hero de páginas internas ---------- */
.nlp-page-hero {
    position: relative;
    margin-top: -60px;
    padding: 150px 0 70px;
    color: #fff;
    background-color: var(--ink);
    background-size: cover;
    background-position: center;
}
.nlp-page-hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(5, 8, 14, 0.92), rgba(5, 8, 14, 0.7));
}
.nlp-page-hero .container { position: relative; z-index: 1; }
.nlp-page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 600; margin-bottom: 12px; max-width: 760px; }
.nlp-page-hero p { color: rgba(255, 255, 255, 0.8); font-size: 1.1rem; max-width: 680px; margin: 0; }
@media (max-width: 767.98px) { .nlp-page-hero { padding: 120px 0 48px; } }

/* ---------- Tarjetas ---------- */
.nlp-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    height: 100%;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.nlp-card:hover { border-color: rgba(20, 184, 166, 0.5); box-shadow: 0 10px 30px rgba(11, 18, 32, 0.07); transform: translateY(-2px); }
.nlp-card h3 { font-size: 1.2rem; font-weight: 600; margin: 0 0 10px; }
.nlp-card p { color: var(--muted); margin-bottom: 0; }
.nlp-card .nlp-icon { height: 52px; width: auto; margin-bottom: 18px; }
.nlp-section-dark .nlp-card { background: var(--ink-2); border-color: rgba(255, 255, 255, 0.08); }
.nlp-section-dark .nlp-card p { color: rgba(255, 255, 255, 0.72); }

.nlp-quote {
    border-left: 3px solid var(--accent);
    padding: 4px 0 4px 20px;
    height: 100%;
}
.nlp-quote h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 8px; }
.nlp-quote p { color: var(--muted); font-style: italic; margin: 0; }

.nlp-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    margin: 0 6px 6px 0;
}
.nlp-section-dark .nlp-tag { background: rgba(45, 212, 191, 0.14); color: var(--accent-light); }

.nlp-check { list-style: none; padding: 0; margin: 16px 0 0; }
.nlp-check li { position: relative; padding-left: 28px; margin-bottom: 8px; color: var(--ink); }
.nlp-check li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute; left: 0; top: 1px;
    color: var(--accent);
    font-size: 0.9rem;
}
.nlp-section-dark .nlp-check li { color: rgba(255, 255, 255, 0.85); }
.nlp-section-dark .nlp-meta, .nlp-section-dark .text-muted { color: rgba(255, 255, 255, 0.7) !important; }
.nlp-section-dark .nlp-accent { color: var(--accent-light); }

/* Pasos */
.nlp-step-num {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-weight: 600;
    background: var(--accent); color: #04211D;
    margin-bottom: 16px;
}

/* Cifras de casos */
.nlp-metric b {
    display: block;
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-dark);
    line-height: 1.1;
}
.nlp-metric span { font-size: 0.9rem; color: var(--muted); }

/* Credenciales */
.nlp-creds { display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; justify-content: center; }
.nlp-creds span { font-family: var(--font-head); font-weight: 600; color: var(--muted); font-size: 1.02rem; }

/* Logos de comunidades (en blanco sobre fondo oscuro, clicables) */
.nlp-cred-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.nlp-cred-logos img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .75; transition: opacity .2s; }
.nlp-cred-logos a[title="Carruthers and Jackson"] img { height: 62px; filter: none; } /* versión monocromática propia: sin filtro */
.nlp-cred-logos a:hover img { opacity: 1; }
/* Test de madurez */
.nlp-quiz { max-width: 760px; margin: 0 auto; }
.nlp-quiz-progress { height: 8px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.nlp-quiz-progress span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 99px; transition: width .3s; }
.nlp-quiz-step { margin: 12px 0 20px; font-size: 0.9rem; color: var(--muted); }
.nlp-quiz-q { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; line-height: 1.3; margin-bottom: 24px; }
.nlp-quiz-options { display: grid; gap: 12px; }
.nlp-quiz-option { text-align: left; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 1.02rem; color: var(--ink); transition: border-color .2s, background .2s; cursor: pointer; }
.nlp-quiz-option:hover, .nlp-quiz-option:focus { border-color: var(--accent); background: var(--accent-soft); outline: none; }
.nlp-quiz-option.selected { border-color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.nlp-quiz-back { margin-top: 20px; background: none; border: 0; padding: 0; color: var(--muted); font-size: 0.95rem; cursor: pointer; }
.nlp-quiz-back:hover { color: var(--ink); }
.nlp-quiz-score { color: var(--muted); margin-bottom: 16px; }
.nlp-quiz-dims { display: grid; gap: 14px; margin: 28px 0; }
.nlp-quiz-dim-head { display: flex; justify-content: space-between; font-size: 0.95rem; margin-bottom: 6px; }
.nlp-quiz-h3 { font-size: 1.2rem; font-weight: 600; margin: 32px 0 14px; }
.nlp-quiz-recs li { margin-bottom: 10px; }
.nlp-quiz-cta { margin: 32px 0; padding: 24px; background: var(--soft); border-radius: var(--radius); }
.nlp-quiz-form { padding-top: 8px; border-top: 1px solid var(--line); }
.nlp-quiz-link { margin-top: 18px; font-size: 0.98rem; }
.nlp-quiz-link a { color: var(--accent-light); font-weight: 600; }
/* Variante para fondo claro (Nosotros) */
.nlp-cred-label { margin: 28px 0 12px; font-size: 0.85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nlp-founder .nlp-cred-logos-light img { width: auto; border-radius: 0; filter: brightness(0); opacity: .6; }
.nlp-founder .nlp-cred-logos-light a[title="Carruthers and Jackson"] img { filter: none; opacity: .75; }

/* Cita de principios */
.nlp-principles { border-left: 3px solid var(--accent); padding: 8px 0 8px 24px; margin: 28px 0 0; }
.nlp-principles p { font-family: var(--font-head); font-size: 1.15rem; font-weight: 500; color: var(--ink); margin: 0 0 6px; }

/* Banda CTA final */
.nlp-cta-band {
    background: linear-gradient(120deg, #0B1220 0%, #0E2A2B 100%);
    color: #fff;
    border-radius: 20px;
    padding: 56px 40px;
}
.nlp-cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; margin-bottom: 12px; }
.nlp-cta-band p { color: rgba(255, 255, 255, 0.8); margin-bottom: 28px; }
@media (max-width: 767.98px) { .nlp-cta-band { padding: 40px 24px; } }

/* ---------- Paquetes (Servicios) ---------- */
.nlp-package { display: flex; flex-direction: column; }
.nlp-package .nlp-meta { font-size: 0.88rem; color: var(--muted); margin: 6px 0 0; }
.nlp-package .nlp-meta i { color: var(--accent); width: 18px; }
.nlp-package .nlp-btn { margin-top: auto; align-self: flex-start; }
.nlp-package .nlp-check { margin-bottom: 24px; }
.nlp-package.nlp-featured { border: 2px solid var(--accent); position: relative; }
.nlp-featured-badge {
    position: absolute; top: -13px; left: 24px;
    background: var(--accent); color: #04211D;
    font-size: 0.75rem; font-weight: 700;
    padding: 4px 12px; border-radius: 999px;
}

/* ---------- Casos de éxito ---------- */
.nlp-case { padding: 48px 0; border-bottom: 1px solid var(--line); }
.nlp-case:last-child { border-bottom: 0; }
.nlp-case img { width: 100%; height: auto; border-radius: var(--radius); }
.nlp-case h2 { font-size: 1.6rem; font-weight: 600; margin: 8px 0 4px; }
.nlp-case .nlp-client { color: var(--muted); font-weight: 500; margin-bottom: 20px; }
.nlp-case h4 { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); margin: 18px 0 6px; }
.nlp-case p { color: var(--ink); margin: 0; }
.nlp-case .nlp-metrics { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 24px; padding: 20px; background: var(--soft); border-radius: var(--radius); }

/* ---------- Perfil (Nosotros) ---------- */
.nlp-founder img { width: 100%; border-radius: 16px; }
.nlp-tools-title { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.nlp-tools { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: flex-start; justify-content: center; }
.nlp-tools figure { margin: 0; width: 96px; text-align: center; }
.nlp-tools img { height: 44px; width: auto; max-width: 96px; object-fit: contain; filter: grayscale(100%); opacity: .75; transition: filter .2s, opacity .2s; }
.nlp-tools figure:hover img { filter: none; opacity: 1; }
.nlp-tools img.nlp-wordmark { height: 26px; margin: 9px 0; } /* logotipos con texto: mismo peso visual que los íconos */
.nlp-tools figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 10px; line-height: 1.3; }

/* ---------- Formulario ---------- */
.nlp-form label { font-weight: 500; font-size: 0.92rem; margin-bottom: 6px; }
.nlp-form .form-control {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    height: auto;
    font-size: 0.98rem;
}
.nlp-form .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18); }
.nlp-form .nlp-consent { font-size: 0.86rem; color: var(--muted); }
.nlp-form-msg { display: none; border-radius: 8px; padding: 14px 16px; margin-top: 16px; font-weight: 500; }
.nlp-form-msg.ok { display: block; background: var(--accent-soft); color: var(--accent-dark); }
.nlp-form-msg.error { display: block; background: #FDECEC; color: #9B1C1C; }

.nlp-contact-card { background: var(--ink); color: #fff; border-radius: 16px; padding: 32px; }
.nlp-contact-card a { color: var(--accent-light); }
.nlp-contact-card a.nlp-btn-whatsapp, .nlp-contact-card a.nlp-btn-whatsapp:hover { color: #06331A; }
.nlp-booking-link { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.nlp-contact-card p { color: rgba(255, 255, 255, 0.8); }

/* ---------- Barra superior inteligente ---------- */
/* Al hacer scroll: vidrio esmerilado en vez de negro sólido */
.navbar.navbar-scrolled {
    background-color: rgba(11, 18, 32, 0.72);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* Se oculta al bajar y reaparece al subir (lo controla scripts.js) */
.navbar.nlp-nav-hidden { transform: translateY(-100%); }

/* Barra y logo se ajustan juntos: arriba de la página y al hacer scroll */
.navbar { height: 80px; }
.navbar .navbar-brand img { height: 56px; width: auto; transition: height .3s ease; }
.navbar.navbar-scrolled { height: 64px; }
.navbar.navbar-scrolled .navbar-brand img { height: 40px; }
@media (max-width: 991.98px) {
    .navbar { height: 72px; }
    .navbar .navbar-brand img { height: 48px; }
    .navbar.navbar-scrolled { height: 60px; }
    .navbar.navbar-scrolled .navbar-brand img { height: 38px; }
}

/* ---------- Menú: botón WhatsApp ---------- */
.navbar .nlp-nav-wa {
    background: #25D366;
    color: #06331A !important;
    border-radius: 8px;
    padding: 6px 12px !important;
    margin-left: 10px;
    font-weight: 500;          /* mismo peso y tamaño que el resto del menú */
    font-size: inherit;
    line-height: 1.5;
}
.navbar .nlp-nav-wa::before, .navbar .nlp-nav-wa::after { display: none; }
.navbar .nlp-nav-wa:hover { background: #3DE07A; }
.navbar .nav-link { font-family: var(--font-head); font-weight: 500; }
/* En celular y tablet el botón flotante cumple ese rol: se quita del menú desplegable */
@media (max-width: 991.98px) {
    .navbar .nlp-nav-wa-item { display: none; }
}

/* Al saltar a una sección (#ancla), que la barra fija no tape el título */
section[id] { scroll-margin-top: 80px; }

/* Tarjetas clicables */
a.nlp-card-link { display: block; color: inherit; text-decoration: none; position: relative; }
a.nlp-card-link:hover { color: inherit; text-decoration: none; }
a.nlp-card-link .nlp-card { padding-bottom: 48px; }
a.nlp-card-link .nlp-card-arrow {
    position: absolute; right: 24px; bottom: 20px;
    color: var(--accent-dark);
    opacity: .55;
    transition: opacity .2s, transform .2s;
}
a.nlp-card-link:hover .nlp-card-arrow { opacity: 1; transform: translateX(4px); }
a.nlp-card-link:hover .nlp-card { border-color: rgba(20, 184, 166, 0.5); box-shadow: 0 10px 30px rgba(11, 18, 32, 0.07); transform: translateY(-2px); }

/* ---------- Botón flotante de WhatsApp ---------- */
.nlp-wa-float {
    position: fixed;
    right: 18px; bottom: 18px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: transform .2s;
}
.nlp-wa-float:hover { color: #fff; transform: scale(1.06); text-decoration: none; }

/* ---------- Pie de página ---------- */
.nlp-footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); padding: 64px 0 28px; font-size: 0.95rem; text-align: left; }
.nlp-footer h5 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.nlp-footer a { color: rgba(255, 255, 255, 0.78); }
.nlp-footer a:hover { color: var(--accent-light); text-decoration: none; }
.nlp-footer ul { list-style: none; padding: 0; margin: 0; }
.nlp-footer li { margin-bottom: 8px; }
.nlp-footer .nlp-social a { font-size: 1.3rem; margin-right: 16px; }
.nlp-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 40px; padding: 20px 72px 0 0; /* espacio para el botón flotante */ font-size: 0.85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
/* Neutraliza el subrayado animado heredado de los enlaces del menú */
.nlp-footer .nav-link::before, .nlp-footer .nav-link::after { display: none; }

/* ---------- Blog ---------- */
.nlp-post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; color: inherit; text-decoration: none; }
.nlp-post-card:hover { text-decoration: none; color: inherit; }
.nlp-post-card .nlp-post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.nlp-post-card h3 { font-size: 1.15rem; line-height: 1.35; }
.nlp-post-card .nlp-post-meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.nlp-post-card .nlp-read { margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--accent-dark); }

.nlp-cover {
    position: relative;
    height: 190px;
    display: flex; align-items: flex-end;
    padding: 20px 24px;
    color: #fff;
    background: linear-gradient(135deg, #0B1220 0%, #0F3B3A 60%, #14B8A6 140%);
    overflow: hidden;
}
.nlp-cover::before {
    /* trama de puntos tipo "datos" */
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(45, 212, 191, 0.25) 1px, transparent 1px);
    background-size: 16px 16px;
    mask-image: linear-gradient(120deg, transparent 30%, #000 100%);
    -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000 100%);
}
.nlp-cover i { position: absolute; right: 22px; top: 22px; font-size: 2.6rem; color: var(--accent-light); opacity: .9; }
.nlp-cover span { position: relative; font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-light); }
.nlp-cover-img { height: 190px; width: 100%; object-fit: cover; border-bottom: 1px solid var(--line); }
.nlp-cover-img.nlp-cover-contain { object-fit: contain; background: #fff; } /* portadas cuadradas */
.nlp-article-cover { width: 100%; height: auto; border-radius: 12px; margin-bottom: 32px; border: 1px solid var(--line); }

.nlp-newsletter {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
    background: var(--accent-soft); border-radius: 16px; padding: 28px 32px;
}
.nlp-newsletter h3 { font-size: 1.2rem; margin: 0 0 4px; }
.nlp-newsletter p { margin: 0; color: var(--muted); }

/* Artículo */
.nlp-article-hero { padding-bottom: 56px; }
.nlp-article-hero .nlp-post-meta { color: rgba(255, 255, 255, 0.75); margin-top: 16px; font-size: 0.95rem; }
.nlp-article { max-width: 760px; margin: 0 auto; font-size: 1.08rem; line-height: 1.8; }
.nlp-article h2 { font-size: 1.5rem; font-weight: 600; margin: 40px 0 14px; line-height: 1.3; }
.nlp-article h3 { font-size: 1.15rem; font-weight: 600; margin: 28px 0 10px; }
.nlp-article p { margin-bottom: 18px; color: #1f2733; }
.nlp-article ul, .nlp-article ol { margin: 0 0 20px; padding-left: 22px; }
.nlp-article li { margin-bottom: 10px; color: #1f2733; }
.nlp-article blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; margin: 24px 0; color: var(--muted); font-style: italic; }
.nlp-article .nlp-lead-p { font-size: 1.2rem; color: var(--ink); }
.nlp-author { display: flex; gap: 16px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; margin: 40px 0 24px; }
.nlp-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.nlp-author p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.nlp-author strong { color: var(--ink); }
.nlp-share a { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: var(--soft); color: var(--ink); margin-right: 8px; }
.nlp-share a:hover { background: var(--accent); color: #04211D; text-decoration: none; }
.nlp-source { font-size: 0.9rem; color: var(--muted); }

/* ---------- Texto legal ---------- */
.nlp-legal h2 { font-size: 1.3rem; font-weight: 600; margin: 32px 0 10px; }
.nlp-legal p, .nlp-legal li { color: #333; }
