:root {
	--fade: #F2F2F2;
	--white: #FFFFFF;
}

/* BLACK360 — Estilos del header y footer para WordPress.
   Pegar en: Apariencia → Personalizar → CSS adicional. */

/* ---------- Base ---------- */
body { font-family: "Manrope", system-ui, sans-serif; background: #08090c; color: #ffffff; }
h1, h2, h3, h4 { font-family: "Bricolage Grotesque", sans-serif; }

/* ================= HEADER ================= */
.b360h { position: sticky; top: 0; z-index: 9999; background: rgba(8,9,12,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,0.07); font-family: "Manrope", system-ui, sans-serif; }
.b360h * { box-sizing: border-box; }
.b360h a { text-decoration: none; }
.b360h-bar { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; }
.b360h-logo img { height: 26px; width: auto; display: block; }
.b360h-nav { display: none; align-items: center; gap: 24px; }
.b360h-nav > a, .b360h-drop-btn { color: #9aa6b8; font-size: 16px; font-weight: 500; white-space: nowrap; transition: color .2s; background: none; border: 0; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; padding: 0; }
.b360h-nav > a:hover, .b360h-drop-btn:hover { color: #fff; }
.b360h-drop { position: relative; }
.b360h-drop-panel { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 14px; width: 270px; background: rgba(11,12,17,0.98); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 8px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.8); opacity: 0; visibility: hidden; transition: opacity .2s; }
.b360h-drop:hover .b360h-drop-panel { opacity: 1; visibility: visible; }
.b360h-drop-panel a { display: block; padding: 10px 14px; border-radius: 10px; color: #cdd5e2; font-size: 14px; transition: background .2s, color .2s; }
.b360h-drop-panel a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.b360h-actions { display: flex; align-items: center; gap: 12px; }
.b360h-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: all .2s; font-family: inherit; }
.b360h-btn-ghost { border: 1px solid rgba(158,192,255,0.55); background: rgba(158,192,255,0.07); color: #e2ecff; }
.b360h-btn-ghost:hover { background: rgba(158,192,255,0.16); }
.b360h-btn-primary { border: 1px solid rgba(77,123,255,0.5); background: rgba(41,71,214,0.25); color: #fff; box-shadow: 0 0 22px -8px rgba(61,107,255,0.85); }
.b360h-btn-primary:hover { background: rgba(41,71,214,0.5); }
.b360h-btn-ghost, .b360h-btn-primary { display: none; }
.b360h-burger { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); color: #fff; cursor: pointer; }
.b360h-mobile { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 20px; border-top: 1px solid rgba(255,255,255,0.07); background: rgba(8,9,12,0.97); }
.b360h-mobile.is-open { display: flex; }
.b360h-mobile a { color: #cdd5e2; font-size: 16px; padding: 12px 12px; border-radius: 10px; transition: background .2s; }
.b360h-mobile a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.b360h-m-cta { text-align: center; justify-content: center; background: #2947d6 !important; color: #fff !important; font-weight: 600; box-shadow: 0 12px 34px -12px rgba(41,71,214,.9); }
.b360h-m-ghost { text-align: center; border: 1px solid rgba(158,192,255,0.55); color: #e2ecff !important; font-weight: 600; margin-bottom: 8px; }
@media (min-width: 1200px) {
  .b360h-nav { display: flex; }
  .b360h-btn-ghost, .b360h-btn-primary { display: inline-flex; }
  .b360h-burger { display: none; }
}

/* ================= FOOTER ================= */
.b360f { position: relative; background: #07080b; padding: 80px 24px 40px; font-family: "Manrope", system-ui, sans-serif; }
.b360f * { box-sizing: border-box; }
.b360f a { text-decoration: none; }
.b360f-line { position: absolute; inset-inline: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(125,162,255,0.55) 50%, transparent); }
.b360f-wrap { max-width: 1160px; margin: 0 auto; }
.b360f-grid { display: grid; gap: 48px; }
.b360f-logo img { height: 28px; width: auto; display: block; }
.b360f-tag { margin: 16px 0 0; max-width: 36ch; font-size: 16px; line-height: 1.6; color: #9aa6b8; }
.b360f-social { margin-top: 24px; display: flex; gap: 12px; }
.b360f-social a { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); color: #9aa6b8; transition: color .2s, border-color .2s; }
.b360f-social a:hover { color: #fff; border-color: rgba(77,123,255,0.5); }
.b360f-h { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: #6b7688; margin: 0; }
.b360f-contact { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.b360f-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: #9aa6b8; line-height: 1.6; }
.b360f-contact svg { flex-shrink: 0; margin-top: 2px; }
.b360f-contact a { color: #9aa6b8; transition: color .2s; }
.b360f-contact a:hover { color: #fff; }
.b360f-nav { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.b360f-nav a { font-size: 16px; color: #9aa6b8; transition: color .2s; }
.b360f-nav a:hover { color: #fff; }
.b360f-bottom { margin-top: 64px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.b360f-bottom p { margin: 0; font-size: 12.5px; color: #6b7688; }
.b360f-bottom a { font-size: 12.5px; color: #6b7688; transition: color .2s; }
.b360f-bottom a:hover { color: #fff; }
@media (min-width: 900px) {
  .b360f-grid { grid-template-columns: 1fr 1fr 1.9fr; gap: 40px; }
  .b360f-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/*********** BLOG ***********/
/* Fondo oscuro */
body, .blog-posts-listing, main.uk-width-1-1, .uk-container, #page, .site-content, .content-area { background-color:#08090c !important; }
body { font-family:"Manrope",system-ui,sans-serif !important; color:#e7ecf4 !important; }

/* Tarjeta */
.pixe-post-item .post-wrap { background:#0f1119 !important; border:1px solid rgba(255,255,255,0.08) !important; border-radius:18px !important; overflow:hidden !important; box-shadow:0 20px 46px -28px rgba(0,0,0,0.9) !important; transition:border-color .25s,transform .25s !important; }
.pixe-post-item .post-wrap:hover { border-color:rgba(77,123,255,0.5) !important; transform:translateY(-3px) !important; }
.pixe-post-item .post-content { padding:22px 22px 24px !important; }

/* Título */
.pixe-post-item .blog-entry-title, .pixe-post-item .entry-title { font-family:"Bricolage Grotesque",sans-serif !important; font-size:21px !important; line-height:1.25 !important; margin:0 0 10px !important; }
.pixe-post-item .blog-entry-title a { color:#fff !important; }
.pixe-post-item .blog-entry-title a:hover { color:#9ec0ff !important; }

/* Extracto */
.pixe-post-item .post-entry, .pixe-post-item .post-entry p { color:#9aa6b8 !important; font-size:15px !important; line-height:1.6 !important; }

/* Autor / fecha */
.pixe-post-item .entry-meta { color:#6b7688 !important; font-size:13px !important; margin-top:14px !important; }
.pixe-post-item .entry-meta a, .pixe-post-item .entry-meta .author { color:#7da2ff !important; }


.visible-xs {
	display: none !important;
}

/* === ARREGLO del menú (pegar al final) === */
.b360h-nav > a, .b360h-drop-btn { color:#9aa6b8 !important; background:none !important; background-image:none !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; text-transform:none !important; text-decoration:none !important; padding:0 !important; }
.b360h-nav > a:hover, .b360h-drop-btn:hover, .b360h-nav > a:focus, .b360h-drop-btn:focus { color:#ffffff !important; background:none !important; background-image:none !important; box-shadow:none !important; }
.b360h-drop-panel::before { content:""; position:absolute; left:0; right:0; top:-18px; height:18px; }
.b360h-drop:hover .b360h-drop-panel, .b360h-drop:focus-within .b360h-drop-panel { opacity:1 !important; visibility:visible !important; }
.b360h-drop-panel a { color:#cdd5e2 !important; background:none !important; text-decoration:none !important; }
.b360h-drop-panel a:hover { background:rgba(255,255,255,0.06) !important; color:#ffffff !important; }
.b360h-btn { text-decoration:none !important; text-transform:none !important; border-radius:999px !important; }
.b360h-btn-ghost { border:1px solid rgba(158,192,255,0.55) !important; background:rgba(158,192,255,0.07) !important; color:#e2ecff !important; }
.b360h-btn-primary { border:1px solid rgba(77,123,255,0.5) !important; background:rgba(41,71,214,0.25) !important; color:#ffffff !important; }
.b360h-mobile a { color:#cdd5e2 !important; background:none !important; text-decoration:none !important; }

/* ============================================================
   BLACK360 — Arreglo del menú móvil del BLOG (WordPress)
   Pegar en: Apariencia > Editor de temas > css/custom.css
   (junto a lo demás del kit). Después purgar Autoptimize.

   Arregla dos cosas que el usuario reportó:
   1. El menú dejaba ver el blog por detrás (fondo semitransparente)
      y en teléfonos chicos se veía "despegado". Ahora el fondo es
      100% sólido y el menú llena la pantalla.
   2. Los botones Diagnóstico y Contacto salían sin formato (el tema
      les borraba el fondo). Ahora se ven igual que en Astro: azul
      sólido y contorno con glow.

   Se usa el ID #b360h-mobile a propósito: el propio kit tiene una
   regla ".b360h-mobile a { background:none !important }" que, con
   menor peso, le ganaba a las clases. El ID la vence sin pelear.
   ============================================================ */

/* Fondo sólido + menú que llena la pantalla (72px = alto del header) */
#b360h-mobile.b360h-mobile {
  background: #08090c !important;
  min-height: calc(100vh - 72px) !important;
  padding-bottom: 40px !important;
}

/* Botón Diagnóstico: azul sólido, como en Astro */
#b360h-mobile a.b360h-m-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  background: #2947d6 !important;
  color: #fff !important;
  font-weight: 600 !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 14px 20px !important;
  box-shadow: 0 12px 34px -12px rgba(41, 71, 214, .9) !important;
}

/* Botón Contacto: contorno con glow, como en Astro */
#b360h-mobile a.b360h-m-ghost {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  background: rgba(158, 192, 255, 0.08) !important;
  border: 1px solid rgba(158, 192, 255, 0.55) !important;
  color: #e2ecff !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  padding: 13px 20px !important;
}

/* Medium & mobile devices (phone, tablets, 768px and less) */
@media screen and (max-width: 767px) {
	.visible-xs {
		display: block !important;
	}

	.hidden-xs {
		display: none !important;
	}
}

/* Mobile devices (tablet, 768px and up) */
@media (min-width: 768px) {

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}

/* XXL Extra large devices (HD-4K, 1400px and up) */
@media (min-width: 1400px) {
	
}

