/* =========================================
   RESET Y BASE (global — landing + blog)
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0f172a;
  background: #f8fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================================
   NAVBAR BASE (global — landing + blog)
   ========================================= */
.navbar {
  background: #0f172a;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #1e293b;
}

.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-logo-box {
  background: #2563eb;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.navbar-name {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.navbar-sub {
  font-size: 11px;
  color: #475569;
  margin-top: 1px;
}

.navbar-links {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: center;
}

.navbar-links a {
  color: #94a3b8;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.navbar-links a:hover { color: #fff; }

.btn-nav {
  background: #2563eb;
  color: #fff;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-nav:hover { background: #1d4ed8; }

@media (max-width: 768px) { .navbar-links { display: none; } }

/* =========================================
   LANDING — TEMA OSCURO PREMIUM
   Todos los selectores bajo .landing-page
   ========================================= */

.landing-page {
  background: #05090f;
  color: #e2e8f0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "cv02","cv03","cv04","cv11";
}

.landing-page {
  --lp-bg:           #05090f;
  --lp-bg-card:      rgba(255,255,255,0.04);
  --lp-bg-card-h:    rgba(255,255,255,0.07);
  --lp-border:       rgba(255,255,255,0.08);
  --lp-border-h:     rgba(59,130,246,0.45);
  --lp-text:         #e2e8f0;
  --lp-muted:        #94a3b8;
  --lp-dim:          #64748b;
  --lp-blue:         #3b82f6;
  --lp-blue-l:       #60a5fa;
  --lp-cyan:         #06b6d4;
  --lp-purple:       #8b5cf6;
  --lp-green:        #22c55e;
}

/* ─────────────────────────────────────────
   KEYFRAMES — todas las animaciones
   ───────────────────────────────────────── */

/* Aurora orbs */
@keyframes aurora-1 {
  0%,100% { transform: translate(0,0) scale(1); }
  20%  { transform: translate(90px,-60px) scale(1.18); }
  50%  { transform: translate(55px,90px) scale(0.88); }
  75%  { transform: translate(-50px,30px) scale(1.12); }
}
@keyframes aurora-2 {
  0%,100% { transform: translate(0,0) scale(1); }
  30%  { transform: translate(-80px,70px) scale(1.1); }
  65%  { transform: translate(65px,-55px) scale(0.85); }
}
@keyframes aurora-3 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%  { transform: translate(70px,-45px) scale(1.22); }
  80%  { transform: translate(-35px,60px) scale(0.82); }
}

/* Grid drift sutil */
@keyframes grid-drift {
  0%,100% { background-position: 0 0; }
  50%      { background-position: 30px 30px; }
}

/* Badge dot pulse */
@keyframes dot-pulse {
  0%,100% { opacity:1; box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%      { opacity:0.5; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* CTA button glow */
@keyframes btn-glow {
  0%,100% { box-shadow: 0 0 18px rgba(59,130,246,0.28); }
  50%      { box-shadow: 0 0 36px rgba(59,130,246,0.55), 0 0 72px rgba(59,130,246,0.12); }
}

/* Shimmer on form card border */
@keyframes border-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Reveal on scroll */
@keyframes reveal-up {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}

/* Floating badge */
@keyframes badge-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* Scan line across hero */
@keyframes scan {
  0%   { top: -2px; opacity:0; }
  4%   { opacity:1; }
  96%  { opacity:1; }
  100% { top: 100%; opacity:0; }
}

/* Light beams */
@keyframes beam-drift-1 {
  0%,100% { transform: rotate(-2deg) translateY(0) scaleX(1); opacity: 0.55; }
  28%  { transform: rotate(0.8deg) translateY(-32px) scaleX(1.06); opacity: 0.90; }
  60%  { transform: rotate(-2.5deg) translateY(18px) scaleX(0.96); opacity: 0.45; }
}
@keyframes beam-drift-2 {
  0%,100% { transform: rotate(1.2deg) translateY(0); opacity: 0.45; }
  35%  { transform: rotate(-0.8deg) translateY(28px); opacity: 0.78; }
  70%  { transform: rotate(2.2deg) translateY(-18px); opacity: 0.38; }
}
@keyframes beam-drift-3 {
  0%,100% { transform: rotate(-0.5deg) translateY(0); opacity: 0.35; }
  45%  { transform: rotate(1.8deg) translateY(-24px); opacity: 0.65; }
}

/* Dynamic glow */
@keyframes dyn-glow {
  0%,100% { transform: translate(0,0) scale(1); opacity: 0.80; }
  30%  { transform: translate(-45px,35px) scale(1.18); opacity: 1; }
  65%  { transform: translate(32px,-22px) scale(0.88); opacity: 0.68; }
}

/* Core rings */
@keyframes ring-rotate-cw  { from { transform: rotate(0deg); }   to { transform: rotate(360deg); } }
@keyframes ring-rotate-ccw { from { transform: rotate(0deg); }   to { transform: rotate(-360deg); } }

/* Core sphere pulse */
@keyframes core-sph-pulse {
  0%,100% { transform: scale(1); opacity: 0.92; }
  50%      { transform: scale(1.14); opacity: 1; }
}

/* Core ring pulse */
@keyframes core-ring-expand {
  0%,100% { transform: scale(1); opacity: 0.65; }
  50%      { transform: scale(1.22); opacity: 0.30; }
}

/* ─────────────────────────────────────────
   REVEAL — fade-in on scroll
   ───────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s cubic-bezier(.22,.61,.36,1),
              transform 0.65s cubic-bezier(.22,.61,.36,1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────
   NAVBAR — landing override
   ───────────────────────────────────────── */
.landing-page .navbar {
  background: rgba(5,9,15,0.88);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.landing-page .navbar-inner {
  max-width: 1200px;
  padding: 15px 28px;
}

.landing-page .navbar-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.landing-page .navbar-sub {
  font-size: 10.5px;
  color: var(--lp-dim);
}

.landing-page .navbar-links { gap: 30px; }

.landing-page .navbar-links a {
  color: var(--lp-muted);
  font-size: 13.5px;
  font-weight: 450;
  letter-spacing: 0.01em;
}

.landing-page .navbar-links a:hover { color: #fff; }

.landing-page .btn-nav {
  background: var(--lp-blue);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 8px;
  transition: background 0.2s, box-shadow 0.2s;
}

.landing-page .btn-nav:hover {
  background: #2563eb;
  box-shadow: 0 0 22px rgba(59,130,246,0.38);
}

/* Mobile toggle */
.landing-page .navbar-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.landing-page .navbar-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--lp-muted);
  border-radius: 2px;
}

.landing-page .navbar-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 20px 20px;
  gap: 4px;
  border-top: 1px solid var(--lp-border);
}

.landing-page .navbar-mobile-menu a {
  color: var(--lp-muted);
  font-size: 14px;
  text-decoration: none;
  padding: 10px 4px;
  border-bottom: 1px solid var(--lp-border);
  transition: color 0.2s;
}

.landing-page .navbar-mobile-menu a:last-child {
  border-bottom: none;
  margin-top: 8px;
  text-align: center;
}

.landing-page .navbar-mobile-menu a:hover { color: #fff; }

.landing-page .navbar.mobile-open .navbar-mobile-menu { display: flex; }

/* ─────────────────────────────────────────
   HERO
   ───────────────────────────────────────── */
.landing-page .hero {
  background: var(--lp-bg);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Scan line decorativa */
.landing-page .hero::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(59,130,246,0.25) 30%, rgba(139,92,246,0.25) 70%, transparent 100%);
  animation: scan 12s linear infinite;
  pointer-events: none;
  z-index: 2;
}

/* Canvas de partículas */
.landing-page .hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Aurora orbs */
.landing-page .hero-aurora {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.landing-page .hero-aurora-1 {
  width: 700px;
  height: 580px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.16) 0%, transparent 68%);
  top: -180px;
  left: -120px;
  filter: blur(80px);
  animation: aurora-1 20s ease-in-out infinite;
}

.landing-page .hero-aurora-2 {
  width: 560px;
  height: 560px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.14) 0%, transparent 68%);
  top: 60px;
  right: -80px;
  filter: blur(90px);
  animation: aurora-2 26s ease-in-out infinite;
}

.landing-page .hero-aurora-3 {
  width: 420px;
  height: 420px;
  background: radial-gradient(ellipse, rgba(6,182,212,0.10) 0%, transparent 68%);
  bottom: -60px;
  left: 38%;
  filter: blur(70px);
  animation: aurora-3 18s ease-in-out infinite;
}

/* Grid overlay */
.landing-page .hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: grid-drift 40s linear infinite;
  pointer-events: none;
  z-index: 1;
}

/* ── Capa 3: Light beams ── */
.landing-page .hero-beam {
  position: absolute;
  width: 130%;
  left: -15%;
  pointer-events: none;
  border-radius: 4px;
}

.landing-page .hero-beam-1 {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(59,130,246,0.30) 30%, rgba(99,102,241,0.24) 65%, transparent 100%);
  top: 28%;
  filter: blur(2px);
  z-index: 2;
  animation: beam-drift-1 22s ease-in-out infinite;
}

.landing-page .hero-beam-2 {
  height: 3px;
  background: linear-gradient(90deg, transparent 5%, rgba(139,92,246,0.22) 35%, rgba(59,130,246,0.18) 68%, transparent 95%);
  top: 52%;
  filter: blur(3px);
  z-index: 2;
  animation: beam-drift-2 30s ease-in-out infinite;
}

.landing-page .hero-beam-3 {
  height: 1.5px;
  background: linear-gradient(90deg, transparent 10%, rgba(6,182,212,0.16) 40%, rgba(59,130,246,0.14) 62%, transparent 90%);
  top: 72%;
  filter: blur(2px);
  z-index: 2;
  animation: beam-drift-3 19s ease-in-out infinite;
}

/* ── Capa 4: Glow dinámico ── */
.landing-page .hero-dynamic-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(59,130,246,0.24) 0%, rgba(139,92,246,0.12) 45%, transparent 70%);
  filter: blur(50px);
  right: 8%;
  top: 15%;
  z-index: 3;
  pointer-events: none;
  animation: dyn-glow 17s ease-in-out infinite;
}

/* ── Capa 5: Núcleo tecnológico ── */
.landing-page .hero-core-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.landing-page .hero-core-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Ring animations — transform-box: fill-box para SVG */
.landing-page .hero-core-svg .ring-r1 {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: ring-rotate-cw 52s linear infinite;
}

.landing-page .hero-core-svg .ring-r2 {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: ring-rotate-ccw 30s linear infinite;
}

.landing-page .hero-core-svg .ring-r3 {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: ring-rotate-cw 15s linear infinite;
}

.landing-page .hero-core-svg .core-sphere {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: core-sph-pulse 4.5s ease-in-out infinite;
}

.landing-page .hero-core-svg .core-ring-pulse {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: core-ring-expand 4.5s ease-in-out infinite;
}

/* Contenido hero */
.landing-page .hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 76px 28px 88px;
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 3;
}

/* Badge */
.landing-page .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(59,130,246,0.09);
  color: var(--lp-blue-l);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid rgba(59,130,246,0.22);
  margin-bottom: 26px;
  letter-spacing: 0.025em;
  animation: badge-float 5s ease-in-out infinite;
}

.landing-page .hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--lp-green);
  border-radius: 50%;
  animation: dot-pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

/* H1 — tipografía premium */
.landing-page .hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
  font-feature-settings: "cv02","cv03","cv04","cv11";
}

.landing-page .hero .hero-accent {
  background: linear-gradient(135deg, #3b82f6 0%, #818cf8 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtítulo */
.landing-page .hero-sub {
  font-size: 16px;
  color: var(--lp-muted);
  line-height: 1.78;
  margin-bottom: 38px;
  max-width: 510px;
  font-weight: 400;
}

/* Botones */
.landing-page .hero-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.landing-page .btn-primary {
  background: var(--lp-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.18s;
  animation: btn-glow 4s ease-in-out infinite;
  letter-spacing: -0.01em;
}

.landing-page .btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  animation: none;
  box-shadow: 0 0 36px rgba(59,130,246,0.5);
}

.landing-page .btn-primary.btn-lg {
  padding: 15px 34px;
  font-size: 15px;
}

.landing-page .btn-outline {
  background: transparent;
  color: var(--lp-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  letter-spacing: -0.005em;
}

.landing-page .btn-outline:hover {
  border-color: rgba(255,255,255,0.24);
  color: #fff;
  background: rgba(255,255,255,0.04);
}

/* Trust items */
.landing-page .hero-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.landing-page .trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--lp-dim);
  font-weight: 450;
}

.landing-page .trust-item svg { color: var(--lp-green); flex-shrink: 0; }

/* Formulario hero */
.landing-page .hero-right {
  position: sticky;
  top: 84px;
  overflow: visible;
}

.landing-page .hero-form-card {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 28px 70px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.09),
    0 0 0 1px rgba(59,130,246,0.06);
  position: relative;
}

.landing-page .hero-form-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 19px;
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(139,92,246,0.12), rgba(6,182,212,0.08));
  background-size: 300% 300%;
  animation: border-shimmer 8s ease infinite;
  z-index: -1;
  pointer-events: none;
}

.landing-page .form-card-header { margin-bottom: 20px; }

.landing-page .form-card-title {
  font-size: 17.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
  letter-spacing: -0.02em;
}

.landing-page .form-card-sub {
  font-size: 13px;
  color: var(--lp-muted);
  line-height: 1.55;
}

.landing-page .form-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.landing-page .form-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(59,130,246,0.09);
  color: var(--lp-blue-l);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(59,130,246,0.18);
}

.landing-page .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.landing-page .form-field { display: flex; flex-direction: column; gap: 5px; }

.landing-page .form-field label,
.landing-page .form-field-full label {
  font-size: 11.5px;
  color: var(--lp-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.landing-page .form-field input,
.landing-page .form-field-full select {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px;
  padding: 10px 13px;
  font-size: 13.5px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
  font-family: inherit;
}

.landing-page .form-field input::placeholder { color: var(--lp-dim); }

.landing-page .form-field input:focus,
.landing-page .form-field-full select:focus {
  border-color: var(--lp-blue);
  background: rgba(59,130,246,0.07);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

.landing-page .form-field-full select {
  color: var(--lp-muted);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
}

.landing-page .form-field-full select option { background: #0f172a; color: #e2e8f0; }
.landing-page .form-field-full { margin-bottom: 10px; }

.landing-page .btn-form-submit {
  width: 100%;
  background: var(--lp-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 13px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  margin-top: 6px;
  font-family: inherit;
  letter-spacing: -0.01em;
}

.landing-page .btn-form-submit:hover {
  background: #2563eb;
  box-shadow: 0 0 28px rgba(59,130,246,0.4);
  transform: translateY(-1px);
}

.landing-page .form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  color: var(--lp-dim);
  margin-top: 12px;
}

.landing-page .form-error {
  font-size: 11px;
  color: #f87171;
  margin-top: 2px;
}

.landing-page .form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(34,197,94,0.09);
  border: 1px solid rgba(34,197,94,0.22);
  border-radius: 10px;
  padding: 16px;
  font-size: 14px;
  color: #4ade80;
  margin-top: 8px;
}

/* ─────────────────────────────────────────
   TECH TRUST BAR
   ───────────────────────────────────────── */
.landing-page .trust-logos-bar {
  background: rgba(255,255,255,0.018);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}

.landing-page .trust-logos-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.landing-page .trust-logos-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--lp-dim);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  white-space: nowrap;
  flex-shrink: 0;
}

.landing-page .trust-logos-list {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.landing-page .tech-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--lp-dim);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.22s;
  letter-spacing: -0.005em;
}

.landing-page .tech-logo:hover { color: var(--lp-muted); }

/* ─────────────────────────────────────────
   STATS / PRUEBA SOCIAL
   ───────────────────────────────────────── */
.landing-page .social-proof {
  background: rgba(255,255,255,0.018);
  border-bottom: 1px solid var(--lp-border);
}

.landing-page .social-proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 28px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.landing-page .proof-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.landing-page .proof-icon {
  width: 42px;
  height: 42px;
  background: rgba(59,130,246,0.09);
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lp-blue);
  margin-bottom: 2px;
}

.landing-page .proof-num {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.045em;
  line-height: 1;
}

.landing-page .proof-label {
  font-size: 12px;
  color: var(--lp-muted);
  font-weight: 450;
}

.landing-page .proof-divider {
  width: 1px;
  height: 64px;
  background: var(--lp-border);
}

/* ─────────────────────────────────────────
   SECCIONES GENÉRICAS
   ───────────────────────────────────────── */
.landing-page .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 28px;
}

.landing-page .section-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--lp-blue);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  margin-bottom: 14px;
}

.landing-page .section-title {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.landing-page .section-sub {
  font-size: 15.5px;
  color: var(--lp-muted);
  margin-bottom: 52px;
  line-height: 1.75;
  max-width: 560px;
  font-weight: 400;
}

/* ─────────────────────────────────────────
   PROBLEMA / SOLUCIÓN
   ───────────────────────────────────────── */
.landing-page .problem-solution {
  background: rgba(255,255,255,0.012);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}

.landing-page .problem-solution-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.landing-page .problem-col .section-sub,
.landing-page .solution-col .section-sub { margin-bottom: 32px; }

.landing-page .problem-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.landing-page .problem-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(248,113,113,0.04);
  border: 1px solid rgba(248,113,113,0.12);
  border-radius: 13px;
  padding: 18px 20px;
  transition: border-color 0.25s, background 0.25s;
}

.landing-page .problem-card:hover {
  border-color: rgba(248,113,113,0.28);
  background: rgba(248,113,113,0.07);
}

.landing-page .problem-icon {
  width: 38px;
  height: 38px;
  background: rgba(248,113,113,0.1);
  border: 1px solid rgba(248,113,113,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f87171;
  flex-shrink: 0;
}

.landing-page .problem-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.landing-page .problem-desc {
  font-size: 13px;
  color: var(--lp-muted);
  line-height: 1.6;
}

.landing-page .solution-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.landing-page .solution-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(59,130,246,0.04);
  border: 1px solid rgba(59,130,246,0.12);
  border-radius: 13px;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}

.landing-page .solution-item:hover {
  border-color: rgba(59,130,246,0.35);
  background: rgba(59,130,246,0.08);
  transform: translateX(4px);
}

.landing-page .solution-icon {
  width: 36px;
  height: 36px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lp-blue);
  flex-shrink: 0;
}

.landing-page .solution-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.landing-page .solution-desc {
  font-size: 13px;
  color: var(--lp-muted);
  line-height: 1.6;
}

.landing-page .solution-cta { padding-top: 8px; }

/* ─────────────────────────────────────────
   SERVICIOS
   ───────────────────────────────────────── */
.landing-page .services {
  background: rgba(255,255,255,0.012);
  border-bottom: 1px solid var(--lp-border);
}

.landing-page .services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.landing-page .service-card {
  background: var(--lp-bg-card);
  border-radius: 16px;
  padding: 28px 26px;
  border: 1px solid var(--lp-border);
  transition: border-color 0.28s, background 0.28s, transform 0.22s, box-shadow 0.28s;
  position: relative;
  overflow: hidden;
}

.landing-page .service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.28s;
  pointer-events: none;
}

.landing-page .service-card:hover {
  border-color: rgba(59,130,246,0.4);
  background: var(--lp-bg-card-h);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(59,130,246,0.12);
}

.landing-page .service-card:hover::after { opacity: 1; }

.landing-page .service-icon {
  width: 44px;
  height: 44px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--lp-blue);
  transition: background 0.22s, border-color 0.22s, box-shadow 0.22s;
  position: relative;
  z-index: 1;
}

.landing-page .service-card:hover .service-icon {
  background: rgba(59,130,246,0.18);
  border-color: rgba(59,130,246,0.45);
  box-shadow: 0 0 20px rgba(59,130,246,0.25);
}

.landing-page .service-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 9px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.landing-page .service-desc {
  font-size: 13.5px;
  color: var(--lp-muted);
  line-height: 1.72;
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────
   METODOLOGÍA
   ───────────────────────────────────────── */
.landing-page .metodologia {
  background: var(--lp-bg);
  border-bottom: 1px solid var(--lp-border);
}

.landing-page .metodologia-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
}

.landing-page .metodo-card {
  background: var(--lp-bg-card);
  border-radius: 16px;
  padding: 30px 24px;
  border: 1px solid var(--lp-border);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.landing-page .metodo-card:hover {
  border-color: var(--lp-border-h);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.landing-page .metodo-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, rgba(59,130,246,0.35), rgba(139,92,246,0.35));
  align-self: center;
  flex-shrink: 0;
}

.landing-page .metodo-num {
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(59,130,246,0.45) 0%, rgba(139,92,246,0.45) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.landing-page .metodo-name {
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 9px;
  letter-spacing: -0.02em;
}

.landing-page .metodo-desc {
  font-size: 13.5px;
  color: var(--lp-muted);
  line-height: 1.68;
}

/* ─────────────────────────────────────────
   TESTIMONIOS
   ───────────────────────────────────────── */
.landing-page .testimonials {
  background: rgba(255,255,255,0.012);
  border-bottom: 1px solid var(--lp-border);
}

.landing-page .testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.landing-page .testimonial-card {
  background: var(--lp-bg-card);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--lp-border);
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.landing-page .testimonial-card:hover {
  border-color: rgba(255,255,255,0.13);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}

.landing-page .testimonial-quote {
  font-size: 52px;
  line-height: 0.8;
  color: rgba(59,130,246,0.22);
  font-family: Georgia, serif;
  margin-bottom: 6px;
  font-weight: 700;
}

.landing-page .stars {
  color: #fbbf24;
  font-size: 13px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.landing-page .testimonial-text {
  font-size: 14.5px;
  color: var(--lp-muted);
  line-height: 1.82;
  margin-bottom: 22px;
  font-weight: 400;
}

.landing-page .testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--lp-border);
}

.landing-page .author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(59,130,246,0.14);
  border: 1px solid rgba(59,130,246,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--lp-blue-l);
  flex-shrink: 0;
}

.landing-page .author-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.landing-page .author-role {
  font-size: 12px;
  color: var(--lp-dim);
  margin-top: 2px;
}

/* ─────────────────────────────────────────
   FAQ
   ───────────────────────────────────────── */
.landing-page .faq {
  background: var(--lp-bg);
  border-bottom: 1px solid var(--lp-border);
}

.landing-page .faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.landing-page .faq-item {
  background: var(--lp-bg-card);
  border-radius: 14px;
  padding: 26px;
  border: 1px solid var(--lp-border);
  transition: border-color 0.22s;
}

.landing-page .faq-item:hover { border-color: rgba(255,255,255,0.13); }

.landing-page .faq-question {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 11px;
  line-height: 1.38;
  letter-spacing: -0.015em;
}

.landing-page .faq-answer {
  font-size: 13.5px;
  color: var(--lp-muted);
  line-height: 1.78;
}

/* ─────────────────────────────────────────
   CTA FINAL
   ───────────────────────────────────────── */
.landing-page .cta-final {
  background: linear-gradient(135deg, #060b1c 0%, #0e1a40 45%, #080614 100%);
  border-top: 1px solid var(--lp-border);
  position: relative;
  overflow: hidden;
}

.landing-page .cta-final-glow {
  position: absolute;
  width: 700px;
  height: 480px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.12) 0%, rgba(139,92,246,0.06) 50%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  filter: blur(60px);
  pointer-events: none;
  animation: aurora-1 24s ease-in-out infinite;
}

.landing-page .cta-final-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 96px 28px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.landing-page .cta-final .section-label {
  display: block;
  text-align: center;
  margin-bottom: 18px;
}

.landing-page .cta-final h2 {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.landing-page .cta-final p {
  font-size: 16px;
  color: var(--lp-muted);
  margin-bottom: 44px;
  line-height: 1.72;
}

.landing-page .cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────── */
.landing-page .footer {
  background: rgba(0,0,0,0.45);
  border-top: 1px solid var(--lp-border);
}

.landing-page .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.landing-page .footer-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--lp-muted);
}

.landing-page .footer-sub {
  font-size: 11.5px;
  color: var(--lp-dim);
  margin-top: 2px;
}

.landing-page .footer-links {
  display: flex;
  gap: 22px;
}

.landing-page .footer-links a {
  color: var(--lp-dim);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.landing-page .footer-links a:hover { color: var(--lp-muted); }

.landing-page .footer-copy {
  font-size: 12px;
  color: var(--lp-dim);
}

/* ─────────────────────────────────────────
   RESPONSIVE — LANDING
   ───────────────────────────────────────── */

/* Tablet */
@media (max-width: 1023px) {
  .landing-page .hero-inner {
    grid-template-columns: 1fr;
    padding: 60px 24px 72px;
    gap: 44px;
  }
  .landing-page .hero-right { position: static; }
  .landing-page .hero h1 { font-size: 40px; }
  .landing-page .hero-aurora-1 { width: 400px; height: 350px; }
  .landing-page .hero-aurora-2 { display: none; }
  .landing-page .problem-solution-inner { grid-template-columns: 1fr; gap: 52px; padding: 68px 24px; }
  .landing-page .metodologia-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .landing-page .metodo-connector { display: none; }
  .landing-page .section-title { font-size: 28px; }
  .landing-page .cta-final h2 { font-size: 30px; }
  .landing-page .footer-links { display: none; }
}

/* Mobile */
@media (max-width: 767px) {
  .landing-page .navbar-links,
  .landing-page .btn-nav { display: none; }
  .landing-page .navbar-mobile-toggle { display: flex; }
  .landing-page .navbar.mobile-open .navbar-mobile-menu { display: flex; }
  .landing-page .hero h1 { font-size: 30px; }
  .landing-page .hero-sub { font-size: 15px; }
  .landing-page .hero-btns { flex-direction: column; }
  .landing-page .btn-primary,
  .landing-page .btn-outline { width: 100%; justify-content: center; }
  .landing-page .form-row { grid-template-columns: 1fr; }
  .landing-page .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .landing-page .testimonials-grid { grid-template-columns: 1fr; }
  .landing-page .metodologia-grid { grid-template-columns: 1fr; }
  .landing-page .faq-grid { grid-template-columns: 1fr; }
  .landing-page .proof-divider { display: none; }
  .landing-page .social-proof-inner { justify-content: center; gap: 32px; }
  .landing-page .trust-logos-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .landing-page .cta-btns { flex-direction: column; align-items: center; }
  .landing-page .footer-inner { flex-direction: column; text-align: center; }
  .landing-page .hero::before { display: none; }
}

@media (max-width: 480px) {
  .landing-page .services-grid { grid-template-columns: 1fr; }
  .landing-page .hero-form-card { padding: 24px 20px; }
  .landing-page .section-inner { padding: 64px 20px; }
  .landing-page .hero h1 { font-size: 26px; }
}

/* =========================================
   BLOG DARK — tema oscuro premium del blog
   Scoped bajo .blog-dark para no afectar landing
   ========================================= */

.blog-dark {
  background: #05090f;
  color: #e2e8f0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "cv02","cv03","cv04","cv11";
  -webkit-font-smoothing: antialiased;

  --bd-bg:        #05090f;
  --bd-card:      rgba(255,255,255,0.04);
  --bd-card-h:    rgba(255,255,255,0.07);
  --bd-border:    rgba(255,255,255,0.08);
  --bd-border-h:  rgba(59,130,246,0.4);
  --bd-text:      #e2e8f0;
  --bd-muted:     #94a3b8;
  --bd-dim:       #64748b;
  --bd-blue:      #3b82f6;
  --bd-blue-l:    #60a5fa;
  --bd-purple:    #8b5cf6;
  --bd-cyan:      #06b6d4;
}

/* ── Navbar ── */
.blog-dark .navbar {
  background: rgba(5,9,15,0.88);
  border-bottom: 1px solid var(--bd-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.blog-dark .navbar-inner { max-width: 1200px; padding: 15px 28px; }
.blog-dark .navbar-name { font-size: 15px; font-weight: 600; letter-spacing: -0.015em; }
.blog-dark .navbar-sub { font-size: 10.5px; color: var(--bd-dim); }
.blog-dark .navbar-links { gap: 30px; }
.blog-dark .navbar-links a { color: var(--bd-muted); font-size: 13.5px; font-weight: 450; }
.blog-dark .navbar-links a:hover { color: #fff; }
.blog-dark .navbar-links .navbar-link-active { color: var(--bd-blue-l); }

.blog-dark .btn-nav {
  background: var(--bd-blue);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 8px;
  transition: background 0.2s, box-shadow 0.2s;
}

.blog-dark .btn-nav:hover {
  background: #2563eb;
  box-shadow: 0 0 22px rgba(59,130,246,0.38);
}

/* ── Utilidades comunes ── */
.blog-dark .bd-section-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--bd-blue);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  margin-bottom: 14px;
}

.blog-dark .bd-accent {
  background: linear-gradient(135deg, #3b82f6 0%, #818cf8 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Botones ── */
.blog-dark .bd-btn-primary {
  background: var(--bd-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
  letter-spacing: -0.01em;
  font-family: inherit;
}

.blog-dark .bd-btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(59,130,246,0.4);
}

.blog-dark .bd-btn-primary.bd-btn-lg {
  padding: 15px 34px;
  font-size: 15px;
}

.blog-dark .bd-btn-outline {
  background: transparent;
  color: var(--bd-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  display: inline-flex;
  align-items: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.blog-dark .bd-btn-outline:hover {
  border-color: rgba(255,255,255,0.24);
  color: #fff;
  background: rgba(255,255,255,0.04);
}

/* ── Hero del blog ── */
.blog-dark .blog-hero {
  background: var(--bd-bg);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--bd-border);
}

.blog-dark .blog-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: grid-drift 40s linear infinite;
  pointer-events: none;
}

.blog-dark .blog-hero-glow {
  position: absolute;
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.14) 0%, rgba(139,92,246,0.07) 50%, transparent 70%);
  filter: blur(80px);
  top: -100px;
  left: -100px;
  pointer-events: none;
  animation: aurora-1 22s ease-in-out infinite;
}

.blog-dark .blog-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 28px 64px;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.blog-dark .blog-hero-title {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.blog-dark .blog-hero-sub {
  font-size: 16px;
  color: var(--bd-muted);
  line-height: 1.75;
  font-weight: 400;
  max-width: 540px;
  margin: 0 auto;
}

/* ── Listado de artículos ── */
.blog-dark .bd-list-section {
  background: rgba(255,255,255,0.01);
  border-bottom: 1px solid var(--bd-border);
}

.blog-dark .bd-list-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 28px;
}

.blog-dark .bd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Blog cards ── */
.blog-dark .bd-card {
  background: var(--bd-card);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--bd-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.28s, background 0.28s, transform 0.22s, box-shadow 0.28s;
  position: relative;
  overflow: hidden;
}

.blog-dark .bd-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.28s;
  pointer-events: none;
}

.blog-dark .bd-card:hover {
  border-color: var(--bd-border-h);
  background: var(--bd-card-h);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(59,130,246,0.1);
}

.blog-dark .bd-card:hover::before { opacity: 1; }

.blog-dark .bd-category {
  display: inline-flex;
  align-items: center;
  background: rgba(59,130,246,0.12);
  color: var(--bd-blue-l);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(59,130,246,0.22);
  width: fit-content;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-dark .bd-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.38;
  letter-spacing: -0.015em;
  flex: 1;
}

.blog-dark .bd-card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.blog-dark .bd-card-title a:hover { color: var(--bd-blue-l); }

.blog-dark .bd-card-excerpt {
  font-size: 13.5px;
  color: var(--bd-muted);
  line-height: 1.72;
  flex: 1;
}

.blog-dark .bd-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--bd-border);
  margin-top: auto;
}

.blog-dark .bd-card-date { font-size: 12px; color: var(--bd-dim); }

.blog-dark .bd-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--bd-blue-l);
  text-decoration: none;
  font-weight: 500;
  transition: gap 0.2s, color 0.2s;
}

.blog-dark .bd-card-link:hover { gap: 10px; color: #fff; }

/* ── Estado vacío ── */
.blog-dark .bd-empty {
  text-align: center;
  padding: 72px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.blog-dark .bd-empty-icon {
  width: 64px;
  height: 64px;
  background: var(--bd-card);
  border: 1px solid var(--bd-border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bd-dim);
}

.blog-dark .bd-empty p {
  font-size: 15px;
  color: var(--bd-muted);
  max-width: 400px;
  line-height: 1.7;
}

/* ── Article hero (blog_detail) ── */
.blog-dark .article-hero {
  background: var(--bd-bg);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--bd-border);
}

.blog-dark .article-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.blog-dark .article-hero-glow {
  position: absolute;
  width: 600px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.12) 0%, transparent 70%);
  filter: blur(70px);
  top: -80px;
  right: -100px;
  pointer-events: none;
}

.blog-dark .article-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 28px 52px;
  position: relative;
  z-index: 1;
}

.blog-dark .article-hero-title {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin: 16px 0 14px;
}

.blog-dark .article-hero-excerpt {
  font-size: 16px;
  color: var(--bd-muted);
  line-height: 1.75;
  margin-bottom: 18px;
  max-width: 680px;
}

.blog-dark .article-hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--bd-dim);
}

/* ── Breadcrumb ── */
.blog-dark .bd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--bd-dim);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.blog-dark .bd-breadcrumb a {
  color: var(--bd-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-dark .bd-breadcrumb a:hover { color: var(--bd-blue-l); }

/* ── Layout artículo + sidebar ── */
.blog-dark .bd-article-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 28px 72px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 52px;
  align-items: start;
}

.blog-dark .bd-article-body { min-width: 0; }

/* ── Contenido del artículo ── */
.blog-dark .bd-article-content {
  font-size: 15.5px;
  color: #cbd5e1;
  line-height: 1.88;
  font-weight: 400;
}

.blog-dark .bd-article-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 40px 0 14px;
  letter-spacing: -0.02em;
}

.blog-dark .bd-article-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #f1f5f9;
  margin: 30px 0 12px;
  letter-spacing: -0.01em;
}

.blog-dark .bd-article-content p { margin-bottom: 18px; }

.blog-dark .bd-article-content ul,
.blog-dark .bd-article-content ol {
  padding-left: 22px;
  margin-bottom: 18px;
}

.blog-dark .bd-article-content li { margin-bottom: 8px; }

.blog-dark .bd-article-content strong {
  color: #fff;
  font-weight: 600;
}

.blog-dark .bd-article-content a {
  color: var(--bd-blue-l);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.blog-dark .bd-article-content a:hover { color: #fff; }

.blog-dark .bd-article-content blockquote {
  border-left: 3px solid var(--bd-blue);
  margin: 24px 0;
  padding: 16px 20px;
  background: rgba(59,130,246,0.06);
  border-radius: 0 8px 8px 0;
  color: var(--bd-muted);
  font-style: italic;
}

.blog-dark .bd-article-content code {
  background: rgba(255,255,255,0.08);
  color: var(--bd-blue-l);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.9em;
  font-family: 'Courier New', monospace;
}

.blog-dark .bd-article-content pre {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--bd-border);
  border-radius: 10px;
  padding: 20px;
  overflow-x: auto;
  margin-bottom: 18px;
}

.blog-dark .bd-article-content pre code {
  background: none;
  padding: 0;
}

/* ── CTA dentro del artículo ── */
.blog-dark .bd-article-cta { margin-top: 52px; }

.blog-dark .bd-article-cta-inner {
  background: var(--bd-card);
  border: 1px solid var(--bd-border-h);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.blog-dark .bd-article-cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(59,130,246,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.blog-dark .bd-article-cta-inner .bd-section-label { margin-bottom: 10px; }

.blog-dark .bd-article-cta-inner h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  position: relative;
}

.blog-dark .bd-article-cta-inner p {
  font-size: 14px;
  color: var(--bd-muted);
  margin-bottom: 22px;
  line-height: 1.7;
  position: relative;
}

/* ── Sidebar ── */
.blog-dark .bd-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 84px;
}

.blog-dark .bd-sidebar-card {
  background: var(--bd-card);
  border-radius: 14px;
  padding: 22px;
  border: 1px solid var(--bd-border);
  transition: border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.blog-dark .bd-sidebar-card:hover { border-color: rgba(255,255,255,0.12); }

.blog-dark .bd-sidebar-cta-card {
  border-color: rgba(59,130,246,0.2);
}

.blog-dark .bd-sidebar-cta-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.12) 0%, transparent 70%);
  filter: blur(30px);
  top: -50px;
  right: -50px;
  pointer-events: none;
}

.blog-dark .bd-sidebar-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bd-border);
  letter-spacing: -0.01em;
}

.blog-dark .bd-sidebar-posts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-dark .bd-sidebar-post {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bd-border);
  transition: opacity 0.2s;
}

.blog-dark .bd-sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }
.blog-dark .bd-sidebar-post:hover { opacity: 0.75; }

.blog-dark .bd-sidebar-post-cat {
  font-size: 10.5px;
  color: var(--bd-blue-l);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-dark .bd-sidebar-post-title {
  font-size: 13px;
  color: #e2e8f0;
  font-weight: 500;
  line-height: 1.4;
}

.blog-dark .bd-sidebar-post-date {
  font-size: 11px;
  color: var(--bd-dim);
}

.blog-dark .bd-sidebar-cta-text {
  font-size: 13px;
  color: var(--bd-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  position: relative;
}

/* ── CTA final ── */
.blog-dark .bd-cta-final {
  background: linear-gradient(135deg, #060b1c 0%, #0e1a40 45%, #080614 100%);
  border-top: 1px solid var(--bd-border);
  position: relative;
  overflow: hidden;
}

.blog-dark .bd-cta-glow {
  position: absolute;
  width: 700px;
  height: 480px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.12) 0%, rgba(139,92,246,0.06) 50%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  filter: blur(60px);
  pointer-events: none;
}

.blog-dark .bd-cta-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 88px 28px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.blog-dark .bd-cta-inner h2 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.blog-dark .bd-cta-inner p {
  font-size: 15.5px;
  color: var(--bd-muted);
  margin-bottom: 40px;
  line-height: 1.72;
}

.blog-dark .bd-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ── */
.blog-dark .bd-footer {
  background: rgba(0,0,0,0.45);
  border-top: 1px solid var(--bd-border);
}

.blog-dark .bd-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.blog-dark .bd-footer-name { font-size: 13.5px; font-weight: 500; color: var(--bd-muted); }
.blog-dark .bd-footer-sub { font-size: 11.5px; color: var(--bd-dim); margin-top: 2px; }

.blog-dark .bd-footer-links { display: flex; gap: 22px; }
.blog-dark .bd-footer-links a { color: var(--bd-dim); font-size: 13px; text-decoration: none; transition: color 0.2s; }
.blog-dark .bd-footer-links a:hover { color: var(--bd-muted); }
.blog-dark .bd-footer-copy { font-size: 12px; color: var(--bd-dim); }

/* ── Responsive — Blog dark ── */
@media (max-width: 1023px) {
  .blog-dark .bd-article-main {
    grid-template-columns: 1fr;
    padding: 40px 24px 60px;
  }
  .blog-dark .bd-sidebar { position: static; }
  .blog-dark .blog-hero-title { font-size: 32px; }
}

@media (max-width: 767px) {
  .blog-dark .navbar-links { display: none; }
  .blog-dark .blog-hero-inner { padding: 52px 20px 48px; text-align: left; }
  .blog-dark .blog-hero-sub { margin: 0; }
  .blog-dark .blog-hero-title { font-size: 26px; }
  .blog-dark .bd-grid { grid-template-columns: 1fr; gap: 14px; }
  .blog-dark .bd-list-inner { padding: 48px 20px; }
  .blog-dark .article-hero-title { font-size: 24px; }
  .blog-dark .article-hero-inner { padding: 44px 20px 40px; }
  .blog-dark .bd-cta-inner { padding: 64px 20px; }
  .blog-dark .bd-cta-inner h2 { font-size: 24px; }
  .blog-dark .bd-cta-btns { flex-direction: column; align-items: center; }
  .blog-dark .bd-footer-inner { flex-direction: column; text-align: center; }
  .blog-dark .bd-footer-links { display: none; }
}

@media (max-width: 480px) {
  .blog-dark .bd-card { padding: 22px 18px; }
}

/* =========================================
   BLOG HEADER (global — no landing-page scope)
   ========================================= */
.blog-header {
  background: #fff;
  border-bottom: 0.5px solid #e2e8f0;
}

.blog-list-section {
  background: #f8fafc;
  border-bottom: 0.5px solid #e2e8f0;
}

.blog-header .section-inner,
.blog-list-section .section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 32px;
}

.blog-header .section-label,
.blog-list-section .section-label {
  font-size: 12px;
  font-weight: 600;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.blog-header .section-title,
.blog-list-section .section-title {
  font-size: 26px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-header .section-sub,
.blog-list-section .section-sub {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* =========================================
   BLOG GRID
   ========================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border: 0.5px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s;
}

.blog-card:hover { border-color: #bfdbfe; }

.blog-card-category {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  border: 0.5px solid #bfdbfe;
  width: fit-content;
}

.blog-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}

.blog-card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.blog-card-title a:hover { color: #2563eb; }

.blog-card-excerpt {
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 0.5px solid #f1f5f9;
}

.blog-card-date { font-size: 12px; color: #94a3b8; }

.blog-card-link {
  font-size: 13px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.blog-card-link:hover { color: #1d4ed8; }

.blog-empty {
  text-align: center;
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.blog-empty p { font-size: 15px; color: #64748b; }

/* =========================================
   ARTÍCULO DETALLE
   ========================================= */
.article-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.article-inner { min-width: 0; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.breadcrumb a { color: #64748b; text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: #2563eb; }

.article-header {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 0.5px solid #e2e8f0;
}

.article-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 12px 0;
}

.article-excerpt {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
}

.article-content {
  font-size: 15px;
  color: #334155;
  line-height: 1.8;
}

.article-content h2 { font-size: 20px; font-weight: 600; color: #0f172a; margin: 32px 0 12px; }
.article-content h3 { font-size: 17px; font-weight: 600; color: #0f172a; margin: 24px 0 10px; }
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 16px; }
.article-content li { margin-bottom: 8px; }
.article-content strong { color: #0f172a; font-weight: 600; }
.article-content a { color: #2563eb; text-decoration: underline; }

.article-cta { margin-top: 48px; }

.article-cta-inner {
  background: #eff6ff;
  border: 0.5px solid #bfdbfe;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}

.article-cta-inner h3 { font-size: 18px; font-weight: 600; color: #0f172a; margin-bottom: 8px; }
.article-cta-inner p { font-size: 14px; color: #475569; margin-bottom: 20px; line-height: 1.6; }

/* =========================================
   SIDEBAR (blog)
   ========================================= */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 80px;
}

.sidebar-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 0.5px solid #e2e8f0;
}

.sidebar-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid #f1f5f9;
}

.sidebar-posts { display: flex; flex-direction: column; gap: 12px; }

.sidebar-post {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid #f1f5f9;
  transition: opacity 0.2s;
}

.sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-post:hover { opacity: 0.75; }
.sidebar-post-category { font-size: 11px; color: #2563eb; font-weight: 600; }
.sidebar-post-title { font-size: 13px; color: #0f172a; font-weight: 500; line-height: 1.4; }
.sidebar-post-date { font-size: 11px; color: #94a3b8; }
.sidebar-cta { background: #f8fafc; }
.sidebar-cta-text { font-size: 13px; color: #64748b; line-height: 1.6; margin-bottom: 16px; }

/* =========================================
   RESPONSIVE — BLOG
   ========================================= */
@media (max-width: 900px) {
  .article-main { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-title { font-size: 22px; }
}
